Jump to content
DarrenWhite99

Check Windows Activation State - Find unactivated/unlicensed systems

Recommended Posts

I have setup this simple Remote Monitor to check the Activation State for Windows.

 

The monitor configuration is:

Monitor Name : EXE - Windows Activation Status

Monitor Action : EXE

Monitor Executable/Arguments : "%windir%\system32\slmgr.vbs" /dli

Interval: 14400 (4 hours)

Monitor Condition: State Based

Normal State: Contains - Status: Licensed

Warning State: Does Not Regex Match - Status: (Licensed|Notification)

Error State: Contains - Status: Notification

 

I have it limited to agents using a custom search, for Windows Vista,2008 or higher.

You can get that search and ones for other Windows versions here: http://www.labtechgeek.com/viewtopic.php?f=14&t=3849

  • Like 2

Share this post


Link to post
Share on other sites

The Monitor Set queries of Exe not .Vbs 

"%windir%\system32\slmgr.v bs" /dli
You are attempted above one 😜

Share this post


Link to post
Share on other sites
On 6/14/2018 at 8:21 AM, Abhishek said:

Giving me this result "Exe Monitor Missing " with warning result.so it wont work 

This would be the expected result if you don't have the file "%windir%\system32\slmgr.vbs" on the agent, which is normal for anything older than Windows Vista/2008. Windows Vista-10 all have this file unless it was manually removed or is being blocked by some AV. Also make sure that the quotes are normal double quotes, and that they haven't been replaced by "pretty quotes" in your browser.

Share this post


Link to post
Share on other sites
Posted (edited)

I'm getting "Unrecognized option: /dli???". The command works on the workstation just not in the monitor.

Edit: For anyone else experiencing this, check your quotes when copying directly from here. I had to type mine out.

Edited by jmmusick
Resolved.

Share this post


Link to post
Share on other sites

Thanks! Nice monitor. Slight problem for me though. PCs work well, but all servers report Warning state. Any ideas?

Share this post


Link to post
Share on other sites
On 10/15/2018 at 2:25 AM, kkevgreen said:

Thanks! Nice monitor. Slight problem for me though. PCs work well, but all servers report Warning state. Any ideas?

You could try licensing and activating Windows on your servers.....

The monitor is healthy when it sees "Licensed" and is in error when it sees "Notification". Warning means it doesn't see Licensed or Notification. If you test the monitor what result comes back?

Share this post


Link to post
Share on other sites
On 10/13/2017 at 3:45 AM, DarrenWhite99 said:

Error State: Contains - Status: Notification

 

Where is this located?

I cannot seem to find the correct field to add that in.

Share this post


Link to post
Share on other sites
7 hours ago, captainu99 said:

Where is this located?
I cannot seem to find the correct field to add that in.

Make sure you have the monitor type set to State Based.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×