Back to articles
Run Windows 10 on 1GB RAM: 5 PowerShell Optimizations

Run Windows 10 on 1GB RAM: 5 PowerShell Optimizations

via Dev.to TutorialRecca Tsai

Originally published at recca0120.github.io Running Windows 10 on a machine with only 1GB of RAM (e.g., a small AWS EC2 instance) means memory is maxed out right after boot. The following services can be disabled to reduce usage — run all commands in PowerShell as Administrator. Memory Compression Windows 10 compresses memory to save space, but the compression itself consumes CPU and memory. On small machines, disabling it actually improves performance. # Disable Disable-MMAgent -mc # Enable Enable-MMAgent -mc Superfetch (SysMain) Superfetch preloads frequently used programs into memory. On memory-constrained machines, this does more harm than good. # Disable Stop-Service -Force -Name "SysMain" ; Set-Service -Name "SysMain" -StartupType Disabled # Enable Stop-Service -Force -Name "SysMain" Windows Defender Real-time protection continuously scans in the background, consuming significant memory and CPU. If you're in an isolated environment, consider disabling it. # Disable Set-MpPreferen

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
3 views

Related Articles