"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
    2022-09-24T08:17:12+00:00

    Tried all of these, also no joy!!! Brand new Win11 install from uupdump iso ... Win11 22H2 25206.1000 build!

    Looks like i am going to have to go down the recently released official 22H2 ISO that went GA, and change channels after....

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-11-07T12:03:39+00:00

    Hello, i have something to add

    "4) Set-ExecutionPolicy restricted"

    afaik, the execution policy setting is only for this powershell session. So this is not needed i guess?

    also, for me the problem was fixed after endpoint protection update and reboot.

    Was 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
    2023-02-08T06:02:19+00:00

    Thanks for your help

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-03-01T15:45:05+00:00

    Still looking for answers? I was too. None of the Powershell fixes worked for me.

    I finally found my fix here: https://www.winhelponline.com/blog/need-new-app-open-windows-defender-link/#download

    The downloads listed are not hosted by Microsoft but they are properly signed my Microsoft and scanned clean for me.

    Basically I had to redownload and reinstall both Microsoft.UI.Xaml (Microsoft.SecHealthUI_8wekyb3d8bbwe.appx) and Microsoft.SecHealthUI (Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe.appx)... afterward the Security app opened as it should.

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments