Windows 11 – Fix Missing Defender / Windows Security

I’ve recently encountered an issue on Windows 11 devices whereby Windows Defender and the Security portal refuse to open, with it showing a “You’ll need a new app to open this windowsdefender link” popup. This appears to stem from a corrupt app install after one of the recent patches.

The Solution

The solution requires that PowerShell be ran as an administrator. Run the following commands one at a time and test access to Defender / the Security portal after each command.

Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage # Attempt to fix the Security Health UI App

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} # Disable development mode of all Apps which should resolve the issue

3 responses to “Windows 11 – Fix Missing Defender / Windows Security”

  1.  Avatar
    Anonymous

    Thank oyu

    Liked by 1 person

  2. Stefan Sandberg Avatar
    Stefan Sandberg

    Hi Shaun
    Thanks for the tip on how to solve the problem. Have been looking for a long time if anyone had a solution.
    The first line did not solve the problem but the second line solved it.

    So a big thank you.

    // Stefan Sandberg

    Like

    1. shaun.wilkinson Avatar

      No problem at all Stefan, just glad I can help.

      Thanks,
      Shaun

      Like

Leave a reply to shaun.wilkinson Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started