"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: Oldest
  1. Anonymous
    2023-03-02T07:59:33+00:00

    Thank you so much. I installed it and now works. Online I haven't found anything that work. Love u.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-04-01T07:26:42+00:00

    will this still work and will it be fine if I just don't turn execution policy to restricted?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-05-02T16:30:50+00:00

    i got this error......

    Reset-AppxPackage : The term 'Reset-AppxPackage' is not recognized as the name of a cmdlet, function, script file, or

    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try

    again.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-06-09T02:10:04+00:00

    It didnt work for me like I literally dont know what to do at this point

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-08-26T04:05:48+00:00

    Reset-AppxPackage : The term 'Reset-AppxPackage' is not recognized as the name of a cmdlet, function, script file, or

    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try

    again.

    At line:1 char:51

    • get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
    •                                               ~~~~~~~~~~~~~~~~~ 
      
      • CategoryInfo : ObjectNotFound: (Reset-AppxPackage:String) [], CommandNotFoundException
      • FullyQualifiedErrorId : CommandNotFoundException

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments