Jeff said:
That's good to know.
Is there a way to determine status without brining up the activation
wizard? I want to be able to display that information inside my
application.
Thanks,
Jeff
Here is a script from Technet that will do this. It probably gives more info
than you are looking for, but can be tweaked to just give the current
activation status.
----------------------------------
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colWPA = objWMIService.ExecQuery _
("Select * from Win32_WindowsProductActivation")
For Each objWPA in colWPA
Wscript.Echo "Activation Required: " & objWPA.ActivationRequired
Wscript.Echo "Description: " & objWPA.Description
Wscript.Echo "Product ID: " & objWPA.ProductID
Wscript.Echo "Remaining Evaluation Period: " & _
objWPA.RemainingEvaluationPeriod
Wscript.Echo "Remaining Grace Period: " & objWPA.RemainingGracePeriod
Wscript.Echo "Server Name: " & objWPA.ServerName
Next
-------------------------------
Save as ActivStat.vbs
--
Ronnie Vernon
Microsoft MVP
Windows Shell/User
Please reply to the newsgroup so all may benefit.
http://www.dts-l.org
http://www.mvps.org