Smart71 Posted October 31, 2005 Posted October 31, 2005 Hi,is there a way to identify the exact Windows Version (95-XP, NT4-2003)?Perhaps, there is a registry key...Thanks...
Smart71 Posted October 31, 2005 Author Posted October 31, 2005 Thanks, but i am looking for a key in the registry where i can find the information.
gunsmokingman Posted October 31, 2005 Posted October 31, 2005 (edited) Here is a VBS script that will give the version and name of the OS on a computerSave as Installed_Os.VBSstrComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem")For Each objOperatingSystem in colOperatingSystems Msgbox objOperatingSystem.Caption & " " & _ objOperatingSystem.Version, 0 + 32,"Window Version"Next Edited October 31, 2005 by gunsmokingman
Smart71 Posted October 31, 2005 Author Posted October 31, 2005 Thanks, for all the information but I need registry keys or file versions to determine the exact Windows version.Novell ZENworks cannot get the results of winver or vbs scripts, so far as i know....
Nakatomi2010 Posted October 31, 2005 Posted October 31, 2005 (edited) If you're running XP run regedit and do a search for "Home Edition" or "Professional" depending on your version and see wat comes up, tell someone to look in their version see if they have the same key, confirm it on about 5 machines, then assume it...HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Installations\x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7\Codebases\OSTry that.... Edited October 31, 2005 by Nakatomi2010
Aegis Posted November 1, 2005 Posted November 1, 2005 Or go to HKLM\Software\Microsoft\Windows NT\Current Version.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now