Windows Activation Status
mmuni
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
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.
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...
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...
Any further development on this? Having similar issues with systems not activating.