使用系统管理员权限,打开PowerShell,然后输入 Get-MMAgent

PS C:\Windows\system32> Get-MMAgent

ApplicationLaunchPrefetching : True
ApplicationPreLaunch         : True
MaxOperationAPIFiles         : 512
MemoryCompression            : True
OperationAPI                 : True
PageCombining                : True
PSComputerName               :

MemoryCompression 就是内存压缩

输入命令 Disable-MMAgent -mc 关闭内存压缩

PS C:\Windows\system32> Disable-MMAgent -mc

Get-MMAgent 查看状态

PS C:\Windows\system32> Get-MMAgent


ApplicationLaunchPrefetching : True
ApplicationPreLaunch         : True
MaxOperationAPIFiles         : 512
MemoryCompression            : False
OperationAPI                 : True
PageCombining                : True
PSComputerName               :

想要重新开启内存压缩可以使用管理员权限powershell运行 Enable-MMAgent -mc

PS C:\Windows\system32> Enable-MMAgent -mc