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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 11/08/2010 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/08/2010 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
[hr][hr]hello sir how are you this is great fourm
Answered 11/13/2010 by: george22
Yellow Belt

Please log in to comment
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
Answered 12/01/2010 by: murali.bhat
Purple Belt

Please log in to comment
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.
Answered 12/21/2010 by: hashref
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity