NET Framework version regardless of the service pack level, or to detect a service pack level or a later service pack level of the same. NET Framework version, use the registry information that is listed in the following table. How to: Determine which. NET Framework versions are installed. Benefits of the Microsoft. Windows registry information for advanced users. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.
Contents Exit focus mode. Determine which versions and service pack levels of. Please rate your experience Yes No. Any additional feedback? Windows has command line utilities that show us the version of the Windows OS running on the computer, including the service pack number.
There are multiple CMD commands that help with finding this, you can pick the one that suits your need. Ver command can show you the OS version whereas Systeminfo command can additionally give you service pack, OS edition and build number etc. As you can see above, ver command shows only OS version but not the service pack number.
We can find service pack number as well with Systeminfo command. Systeminfo dumps lot of other information too, which we can filter out using findstr command.
Find below example for Win7. See example below for Server If you want to find just the OS version, you can use ver command. Open command window and execute ver command. But note that this does not show service pack version. This command does not show version on a Windows 7 system.
Complete list of Windows CMD commands. Execute 'Winver' from command prompt or from Run window. It will show you the windows version. The "systeminfo" command gives the edition info under the headings "OS Name:" and "OS Version:" as well as a lot of other information all in the console.
You can parse it with "findstr" if you need only the edition info:. I was looking for this…I had to write a script which runs on different windows editions and I need to capture the os name..
From this you can derive if it's 32 or 64 bit. You can also use wmic cpu command to get processor info. You could have a 32 bit OS installed on a xbased pc. I did not mean to mislead anyone. Run the command mentioned in the post on each of the servers using psexec or rsh.
I will soon add a post on psexec. If I have understood correctly, you have different images of Win7 and you want to find out which image you have installed on the computer? I can think of a workaround for this. You can add custom reg key and set the image version number in that and then create the image. And on the installed computer, you can do reg query from command line.
Copy pasting the command would work fine now. Thank you for pointing that out. You can use registry keys in that case. Windows version in registry key. How can I get the serial number from a Windows Server device.
0コメント