"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
    2022-08-10T14:41:51+00:00

    This fix for Windows 11 worked for me!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-08-08T17:00:58+00:00

    This is yet another example of how Windows updates are messed up.

    Windows 10 was constantly bugging me with Windows 11 system update. Finally I decided to do that and here we are.
    Various things are no longer available or do not work. Like missing calendar in the taskbar on the second monitor in the extended mode.
    The "Microsoft way".

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-08-07T12:33:01+00:00

    Thank you @TrippCollins - worked for me!

    (My Defender went haywire after Windows 11 Upgrade from Windows 10).

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-07-27T08:03:31+00:00

    To add on, I am having this issue and rest my Windows 11 completely with it still not resolved. I am using an insider build. Could this be why?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-07-24T21:25:12+00:00

    First, I want to say thank you for this info as it worked and Microsoft defender is now active and working again working. But while the what to do is accurate, the how to do it may not be clear to those of us who are not computer geeks. Luckily for me my son is a computer geek in the navy and was able to help. This is the how. To get to the power shell, go to magnifying glass Icon on your bottom taskbar and type in 'windows power shell', and click on it. It will open a small black screen. It may also open a full website screen (just close the website screen and you should have the small black screen that says Window power shell. There will be a small flashing white cursor. At the flashing cursor, either copy and paste the first instruction, Set-ExecutionPolicy Unrestricted for type it in, then hit enter. You will get screen with a message about execution policy change, with 4 options at the bottom A. Yes B. Yes to All C. No D. No to All. At the flashing cursor type in the letter B (for yes to all) and then hit enter. At the next screen copy and paste, Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} and hit enter. A screen will appear with a blue section running program update for couple of minutes. When complete you will need to enter the 4th step of, Set-ExecutionPolicy restricted and hit enter. Agiain you will get the A, B, C, and D options. Clicking on the desired option won't do anything, you will need to enter the option letter B (yes to all at the white cursor. Hit enter and you should be all set. After complete, restart your computer and go to your windows defender and you should find it active again and working fine.

    The 4-step process works, but some of us retired folks are not fully up on how to execute the process. Hope this helps some not quite as savvy as computer geeks.

    Was this answer helpful?

    0 comments No comments