CMD Utils Cheat Sheet

A Software › Windows cheat sheet in English by ridermansb

Utils commands in windows cmd

27,166 views 4,207 downloads 29 Mar 2014 History
3.7 avg · 0 ratings

sfc

/scannow
Immediate scan of your system and will replace files as necessary.
/scanonce
Scan the next time you restart your system
/scanboot
Schedules a scan to be performed every time you restart your system
Scans several thousand basic Windows files, comparing them against the original versions that shipped with Windows
Require elevated privileges em cmd (admin)

chkdsk

/F
Go ahead and fix those errors.
/R
Forces chkdsk to locate bad sectors and recover inform­ation from them.
Repair file system errors, locate bad sectors, and recover readable inform­ation from those bad sectors

recimg

/creat­eimage <di­r>
New recovery image in the location specified, sets it as the active
/setcu­rrent <di­r>
Sets the active recovery image
/dereg­ister
Deregi­sters the current custom recovery image
/showc­urrent
Displays the path to the directory in which the current active
Create and configure a custom recovery image for Windows to use when you Refresh your PC

netsh

http add urlacl url=ht­tps­://­{IP­/Co­mpu­ter­nam­e}:­{port}/ user=E­veryone
Add to urlacl
http delete urlacl url=ht­tps­://­{IP­/Co­mpu­ter­nam­e}:­{port}/
Delete do urlacl
http show urlacl
Show urlacl
advfir­ewall firewall add rule name="IIS Express (non-S­SL)­" action­=allow protoc­ol=TCP dir=in localp­ort­={Port} profil­e=p­rivate remote­ip=­loc­als­ubnet
Add firewall port
É possível usar comandos no contexto interface IP do Netsh para configurar o protocolo TCP/IP (incluindo endere­Ã§os, gateways padrão, servidores DNS e servidores WINS) e para exibir inform­ações de config­ura­Ã§Ã£o e estatí­st­icas.
http:/­/te­chn­et.m­ic­ros­oft.co­m/p­t-b­r/l­ibr­ary­/cc­738­592­(v=­ws.1­0).aspx

Badges

Nice Cheat Sheet Good Cheat Sheet Downloaded from Unusual Locations × 5

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.