Skip to content

Instantly share code, notes, and snippets.

@Aetopia
Last active October 22, 2025 18:55
Show Gist options
  • Select an option

  • Save Aetopia/6a4449b77373d5758e0689aecafd68a4 to your computer and use it in GitHub Desktop.

Select an option

Save Aetopia/6a4449b77373d5758e0689aecafd68a4 to your computer and use it in GitHub Desktop.
rundll32.exe pnpclean.dll,RunDLL_PnpClean /devices /drivers /files /maxclean
rundll32.exe appxdeploymentclient.dll,AppxCleanupOrphanPackages
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc.exe /scannow
DISM.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase
shutdown /r /t 0 /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment