List of useful Windows commands:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Clean up the disk: cleanmgr /sageset:99, cleanmgr /sagerun:99
Repair the disk: chkdsk /f/r C:
Remote desktop connection: mstsc
Open the notepad: notepad
Open the registry editor: regedit/regedt32
Open control panel: control
Open service window: services.msc
Open calculator: calc
Enable the hidden administrator account(open a command prompt in administrator mode): net user administrator /active:yes
Open task manager: taskmgr
Open computer management: compmgmt.msc
Displays a list of directory's files and subdirectories: dir
Displays the name of or changes the current directory: cd, for example: cd .. :return to the parent directory
Microsoft system configuration: msconfig, for example: you can find boot item
Restart or shutdown computer (remote desktop): shutdown -r -t 15 / shutdown -s -t 15
Add startup application: shell:startup
Open local group policy editor: gpedt.msc
Query program port: netstat -aon | findstr "5050"
Query program process: tasklist | findstr "11740"
Kill program process: taskkill /PID 11740 -T -F

Reference

Windows Commands