this is the trace log - https://drive.google.com/file/d/1vpnpM5vD5KHHba7KX8gRBgpfU4\_wt4h\_/view?usp=sharing
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: Oldest
-
Anonymous
2022-11-08T07:03:05+00:00 -
Anonymous
2022-11-08T07:43:41+00:00 did you find anything in the log that might help...?
-
Ramesh 181.2K Reputation points Volunteer Moderator2022-11-08T07:58:16+00:00 Two modifications are required:
- Please change the ownership of the following key to SYSTEM (instead of TrustedInstaller)
HKEY_CLASSES_ROOT\CLSID{CC66E708-C687-42EA-806E-83D41C9D1A5F}
- Please import this REG file by running Regedit.exe as TrustedInstaller.
Reboot. If the issue is unresolved, please run a fresh trace.
Edit: Please make sure that all these files exist in the System32 folder:
-
Anonymous
2022-11-08T08:44:04+00:00 unfortunately, did not work.
all the files exists :
this is the fresh procmon trace - https://drive.google.com/file/d/13LfsUQVPmtvlPkq08eK1T2AIAGGjyQiT/view?usp=sharing
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more