![]() |
Windows 10 > Windows 10 configuration >
CompactOS ∞
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/compact-os
You can compress the contents of your Windows:
Learn its status:
compact.exe /CompactOS:query
Compacting:
compact.exe /CompactOS:always
Undoing:
compact.exe /CompactOS:never
hiberfil.sys ∞
https://www.windowscentral.com/how-reduce-windows-10-footprint-your-pc
You can reduce the size of your hiberfil.sys or remove it entirely. Changes are immediate.
(I don’t know how to learn about its status.)
Disable:
powercfg.exe /hibernate off
Reduce:
(I don’t understand the limitations this introduces, but it’s probably better to turn hibernation off (and just use sleep) than do this.)
powercfg.exe /hibernate /size 60
Undoing:
powercfg.exe /hibernate on powercfg.exe /hibernate /size 100
pagefile.sys ∞
See also Shutdown: Clear virtual memory pagefile
You can reduce your pagefile.sys size by changing them in the “View advanced system settings” > Advanced > (Performance: Settings) > Advanced > (Virtual memory: Change) area. Changes are made after you reboot.

