如何在 Windows 10 中以命令行方式执行 Windows Update 更新
时间:2022-08-19 22:03:17
对于经常使用 Windows Update 功能的用户,向大家介绍:如何在「命令提示符」和 PowerShell 中执行 Windows Update 系统更新。
使用 Windows PowerShell 执行 Windows Update
要在 PowerShell 中使用 Windows Update 功能就需要先安装「Windows Update Module」:
1使用 Windows + X 快捷键打开快捷菜单——选择 Windows PowerShell(管理员)
2执行如下命令安装 Windows Update module for Windows Powershell:
Install-Module PSWindowsUpdate
3您可以使用以下命令连接到 Windows Update 服务器并下载更新(如果有):
Get-WindowsUpdate
4执行如下命令安装下载好的 Windows Update 更新:
Install-WindowsUpdate
你也可以在任何需要的时间使用 PowerShell 查看 Windows Update 更新历史记录。
使用 CMD 执行 Windows Update 更新
除 PowerShell 外,还可以通过「命令提示符」来执行 Windows Update 更新:
1在「开始」菜单中搜索 cmd——右击「命令提示符」——选择「以管理员身份运行」
2运行以下命令检查更新:
UsoClient StartScan
3执行以下命令下载 Windows Update 更新:
UsoClient StartDownload
4执行以下命令安装更新:
UsoClient StartInstall
5安装更新后重新启动设备
UsoClient RestartDevice
或者直接使用以下 CMD 命令检查、下载和安装更新:
UsoClient ScanInstallWait
上面提到的 CMD 命令仅适用于 Windows 10 系统,对于旧版本的 Windows,您需要使用以下命令:
1运行以下命令检查更新:
wuauclt /detectnow
2使用以下命令安装检测到的更新:
wuauclt /updatenow
或者直接使用以下命令检查和安装更新:
wuauclt /detectnow /updatenow
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
windows8系统ADSL空闲时自动掉线的原因分析及解决
![](https://img.aspxhome.com/file/2023/29/a257212_0s.jpg)
怎么修复Win11错误代码0xc00000e9?
![](https://img.aspxhome.com/file/2023/1/a275385_0s.jpg)
Win7系统安装无主之地2游戏后无法进入游戏的解决方法
![](https://img.aspxhome.com/file/2023/2/a285757_0s.jpg)
wps文档打开后发现数学公式出乱码怎么办?
![](https://img.aspxhome.com/file/2023/8/a166488_0s.png)
Excel中进行函数筛选公式的操作
电脑注册表怎么打开?电脑注册表打开方法教程?
![](https://img.aspxhome.com/file/2023/9/47339_0s.jpg)
Win11帝国时代4闪退怎么办?Win11帝国时代4闪退的解决方法
![](https://img.aspxhome.com/file/2023/1/a283747_0s.jpg)
火狐怎么在线升级?火狐浏览器在线升级方法分享
![](https://img.aspxhome.com/file/2023/7/a330682_0s.jpg)
PDF文档是现在最流行的文档格式,那它有哪些优点呢?
![](https://img.aspxhome.com/file/2023/9/a343421_0s.jpg)
word 2007如文档中的修订功能如何使用?
![](https://img.aspxhome.com/file/2023/9/24389_0s.jpg)
在word文档怎么设置打勾选择小方框?
![](https://img.aspxhome.com/file/2023/4/25404_0s.jpg)
如何快速揪出系统内的间谍软件
在Word2010文档中如何手动更新链接的步骤(图文)
![](https://img.aspxhome.com/file/2023/7/29647_0s.jpg)
win7系统登录cf穿越火线出现atl71错误的解决方法
![](https://img.aspxhome.com/file/2023/28/a244819_0s.jpg)
PPT对齐、重复、对比、亲密性这四大基本排版设计原则
![](https://img.aspxhome.com/file/2023/10/a351851_0s.jpg)
WPS 如何在word文档中自动为图片插入题注
![](https://img.aspxhome.com/file/2023/1/a186281_0s.jpg)
如何给win10系统右键菜单添加“注册/反注册dLL”功能?
![](https://img.aspxhome.com/file/2023/1/46731_0s.png)
开发暂停:唐娜姐称Win10团队迎独立日小长假
![](https://img.aspxhome.com/file/2023/4/a312358_0s.jpg)
讯飞输入法怎么改字体颜色?
![](https://img.aspxhome.com/file/2023/5/a317580_0s.jpg)