Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Windows Activation Status

Is there currently a way to setup a dynamic collection to list all computers that have not yet had Windows Activated?

I want to be able to do a quick scan after pushing out images to my machines to make sure they have all successfully activated windows. I can then quickly deal with any that may not have activated for whatever reason.

0

Comments

5 comments
Date Votes
  • Hi Mmuni,

    I don't think that it is possible to create a activation based collection right now.

    As a workarround you can utilize the slmgr.vbs script. 

    You can loop through a list of computer using

    @echo off
    cscript /nologo c:\windows\system32\slmgr.vbs <computer> <login> <password> /xpr | findstr /i /c:" will expire "> NUL 2>&1
    if [%errorlevel%]==[0] (echo Not permanently activated.) else (echo Permanently activated)
    exit /b

    Check http://ss64.com/nt/slmgr.html for more information.

    0
  • Yes that's why I'm thinking that this should be included in the computer information scan... It would be a simple thing to include would it not?

     

    I could have it loop through all my computers and output a text file for the computers needing to be activated, Then import the text file into PDQ deploy. But it would be much simpler if I could just have a PDQ Inventory Collection  along with a Scheduled PDQ Deployment that gets pushed out to any machines that have not been activated.

     

    Set it and forget it...

    0
  • Another workarround would be to create a batch which would set a private registry entry using PDQDeploy and then scan for it with PDQ inventory. Then it would be possible to create a filter. Still a bit of hustle, but if you need it...

    0
  • Any further development on this?  Having similar issues with systems not activating.

    0
  • What I ended up doing was just creating a package that runs the activation command. I set the package on a schedule that runs every couple days. If the computer is already activated the command doesn't really do anything but if it is not yet activated that it will be activated.
    0