Page 1 of 1

Best way to detrmine x64 vs x32?

Posted: Mon Mar 23, 2009 11:38 am
by pc_doctor
I admin mutliple Windows 2003 Servers and more and more of them are being converted to x64. Is there an easy way to determine the OS version (x64 or x32) in a batch file?

Thank you in advance.

Best way to detrmine x64 vs x32?

Posted: Mon Mar 23, 2009 11:38 am
by pc_doctor
I admin mutliple Windows 2003 Servers and more and more of them are being converted to x64. Is there an easy way to determine the OS version (x64 or x32) in a batch file?

Thank you in advance.

Best way to detrmine x64 vs x32?

Posted: Tue Apr 07, 2009 1:55 pm
by neothwin
wmic /node:@ServerList.txt ComputerSystem get Name,SystemType /format:csv


Assuming ServerList.txt contains your server list.

Best regards,

Best way to detrmine x64 vs x32?

Posted: Mon May 04, 2009 10:40 am
by khdetw
:: Determine if the machine is 64 bit if "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO 64BIT:: 32 bit instructions~~~GOTO END:64BIT:: 64 bit instructions~~~GOTO END:END@echo done