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-09-22T15:03:42+00:00

    it doesn't work for me !! i got the below output
    PS C:\Users\Lenovo> Set-ExecutionPolicy Unrestricted PS C:\Users\Lenovo> Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} 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.AccountsControl_10.0.22621.1_neutral__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0004-0adf-23e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0004-0adf-23e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe because it has version 14.0.30704.0. A higher version 14.0.32530.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0009-a178-1ee5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0009-a178-1ee5f90cdb01 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 3138AweZip.AweZip_1.4.36.0_x64__ffd303wmbhcjt 5319275A.WhatsAppDesktop_2.2437.3.0_x64__cv1g1gvanyjgm. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0007-2789-1fe5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0007-2789-1fe5f90cdb01 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 3138AweZip.AweZip_1.4.36.0_x64__ffd303wmbhcjt 5319275A.WhatsAppDesktop_2.2437.3.0_x64__cv1g1gvanyjgm. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0002-c401-28e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0002-c401-28e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe because it has version 7.2208.15002.0. A higher version 7.2409.9001.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0005-7e8c-21e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0005-7e8c-21e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.UI.Xaml.2.8_8.2304.12003.0_x64__8wekyb3d8bbwe because it has version 8.2304.12003.0. A higher version 8.2305.5001.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0004-7b10-24e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0004-7b10-24e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00_14.0.32530.0_x86__8wekyb3d8bbwe because it has version 14.0.32530.0. A higher version 14.0.33321.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0005-9899-21e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0005-9899-21e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00.UWPDesktop_14.0.32530.0_x64__8wekyb3d8bbwe because it has version 14.0.32530.0. A higher version 14.0.33321.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0003-4d5f-24e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0003-4d5f-24e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00.UWPDesktop_14.0.32530.0_x86__8wekyb3d8bbwe because it has version 14.0.32530.0. A higher version 14.0.33728.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0008-7641-1fe5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0008-7641-1fe5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.UI.Xaml.2.8_8.2306.22001.0_x86__8wekyb3d8bbwe because it has version 8.2306.22001.0. A higher version 8.2310.30001.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0007-afa1-1fe5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0007-afa1-1fe5f90cdb01 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 AdvancedMicroDevicesInc-2.AMDRadeonSoftware_10.22.20073.0_x64__0a9344xs7nr4m. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0007-f8ae-1fe5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0007-f8ae-1fe5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00_14.0.33321.0_x86__8wekyb3d8bbwe because it has version 14.0.33321.0. A higher version 14.0.33519.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0002-3a89-28e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0002-3a89-28e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe because it has version 14.0.33321.0. A higher version 14.0.33519.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0000-69a9-27e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0000-69a9-27e5f90cdb01 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: 0x80073D06, The package could not be installed because a higher version of this package is already installed. Windows cannot install package Microsoft.WindowsAppRuntime.1.4_4000.1136.2333.0_x64__8wekyb3d8bbwe because it has version 4000.1136.2333.0. A higher version 4000.1227.1637.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0003-a9c0-24e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0003-a9c0-24e5f90cdb01 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: 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.159.55.0_x64__8wekyb3d8bbwe because it has version 5001.159.55.0. A higher version 5001.178.1908.0 of this package is already installed. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0009-5395-1ee5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0009-5395-1ee5f90cdb01 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 3138AweZip.AweZip_1.4.36.0_x64__ffd303wmbhcjt. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0002-ebaf-28e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0002-ebaf-28e5f90cdb01 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 : Cannot find path 'C:\Windows\SystemApps\MicrosoftWindows.Client.LKG_cw5n1h2txyewy\AppXManifest.xml' because it does not exist. At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], ItemNotFou ndException + FullyQualifiedErrorId : PathNotFound,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.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0005-03fe-21e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0005-03fe-21e5f90cdb01 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] e51d139e-0cf9-0002-bec0-28e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0002-bec0-28e5f90cdb01 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.3810_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0003-20fe-24e5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0003-20fe-24e5f90cdb01 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 : Cannot find path 'C:\Windows\SystemApps\MicrosoftWindows.Client.LKG_cw5n1h2txyewy\AppXManifest.xml' because it does not exist. At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], ItemNotFou ndException + FullyQualifiedErrorId : PathNotFound,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.4.0.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-0008-3e8b-1fe5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-0008-3e8b-1fe5f90cdb01 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.YourPhone_1.24081.102.0_x64__8wekyb3d8bbwe. NOTE: For additional information, look for [ActivityId] e51d139e-0cf9-000d-0330-1ee5f90cdb01 in the Event Log or use the command line Get-AppPackageLog -ActivityID e51d139e-0cf9-000d-0330-1ee5f90cdb01 At line:1 char:38 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File...ppXManife

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-07-07T02:41:36+00:00

    When I do this and I click open from the MS Store , I get the error alert that the path can't be found or I don't have necessary permissions. The app with the long name that refers to WIndows Defender is in the WindowsApps folder

    I also get some errors when running the package commands , some of the errors are process in use

    This was originally happening on boot

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-05-23T07:54:57+00:00

    I run those commend on powershell and it's worked very much😊. Now I can open Windows Defender in my windows 11's laptop. Thank you.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-05-01T07:35:54+00:00

    worked like a charm. gotta say i freaked out a bit after seeing all the red codes! lol but the solution ddnt take even a min to work. Thanks

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-04-27T22:21:09+00:00

    This works, took a long time and lots of files writing. Works for Windows 11.

    Was this answer helpful?

    0 comments No comments