win10 或者 win11 提示需要使用新应用以打开此 WindowsDefender 链接
作者:互联网
以管理员身份运行 powershell
在 powershell 界面输入以下命令:
1、
Set-ExecutionPolicy Unrestricted
得到确认提示输入 "y"
2、
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
3、
Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
备注:第三步我没输入,直接输入到第二部就能打开了,看自己情况吧。
标签:AppxPackage,Get,提示,WindowsDefender,AllUsers,win10,win11,powershell,输入 来源: https://www.cnblogs.com/lfl17718347843/p/16376354.html