Windows Command Shell

Shut down or restart a Remote Machine

Shutdown: Reboot -p

Restart: Shutdown -r


Gateway Change

Run Command Shell as Administrator

Route change mask


Use Command Shell to configure Windows Firewall

Syntax of netsh

Turn on Firewall: netsh advfirewall set allprofiles state on

Add Rule to allow HTTP Port 80 incomming:

etsh advfirewall firewall add rule name="HTTP" protocol=TCP localport=80 action=allow dir=IN

Check Dirty Bit of Disk (Checkdisk will be started on next start of Windows)

COMMAND: fsutil dirty query c:

COMMAND: chknfts /x c: - Disables check of c: if it was dirty

COMMAND chkdsk c: /r - full Check after Reboot



© Willi Neuner 2019 Impressum