"You'll need a new app to open this windowsdefender link" fix

Anonymous
2022-02-09T15:04:00+00:00

Hi this post is to help people with windows 10 and 11 windows security not working

On windows 11 do this

  1. launch powershell as an admin
  2. Set-ExecutionPolicy Unrestricted
  3. Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  4. Set-ExecutionPolicy restricted

IGNORE THE ERRORS

on windows 10 do this

  1. launch powershell as an admin}
  2. run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
  3. if it doesn't work do this
    4) run Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
  4. 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.

0 comments No comments

98 answers

Sort by: Newest
  1. Anonymous
    2022-04-26T22:03:06+00:00

    Thank you so much kind stranger.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-04-26T14:17:15+00:00

    This worked. And I found an answer on the Microsoft help forums. You seem to know a thing or two - they should hire you instead of their previous...interesting....tech support folks.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2022-04-16T13:53:53+00:00

    I had this same problem. Admin account and standard account on the PC - logged in as standard user, running powershell as admin. The above instructions did not work. No change.

    I turned my standard user account into an admin (computer management, users & groups, users, user account's properties, "member of" tab, added Administrators). Restarted and reran the above instructions while logged in as that user who is now an admin. That worked.

    I haven't removed the user from the admin group yet, but I'm hoping the fix will continue to work.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-04-12T12:47:51+00:00

    Thank you! Your solution for Windows 11 solved the problem for me.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments