Same for me. My regular account will never fix itself. I hate Microsoft for this.
"You'll need a new app to open this windowsdefender link" fix
Hi this post is to help people with windows 10 and 11 windows security not working
On windows 11 do this
- launch powershell as an admin
- Set-ExecutionPolicy Unrestricted
- Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- Set-ExecutionPolicy restricted
IGNORE THE ERRORS
on windows 10 do this
- launch powershell as an admin}
- run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- if it doesn't work do this
4) run Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml" - run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Windows for home | Windows 11 | Performance and system failures
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
98 answers
Sort by: Oldest
-
Anonymous
2022-06-14T16:17:37+00:00 -
Anonymous
2022-06-14T16:17:52+00:00 This worked for my admin account, but not my other regular user account. Nothing works for my regular account.
I used powershell as admin. I tried doing this on both regular and admin account. Nothing fixes my regular account. I hate Microsoft. -
Anonymous
2022-06-15T02:17:52+00:00 Nice fix, thank you!
-
Anonymous
2022-06-17T18:00:38+00:00 Fixed now ... downloaded Norton from BT
-
Anonymous
2022-06-17T19:53:10+00:00 This also worked for me after everything else failed. It looks like McAfee managed to get itself installed on the machine, and when I uninstalled it, Windows Defender got broken.
Anyway, these three powershell commands fixed it - don't be freaked out by the number of error messages that you see in the console.