Windows11/故障排除

来自OSSmedia

本页面收集在windows中遇到各种系统相关问题的解决方法。

dns缓存未刷新

ipconfig /flushdns

更新服务或者系统组件相关报错

可以先尝试修复系统组件,使用管理员权限运行cmd或者powershell

扫描系统文件

sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

清除更新缓存

停止相关服务

net stop cryptsvc
net stop appidsvc
net stop bits
net stop wuauserv

删除特定文件夹

Ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
Ren %systemroot%\System32\catroot2 catroot2.old

重启服务

net start cryptsvc
net start bits
net start wuauserv
net start appidsvc

微软商店

win+r
WSReset.exe