"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-06-17T21:54:38+00:00

    for windows 11 users:

    try this command :

    Add-AppxPackage -Register -DisableDevelopmentMode "C:\program files\windowsapps\Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe\appxmanifest.xml"

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-06-18T15:35:31+00:00

    This did work on my Windows 10. Just ignore the errors that you may get.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-06-29T12:52:58+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

    The Windows 11 fix worked for me, but ONLY when run by the user account that had the problem and first assigning that account to the Administrators group (and subsequently downgrading it back to Users). Other combinations ran (e.g. run by Administrator or by user before assigning as administrator) but failed to correct the problem.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-07-03T05:51:28+00:00

    I was facing the same exact issue.It was working for Admin account but I was unable to launch it for secondary (Standard User) accounts. The solution described in OP did not work for me. I removed secondary account and then added it back and it worked for me.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-07-03T15:23:15+00:00

    Thank You so much! It worked. ^_^

    Was this answer helpful?

    0 comments No comments