Windows Server 2003
1820144 Members
3220 Online
109620 Solutions
New Discussion юеВ

Command to find out if windows 2003 installation is 32-bit or 64-bit.

 
GnanaShekar
Regular Advisor

Command to find out if windows 2003 installation is 32-bit or 64-bit.

Hi,

Is there a command (at dos prompt) to find out if the windows 2003 installation is 64-bit or 32-bit?

Please suggest,
Thanks.
5 REPLIES 5
Edgar Zapata
Esteemed Contributor

Re: Command to find out if windows 2003 installation is 32-bit or 64-bit.

Start | run | srvinfo

look under CPU.
Check the value that corresponds to CPU.
if it starts with x86: 32-bit
if it starts with ia64: 64-bit

Run winmsd and you'll see the same output as if you run srvinfo.
http://support.microsoft.com/kb/827218/en-us



Additionally, you can run
srvinfo >> file1.txt

and then,

findstr /c:"CPU" file1.txt >> file2.txt

Tnks.
GnanaShekar
Regular Advisor

Re: Command to find out if windows 2003 installation is 32-bit or 64-bit.

Hi,

I went through the microsoft article.
I have the following queries:

1. The article says it applies to windows xp. Windows 2003 is not mentioned. Please correct me if I am missing something.

2. I did not find a command named srvinfo on my windows 2003 system.

Assuming the document from microsoft holds good for windows 2003, we can arrive at the following conclusion:

1. We have windows 2003 64-bit and 32-bit versions of the operating system software available.
2. We can install only 64-bit version of windows 2003 on itanium based servers.
3. We can install only 32-bit version of windows 2003 on x86 based server.
4. We can install both 32-bit and 64-bit version of windows 2003 on EM64T servers.

Please suggest.
Thanks & Regards,
-GnanaShekar
Edgar Zapata
Esteemed Contributor

Re: Command to find out if windows 2003 installation is 32-bit or 64-bit.

Copy the srvinfo.exe command from your XP box and copy it on a Windows Server 2003's %systemroot% folder.
It works the same for 2K3.
Regards.
Igor Karasik
Honored Contributor

Re: Command to find out if windows 2003 installation is 32-bit or 64-bit.

Or check OS "name parameter" from "systeminfo" command output
http://www.ittvis.com/services/techtip.asp?ttid=4040
Stefan Pendl
Valued Contributor

Re: Command to find out if windows 2003 installation is 32-bit or 64-bit.

At the DOS prompt enter "set p | findstr /i archi":

1) PROCESSOR_ARCHITECTURE=x86 ..... 32-bit

2) PROCESSOR_ARCHITECTURE=AMD64 ... 64-bit

---
Stefan Pendl
Programing is fun.