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
Windows Defender won't open? Here's how to fix it! (Windows 11)
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:
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.
152 answers
Sort by: Newest
-
Anonymous
2024-09-22T15:03:42+00:00 -
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.
-
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?
-
Anonymous
2024-09-16T09:11:13+00:00 Just used the fix, still working now, all sorted, thanks
-
Anonymous
2024-08-12T17:36:46+00:00 I apparently don't have a Windows Defender troubleshooter. The service has any change to the Disabled setting grayed out.
I have a laptop on which Windows Defender runs fine. Is it safe to copy all The Windows Defender settings from my laptop to my desktop?
GOGO