Windows Activation Custom Property

I was given the task to come up with a custom property that will search Windows machines to see if they are in an activated or need activation status with regards to licensing. I was wondering if anybody had any such thing created out there. I do not see any easy way but I’m still pretty new to this :slight_smile:

Hey!

This one is a little tougher because it uses WMI but here is what I’ve been using:
https://bigfix.me/relevance/details/3008577

Let me know if that works for you!

1 Like

I’m all of a sudden getting this error when I’m try to run the .bes files

any idea

Try just copying the relevance into an analysis in your console:

(select "LicenseStatus from SoftwareLicensingProduct WHERE (PartialProductKey is not null) and (Name like 'Windows(R)%25')" of wmi) as string contains "1"
2 Likes

Awesome and perfect!! Thank you soooo much Strawgate

1 Like

Thanks for sharing this, Bill. I had been meaning to get around to an activation analysis for my devices as well. Worked great.

1 Like

I tried this Analysis but it gets the License Status for Win7, Win8 and a few of Win2012. How about for Windows XP, 2003 and 2008 version?

Thanks - davincecode

Hello,

My understanding is that Microsoft redid activation with Windows 7 so this probably won’t with with XP and related server oses.

Have you found any way to get this that we might be able help you turn into relevance?