Worked well for me. It takes time to complete... patiently wait until the command line prompt C:\WINDOWS\system32> is displayed.
"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: Newest
-
Anonymous
2022-05-15T18:06:36+00:00 -
Anonymous
2022-05-12T03:54:05+00:00 Thank you! This did the trick for me! FWIW, I was logged in as an administrator user and ran in an admin command prompt.
-
Anonymous
2022-05-12T03:00:50+00:00 I had to reinstall Win 11 Pro to fix the issue.
-
Anonymous
2022-05-11T12:56:12+00:00 Can anyone confirm that this fixes secondary accounts (non-admin)? I'm having no luck getting it fixed. The funny part is, after yesterday's updates for Win 11, the orange notification has turned green again, but it still gives the same message that WindowsDefender is missing.
-
Anonymous
2022-05-11T03:00:36+00:00 Thank you, no idea why it bugged for me, but this fixed it right away!