最近在一台不足25G硬盘的上装win10 ltsc,折腾了下,这里记录下磁盘空间极致瘦身加禁用更新流程。
1.禁用更新
按 Win + R 输入 regedit 打开注册表编辑器:
找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc
双击Start,改为4,保存;
双击FailureActions,将0010行的 第五组01改成00,将0018的第五组01改成00,保存。
然后在cmd分别执行下面两行命令
sc config wuauserv start=disabled net stop wuauserv
2.磁盘瘦身
分别执行命令:
dism /online /Cleanup-Image /SPSuperseded dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
关闭休眠:
powercfg.exe /h off
