Get System Information on command-line mode
Administration, Windows July 21st, 2008Introduction
There is a built-in command on Windows XP and Windows 2003 which can gather system configuration information to display in command-line mode. This command works on Windows only. With this command, you can get System Information on both local or remote computer so you don’t have to login or remote desktop to the remote computer.
The command displays these configurations:
- Host Name
- OS Name, OS Version, OS Manufacturer and OS Build Type
- Registered Owner, Registered Organization
- Product ID and Original Installed Date
- System Up Time, System Manufacturer, System Model, System Type
- Processor(s), BIOS version
- Windows Directory, System Directory
- Boot Device
- System Locale, Input Locale and Time Zone
- Total Physical Memory and Available Physical Memory
- Virtual Memory (Max Size, Available, In Use) and Page File Location(s)
- Domain, Logon Server
- Hotfix(s)
- Network Card(s)
To run this command, type this in command-line
systeminfo
This command also can query remote computer. Type the command below
systeminfo /s remote host /u username /p password
Where
- remote host is the IP Address or Hostname of the remote computer.
- username is the user on the remote computer.
- password is the password of the username.
Note: This command is not available in Windows 2000 but you can still query Windows 2000 computer by running this command on Windows XP or Windows 2003 computer and set remote computer to Windows 2000 computer. If the current user logon that execute this command already has privilege on remote machine (for instance, Domain Administrators), you don’t have to use /u and /p.
Example
- Display System Information on local computer.
systeminfo
- Display System Information on remote computer without specify username and password.
systeminfo /s BKKPDC010
- Display System Information on remote computer specifying username is “virtualadministrator” and password is “password”.
systeminfo /s BKKPDC010 /u virtualadministrator /p password
Related post
- How to run command-line or execute external application from Java Have you ever confront a situation that you need to execute external programs while developing a Java application? For instance,...
Related posts:







July 22nd, 2008 at 8:19 pm
does anyone know how to hide the command line password for the remote access
ie:
systeminfo /s %computername% /u virtual\administrator /p Pass@word1 <- how to hide/encrypt this ?
February 5th, 2009 at 12:34 am
leave off the /p and it will ask you for the password
#>systeminfo /s %computername% /u virtual\administrator
Type the password for virtual\administrator:
April 19th, 2009 at 9:22 am
you rocks! thanks
October 21st, 2009 at 10:38 am
The reading goes to fast. Is there a “/P” or other command to slow it down. I know there was when one listed a DOS a file list, but has been so long that I have done that that I have forgoten about it. Thank you so very much.
October 26th, 2009 at 9:34 am
Hi, Maurice
If you use command prompt window, you can scroll up to see the result if it is too long to fit in a screen.
April 6th, 2010 at 8:42 pm
You could try & Keep your iPad for No cost! -> http://bit.ly/cFBuis