Thank you! Worked for me. (Repairing my file system didn't seem to be the fix, rather OP here is the fix).
"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-05-30T06:43:01+00:00 -
Anonymous
2022-05-30T14:18:32+00:00 AMAZING!
I was a bit sceptical about doing this since i dont know nothing about this and dont realy like to use command prompt or, in this case, powershell, but everithing went fine.
Thank you so much!!
-
Anonymous
2022-06-01T18:36:01+00:00 This easy fix worked for me.
- Open PowerShell console as Administrator
- Run command: Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
-
Anonymous
2022-06-02T13:19:48+00:00 For anyone who, like me, was concerned that running this threw a bunch of errors because things like "Windows.BingWeather" have to be turned off, you can safely ignore them - this fix worked despite those.
-
Anonymous
2022-06-02T13:47:14+00:00 Same issue. Had to back everything up to cloud, create a new iso, reinstall Win 11 to fix it. Its the only way. Sorry. :(
I like Windows 11, I just want it to work.