| Get System Information on command-line mode |
Introduction
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 “virtual\administrator” and password is “password”.
systeminfo /s BKKPDC010 /u virtual\administrator /p password




























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 ?