Skip to content

Instantly share code, notes, and snippets.

@dominicusin
Created October 12, 2024 23:25
Show Gist options
  • Save dominicusin/b4c9b272fc9e4dd512af0298ab5ad5fa to your computer and use it in GitHub Desktop.
Save dominicusin/b4c9b272fc9e4dd512af0298ab5ad5fa to your computer and use it in GitHub Desktop.
wind
winget upgrade --accept-package-agreements --accept-source-agreements --include-unknown --all -ruh
C:\Windows\System32\wbadmin.exe delete backup -keepVersions:1 -quiet
C:\Windows\System32\Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth
C:\Windows\System32\sfc.exe /SCANNOW
C:\Windows\System32\compact.exe /CompactOs:always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment