Tuesday, 10 December 2019

Check windows server resources

C:\Windows\system32>systeminfo



































Run > msinfo32

































Get Serial Number:
C:\WINDOWS\system32>
wmic bios get serialnumber

Get Memory Info:
C:\WINDOWS\system32>
wmic MemoryChip get BankLabel, Capacity, MemoryType, TypeDetail, Speed, DeviceLocator
C:\WINDOWS\system32>wmic MemoryChip list full

Disable Automatic Updates on Server 2016

Command prompt > sconfig > Option 5 > “A” for automatically download and install updates, “D” for download only or “M” for Manual updates.































Produce high CPU load on Windows:

Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=17657

C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\x64>consume -cpu-time -time 5

Produce high CPU load on Windows:

1. Create a notepad and save as loop.vbs:
While True
Wend


2. To stop it, kill the process wscript.exe in Task Manager