Windows 10 troubleshooting with PowerShell

System File Checker

sfc /scannow

Fix Windows Update errors

DISM /Online /Cleanup-Image /RestoreHealth

Prevent sleep

powercfg.exe -change -monitor-timeout-ac 0
powercfg.exe -change -monitor-timeout-dc 0
powercfg.exe -change -disk-timeout-ac 0
powercfg.exe -change -disk-timeout-dc 0
powercfg.exe -change -standby-timeout-ac 0
powercfg.exe -change -standby-timeout-dc 0
powercfg.exe -change -hibernate-timeout-ac 0
powercfg.exe -change -hibernate-timeout-dc 0

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top