In my last post, i wrote about Windows XP SP3, in this post, i shall be explaining the process to identify the version of Windows and Windows Service Pack installed on your computer.
In the good old days of DOS, we used to enter ver at the command prompt to get the version number of the Operating System being run on the PC. You can use the same command in Windows as well to identify the Operating System version.
- Click on Start –> Run
- Type CMD and hit Enter.
- At the command prompt, enter Ver and hit Enter ( as shown in the figure above)
- Windows returns the version number of the installed Operating System.
- Visit the Microsoft link on Identifying the Name and Version Number of the Operating System to get more details about your Version Number.
Alternatively, you can get these details using the My Computer Properties page as well. Follow the step by step instructions below for this.
- Right click on My Computer and Select Properties.
- Click on the General Tab.
- General Tab has information about your Operating System, the Registered owner and details about your Computer.
If you are comfortable with Windows Scripting, the below mentioned script also gives you the Name and version of the Operating System.
strComputer = “.”
Set objWMIService = GetObject(”winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)
Set colOperatingSystems = objWMIService.ExecQuery _
(”SELECT * FROM Win32_OperatingSystem”)
For Each objOperatingSystem in colOperatingSystems
Wscript.Echo objOperatingSystem.Caption, objOperatingSystem.Version
Next
To find the Latest Installed Service Pack, use this script
strComputer = "."
Set objWMIService = GetObject(”winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)
Set colOperatingSystems = objWMIService.ExecQuery _
(”SELECT * FROM Win32_OperatingSystem”)
For Each objOperatingSystem in colOperatingSystems
Wscript.Echo objOperatingSystem.ServicePackMajorVersion _
& “.” & objOperatingSystem.ServicePackMinorVersion
Next
Also read: Windows XP Service Pack
[How-To]Bypassing Passwords in Windows
Spoofing Explained : Another attempt to cover Hacking fundas
Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.
You can also follow me on Twitter at http://twitter.com/vaibhav1981
Cheers
Vaibhav
You have already tagged this post. Your tags: