Blog

Keep up to date with the latest news

如何更改Windows更新的下载位置

晚上好,Administrator,

Windows 11 / 10 中不提供用于更改 Windows 更新下载位置的设置选项。所以说,最好的办法一定是扩容 C 盘、尽可能将软件安装到非系统盘、到 “设置”>“系统”>“存储” 菜单开启 “存储感知” 功能,并定期清理临时文件 (如下图)、使用第三方硬盘清理工具等。

请优先考虑以上措施,保持良好的电脑使用习惯。如果一定要实现 “将 Windows 更新下载到非系统盘”,也许可行的思路是将存储系统更新缓存的 SoftwareDistribution 文件夹移动至其他盘符,再用符号链接指向新的路径。

启动 Windows PowerShell (管理员) / 终端 (管理员),运行以下命令:

# 停止 Windows 更新服务

net stop wuauserv

net stop bits

# 将 Windows 更新文件夹移动到其他位置

move C:\Windows\SoftwareDistribution D:\WindowsUpdateSD

# 创建符号链接

mklink /J C:\Windows\SoftwareDistribution D:\WindowsUpdateSD

# 启动 Windows 更新服务

net start wuauserv

net start bits

请注意:此方案未经验证,不确定能否起到效果,不建议轻易使用。它可能导致电脑出现意料之外的异常,也可能损坏 Windows 系统组件,务必提前创建系统还原点并备份个人文件。

谢谢!😀

顺颂 时祺

- Ling Gao

2021 Windows Insider 最有价值专家 (MVP),

Microsoft 管理社区冠军,Windows 商业 & 云冠军