Commands I use#

This page collects the commands I use most at work and at home. It is a working reference and it grows as I go.

Windows#

Windows OS Repair#

DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc.exe /scannow

Windows Update Repair#

Stop-Service wuauserv
Stop-Service bits
Stop-Service cryptsvc
Stop-Service dosvc

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

Start-Service wuauserv
Start-Service bits
Start-Service cryptsvc
Start-Service dosvc