Windows Defender无法打开的问题

运行某激活工具后,导致Windows Defender无法打开的问题:提示“需要使用新应用以打开此Windows Defender链接”。

解决办法:
以管理员身份在Powershell中依次运行如下命令即可解决,如出现报错忽视即可。

第一:$BasePath = Get-Content .\appx.list

第二:$BasePath | % {$Path = $($_).Trim() Add-AppxPackage -Register -DisableDevelopmentMode "$Path\AppXManifest.xml"}

第三:Get-AppxPackage | Select InstallLocation | Out-file appx.list

第四:Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

第五:重启电脑
posted @ 2024-08-28 11:13  牛仔很肥  阅读(600)  评论(0)    收藏  举报