Granite WMS/Misc/Windows

Handy CommandsEdit

NET USE to switch account on networkEdit


Command for remote shutdown/restart

shutdown -m \\SERVERNAME -r -f -t 0 (this will send restart command )

shutdown -i (this will bring up UI with all options)

Commands for services

sc \\SERVERNAME stop <service> (will stop service replace stop with start to start)

sc \\machine queryex type= service state= all | find /i "mysearch" (this will search for service mysearch)

Service names

TermService = remote desktop service

INEDOPROGETSVC = proget service