/build/static/layout/Breadcrumb_cap_w.png

VBScript to check the genuineness of Windows

I am looking for a VBScript which checks if the installed OS is genuine or not. Is there anyway to check programmatically?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 13 years ago
Red Belt
0
AFAIK, there's no easy scripting interface to the API but you might be able to use DynaWrap to link to the DLL and function call. Alternatively, you could build your own script-friendly interface to the DLL.
Posted by: aogilmor 13 years ago
9th Degree Black Belt
0
interesting question, I didn't see any vbscript or wmi but I there are a couple of dlls you can use
http://msdn.microsoft.com/en-us/library/aa965837(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ee428179(v=VS.85).aspx
Posted by: george22 13 years ago
Yellow Belt
0
[hr][hr]hello sir how are you this is great fourm
Posted by: murali.bhat 13 years ago
Purple Belt
0
Thanks. I used the "LegitCheckControl.DLL" to check the genuiness.

Dim objGen As New LegitCheckControlLib.LegitCheck
If objGen.IsAlreadyGenuine = True then
msgbox "This is a Genuinen windows version."
Else
msgbox "This is NOT a Genuinen windows version."
End If
Posted by: hashref 13 years ago
Senior Yellow Belt
0
would this vbscript work built in to windows? Try it from a command prompt first.

cscript %WINDIR%\System32\slmgr.vbs /dli

Maybe you can open her up and find some specific code in there that will help ya.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ