Set-ExecutionPolicy Unrestricted - Set the maximum password age to never expire. This prevents Windows periodically asking to change or enter a password despite removing it (if applicable) net accounts /maxpwage:unlimited - Clean the WinSxS folder DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase - Disable [reserved storage] DISM /Online /Set-ReservedStorageState /State:Disabled - Disable Sysmain (Windows 11, not 10) if system is installed on SSD reg add "HKLM\SYSTEM\CurrentControlSet\Services\SysMain" /v "Start" /t REG_DWORD /d "4" /f - Disable AppCaptureEnabled XboxGameBar reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f - Timer Resolution refresh at 5000 ms (if Timer Resolution used) powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00 4d2b0152-7d5c-498b-88e2-34345392a2c5 5000 - Disables the creation of 8.3 character-length file names on FAT- and NTFS-formatted volumes - See [Should you disable 8dot3 for performance and security?](https://ttcshelbyville.wordpress.com/2018/12/02/should-you-disable-8dot3-for-performance-and-security) fsutil behavior set disable8dot3 1 - Disable updates to the Last Access Time stamp on each directory when directories are listed on an NTFS volume. [Disabling the Last Access Time feature improves the speed of file and directory access](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior#remarks). fsutil behavior set disablelastaccess 1