Windows Defender won't open? Here's how to fix it! (Windows 11)

Anonymous
2022-02-17T05:36:47+00:00

Last edited: 23/4/2024

[PLEASE NOTE BEFORE READING]

This fix is more than 2 years old. There is a high likelihood that it may not work on your system.

BEFORE YOU COMMENT, "It doesn't work" or "Not working," PLEASE REMEMBER! There are actual users looking in the replies for other solutions as well. If it does not work for you, please also include the errors that you encountered and which step you got stuck on. This way also gives me a chance to possibly help you.

If you can't or do not want to include more information on not being able to proceed with this fix, simply move on and try other fixes.

=================

Remember: Make sure you are using an administrator account, are the owner of the device, or have permission from the administrator to proceed with these steps.

Windows 11 is a brand new OS. Windows Security may not be opening, as many users have said. The following steps may fix this issue for you:

Step 1: In search, type "PowerShell"

Step 2 As PowerShell appears, press "Run as Administrator" Click "Yes" on the following prompt.

Step 3: Enter the following commands separately in order shown.

1. Set-ExecutionPolicy Unrestricted

(If it prompts you with (Y/N) which is "Yes or No", type Y. If not, proceed to the next step)

2. Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Added by mod (ty): Revert execution policy.

3. Set-ExecutionPolicy Restricted

Try opening Windows Security after. It should now work. Feel free to post any other solutions and questions.

EDIT:

This second option will work even if you are not an administrator:

https://techcommunity.microsoft.com/t5/windows-insider-program/issue-with-windows-defender-on-windows-11/m-p/3261866/highlight/true#M15320

Link suggested by hiThereSomeUserHere.

Suggested by Amirali Hendi:

Download the Windows Security App from the Microsoft website. The link: https://www.microsoft.com/en-us/microsoft-365/microsoft-defender-for-individuals

launch it and log in to your Microsoft account. Then close it. Now you can launch the Windows Security app!

(I am not a Microsoft official, so I cannot promise that this will not harm your computer. Make sure you have permission from the administrator before doing this.)

Windows for home | Windows 11 | Security and privacy

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

152 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-07T22:28:47+00:00

    PLEASE REPLY ASAP

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-07T22:15:48+00:00

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.22621.4249_neutral_neutral_cw5n1h2txyewy Microsoft.Windows.StartMenuExperienceHost_10.0.22621.4249_neutral_neutral_cw5n1h2txyewy windows.immersivecontrolpanel_10.0.6.1000_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0009-1ba7-d796fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0009-1ba7-d796fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed windows.immersivecontrolpanel_10.0.6.1000_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0009-17b9-d796fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0009-17b9-d796fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Imme...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.WindowsAppRuntime.1.5_5001.70.1338.0_x64__8wekyb3d8bbwe because it has version 5001.70.1338.0. A higher version 5001.214.1843.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-e663-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-e663-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm Microsoft.6365217CE6EB4_102.2409.21002.0_x64__8wekyb3d8bbwe Microsoft.WidgetsPlatformRuntime_1.5.0.0_x64__8wekyb3d8bbwe MicrosoftWindows.Client.WebExperience_524.24900.80.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-0865-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-0865-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm Microsoft.WindowsTerminal_1.20.11781.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0009-75be-d796fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0009-75be-d796fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm Microsoft.6365217CE6EB4_102.2409.21002.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-6369-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-6369-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm Microsoft.6365217CE6EB4_102.2409.21002.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-736a-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-736a-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm Microsoft.WidgetsPlatformRuntime_1.5.0.0_x64__8wekyb3d8bbwe MicrosoftWindows.Client.WebExperience_524.24900.80.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-546c-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-546c-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed MicrosoftWindows.Client.WebExperience_524.24900.80.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-a27c-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-a27c-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.WidgetsPlatformRuntime_1.5.0.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-000a-5a4d-da96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-000a-5a4d-da96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed MicrosoftWindows.Client.WebExperience_524.24900.80.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-000a-3e4e-da96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-000a-3e4e-da96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.22621.4249_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-3790-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-3790-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.StartMenuExperienceHost_10.0.22621.4249_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0006-2c91-db96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0006-2c91-db96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed MicrosoftWindows.Client.CBS_1000.22700.1041.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-000a-a360-da96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-000a-a360-da96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed 5319275A.WhatsAppDesktop_2.2439.7.0_x64__cv1g1gvanyjgm. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0008-0a6d-dc96fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0008-0a6d-dc96fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.WindowsTerminal_1.20.11781.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0009-a702-d896fc18db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0009-a702-d896fc18db01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it

    modifies are currently in use.

    error 0x80073D02: Unable to install because the following apps need to be closed

    Microsoft.6365217CE6EB4_102.2409.21002.0_x64__8wekyb3d8bbwe.

    NOTE: For additional information, look for [ActivityId] 96d547d6-18fc-0001-4e49-d896fc18db01 in the Event Log or use

    the command line Get-AppPackageLog -ActivityID 96d547d6-18fc-0001-4e49-d896fc18db01

    At line:1 char:38

    • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ...
    •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
      
      • CategoryInfo : NotSpecified: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], Exception
      • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    PS C:\WINDOWS\system32> ^C

    It is still not opening... showing errors every time. i dont know now what to do, please help..

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-09-30T08:59:58+00:00

    Hello, my windows 11 yesterday disconnected task manager (I fixed that), after block my access to Microsoft Defender. When I try to open something from Defender Centre - I having such notification:

    “Page not available.

    Your IT administrator has limited access to some areas of this app, and the item you tried to access is not available. Contact IT helpdesk for more information.”

    But it’s my home PC and only I’m using it.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-09-21T00:45:48+00:00

    Probably some entire set of critical files were deleted somewhere.. I experienced a similar thing when I tried to uninstall the windows backup app and it corrupted my emoji picker and my computer now refuses to run portable apps without the help of CMD.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-09-20T19:51:54+00:00

    That URL is gone now - 9-20-24 I've tried all the fixes. The REAL issue is Microsoft Solitaire and other games have disappeared from my wife's laptop. Seems the laptop, a very recent machine from Dell, won't let us download anything from the MS store. Now my laptop (same model and also with Win 11) works just fine. Yes, I enjoy playing Solitaire too, and the other games in the set. When I do try to download the file for the game it will briefly appear on the taskbar but disappear when clicked. VERY frustrating.

    My suspicion is that some update caused all this. So I have paused updates on both machines. What solution is there?

    Was this answer helpful?

    0 comments No comments