Window - CMD

Shutdown or Restart Someones Computer

  1. Open 2 CMD.
  2. Run First CMD. A Remote Shutdown Dialog will shown.
  3. Run Second CMD.
  4. Click on Add... at the Remote Shutdown Dialog.
  5. Write down a PC Names that you want from the result shown in net view command.
  6. Choose the settings that you want that computer run.
  7. Click OK.


First CMD

C:\Users\USER-PC>shutdown -i


Second CMD 

C:\Users\USER-PC>net view
Server Name        Remark

-------------------------------------------------------------------------------
\\PC-1
\\PC-2
The command completed successfully.


Start the System Diagnostics Data Collector Set

C:\Users\USER-PC>perfmon /report

System File Checker

C:\Users\USER-PC>sfc /scannow

Beginning system scan.This process will take some time.

Use Slmgr to Change, Remove, or Extend Your Windows License

View Activation, License, and Expiration Date Information

  • Identify whether the system is activated
C:\Users\USER-PC>slmgr.vbs /dli
  • Display more detailed license information
C:\Users\USER-PC>slmgr.vbs /dlv


View the License Expiration Date

C:\Users\USER-PC>slmgr.vbs /xpr


Uninstall the Product Key

  • Uninstall the current product key
C:\Users\USER-PC>slmgr.vbs /upk
  • Remove product key from the registry
C:\Users\USER-PC>slmgr.vbs /cpky


Set or Change the Product Key

C:\Users\USER-PC>slmgr.vbs /ipk #####-#####-#####-#####-#####


Activate Windows Online

C:\Users\USER-PC>slmgr.vbs /ato


Activate Windows Offline

  • To get an installation ID for offline activation, run the following command.
C:\Users\USER-PC>slmgr.vbs /dti
  • Call the Microsoft Product Activation Center to get your activation ID.
  • Replace "ACTIVATIONID" with the activation ID you’ve received
C:\Users\USER-PC>slmgr.vbs /atp ACTIVATIONID


Extend the Activation Timer

C:\Users\USER-PC>slmgr.vbs /rearm


Perform Actions on Remote Computers

  • Applies to the current computer
C:\Users\USER-PC>slmgr.vbs /option
  • Run on a remote computer
C:\Users\USER-PC>slmgr.vbs computername username password /option


Use Windows Reliability Monitor to identify software issues

C:\Users\USER-PC>perform /rel

View all supported wireless adapter capabilities

C:\Users\USER-PC>netsh wlan show wirelesscapabilities

View the content of a .txt file

C:\Users\USER-PC>type FILE NAME.txt

View wireless adapter driver information

C:\Users\USER-PC>netsh wlan show drivers

View wireless adapter settings

C:\Users\USER-PC>netsh wlan show interfaces

View wireless network profiles saved on your PC

C:\Users\USER-PC>netsh wlan show profiles

Watch STAR WARS in ASCII Text

Before Start, make sure Telnet is enable in your PC.You many go to Control Panel > Programs > Turn Windows Features on or off, then select Telnet Client check-box and click OK. You do not need to check the Telnet Server box.


C:\Users\USER-PC>Telnet towel.blinkenlights.nl

What Is Your Computer's "Secret" Windows Benchmark Score ?

CMD :

C:\Users\USER-PC>winsat formal


PowerShell :

C:\Users\USER-PC>Get-CimInstance Win32_WinSat