Setting NTP

  • Powershell as Admin
w32tm /config /manualpeerlist:[IP] /syncfromflags:MANUAL
32tm /config /reliable:yes
Stop-Service w32time
Start-Service w32time
w32tm /query /configuration
w32tm /query / status
  • commandprompt - test connection with
w32tm /stripchart / /dataonly /samples:5

Change Network Name and Type

Computer Configuration/Windows Settings/Security Setting /Network List Manager Policies
right-click Network List Manager Policies in the left pane and choose Show All Networks

Applications as services NSSM - run a exe / bat etc as a service - also monitors the process and will restart it should it die. a bit nicer than cygserv

Delete old files

forfiles -p "C:\something\something" -s -m *.* /D -<age_in_days> /C "cmd /c del @path"

Nuke every users Recycle Bin

rd /s c:\$Recycle.Bin
Favorite Categories