"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: Most helpful
  1. 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
  2. Anonymous
    2022-02-20T16:56:45+00:00

    command prompt will not work you have to use power shell as admin

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-05-17T07:20:48+00:00

    Tripp - this is what I see on Win11 when I start the procedure:

    PS C:\WINDOWS\system32> Set-ExecutionPolicy Unrestricted

    Execution Policy Change

    The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose

    you to the security risks described in the about_Execution_Policies help topic at

    https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?

    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):

    I assume that I should reply Y or A, but would appreciate it if you could provide a complete answer for us dummies who want to make sure that we don't mess anything up trying to fix this bug.

    Thanks!

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-02-20T16:55:49+00:00

    not sure what bug you have as you can't replace the windows security files ( not sure why ) cause you can't modify the owner ship of the folders

    you might need to reset your computer.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  5. 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