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 0.0.0.0 mask 0.0.0.0 192.168.178.1

 

Use Command Shell to configure Windows Firewall

Syntax of netsh http://technet.microsoft.com/de-de/library/dd734783%28v=ws.10%29.aspx

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

http://itblog.gr/213/configuring-windows-firewall-from-the-command-line/

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 2020 Impressum