Tips# Usefull Windows Command : systeminfo & set

      Comments Off on Tips# Usefull Windows Command : systeminfo & set

win_consoleToday i have a question from my colleg. he ask if i can say for him 1 command to get the information about a windows pc in console mode.

So i can do answer.

In Windows Xp, Windows Vista, Server 2008 existst some very usefull commands for get quickly informations.

I atach for every command examples about my PC. The informations is not confidential.

The commands is:

1. Systeminfo

2. Set

1. Systeminfo

For listing system informations. (Detailed info)

Host Name: CS27-VLW
OS Name: Microsoftr Windows Serverr 2008 Standard
OS Version: 6.0.6002 Service Pack 2 Build 6002
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Server
OS Build Type: Multiprocessor Free
Registered Owner: Windows User
Registered Organization:
Product ID: 55041-222-2084761-76218
Original Install Date: 7/25/2008, 11:37:31 PM
System Boot Time: 7/19/2009, 5:13:09 PM
System Manufacturer: System manufacturer
System Model: P5K SE
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 23 Stepping 6 GenuineIntel ~2997 Mhz
BIOS Version: American Megatrends Inc. 1104 , 7/7/2008
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume2
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (GMT+02:00) Athens, Bucharest, Istanbul
Total Physical Memory: 3,070 MB
Available Physical Memory: 43 MB
Page File: Max Size: 6,377 MB
Page File: Available: 2,229 MB
Page File: In Use: 4,148 MB
Page File Location(s): D:\pagefile.sys
Domain: CODESPRING.LOCAL
Logon Server: \\EXCHANGE
Hotfix(s): 92 Hotfix(s) Installed.
[01]: {1DE62EBA-6684-2483-3409-CEBADBF8A31E} - Update/Uninstall/Repair this SDK
[02]: {62D3B51B-F56D-40F0-8C32-EAB204ADF752}
[03]: {AC76BA86-7AD7-0000-2550-7A8C40000912}
[04]: {0B2CC3FA-C385-4F9A-BF79-44457AABAB39}
[05]: {87796B93-94D0-A0C7-EFC4-FF34426626BC} - Update/Uninstall/Repair this SDK
[06]: {D7C5B9DC-6E4C-4DEE-9A7B-4183DA4DC1C2}
[07]: {8CA89076-2A6D-42C3-AA24-F203C9E5DBF3}
[08]: 944036
[09]: KB940518
[10]: KB938464
[11]: KB941693
[12]: KB942288
[13]: KB947562
[14]: KB948590
[15]: KB948609
[16]: KB948610
[17]: KB949014
[18]: KB949172
[19]: KB949189
[20]: KB950050
[21]: KB950582
[22]: KB950759
[23]: KB950760
[24]: KB950762
[25]: KB950974
[26]: KB951066
[27]: KB951072
[28]: KB951618
[29]: KB951698
[30]: KB951978
[31]: KB952004
[32]: KB952069
[33]: KB952287
[34]: KB953733
[35]: KB953838
[36]: KB953839
[37]: KB954154
[38]: KB954211
[39]: KB954366
[40]: KB954438
[41]: KB954459
[42]: KB954708
[43]: KB954946
[44]: KB955020
[45]: KB955069
[46]: KB955302
[47]: KB955430
[48]: KB955839
[49]: KB956390
[50]: KB956391
[51]: KB956572
[52]: KB956802
[53]: KB956841
[54]: KB956862
[55]: KB957000
[56]: KB957055
[57]: KB957095
[58]: KB957097
[59]: KB957200
[60]: KB957321
[61]: KB957388
[62]: KB957660
[63]: KB958215
[64]: KB958481
[65]: KB958483
[66]: KB958623
[67]: KB958624
[68]: KB958644
[69]: KB958687
[70]: KB958690
[71]: KB959108
[72]: KB959130
[73]: KB959426
[74]: KB959772
[75]: KB960225
[76]: KB960714
[77]: KB960715
[78]: KB960803
[79]: KB961371
[80]: KB961501
[81]: KB967190
[82]: KB968220
[83]: KB968537
[84]: KB969497
[85]: KB969897
[86]: KB969898
[87]: KB970238
[88]: KB971180
[89]: KB971930
[90]: KB972636
[91]: KB973346
[92]: KB948465
Network Card(s): 4 NIC(s) Installed.
[01]: Attansic L1 Gigabit Ethernet 10/100/1000Base-T Controller
Connection Name: Local Area Connection
DHCP Enabled: Yes
DHCP Server: 192.168.7.11
IP address(es)
[01]: 192.168.0.27
[02]: fe80::7c39:e50e:88df:2050
[02]: VMware Virtual Ethernet Adapter for VMnet1
Connection Name: VMware Network Adapter VMnet1
DHCP Enabled: Yes
DHCP Server: 192.168.153.254
IP address(es)
[01]: 192.168.153.1
[02]: fe80::187a:ea3b:3dc9:4a33
[03]: VMware Virtual Ethernet Adapter for VMnet8
Connection Name: VMware Network Adapter VMnet8
DHCP Enabled: Yes
DHCP Server: 192.168.237.254
IP address(es)
[01]: 192.168.237.1
[02]: fe80::955c:7d94:8ea5:3474
[04]: VirtualBox Host-Only Ethernet Adapter
Connection Name: VirtualBox Host-Only Network
DHCP Enabled: No
IP address(es)
[01]: 192.168.56.1
[02]: fe80::f5de:a099:6390:84c5

2. Set

Listing enviroment informations for windows. (Detailed info)

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\veres.levente\AppData\Roaming
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=CS27-VLW
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\veres.levente
LOCALAPPDATA=C:\Users\veres.levente\AppData\Local
LOGONSERVER=\\EXCHANGE
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Program Files (x86)\VMware\VMware VI Remote CLI\Perl\site\bin;C:\Program Files (x86)\VMware\VMware VI Remote CLI\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\idmu\common;C:\Program Files (x86)\WinAgents\RouterTweak\;C:\Windows\System32\Windows System Resource Manager\bin;C:\Program Files (x86)\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Servers\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;D:\Program Files (x86)\Exchange Server\bin;D:\Program Files (x86)\Exchange Server\Scripts;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\system32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files (x86)\Nmap
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PSC1
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\VERES~1.LEV\AppData\Local\Temp\1
TMP=C:\Users\VERES~1.LEV\AppData\Local\Temp\1
USERDNSDOMAIN=CODESPRING.LOCAL
USERDOMAIN=CODESPRING
USERNAME=veres.levente
USERPROFILE=C:\Users\veres.levente
VS80COMNTOOLS=D:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
VS90COMNTOOLS=D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
windir=C:\Windows