Clearing the Path: Fixing Windows 11’ Writable Errors
Windows Security incorporates the Microsoft Defender antivirus utility. However, some users can’t select to run Microsoft Defender scans because of an error message that says: “Unexpected error. Sorry, we ran into a problem.” That “Unexpected error” message pops up for some users when they select theVirus & threat protection tab in Windows Security.
Consequently, theVirus and threat protection tab is inaccessible. That error means there’s an issue with the Windows antivirus tool. This is how you can resolve the “Unexpected error” issue.
1. Check for New Windows Updates
First, check for and install available Windows patch updates. Microsoft releases many patches to update Microsoft Defender. So, a patch update could feasibly resolve a Windows Security bug. Our guide to manually updating Windows tells you how to check for and install new updates in Settings.
2. Run System File and Image Scans
System file issues might be causing the “Unexpected error” on your PC. To check if that’s the case, run a System File Checker scan within the Command Prompt. Such a scan will repair the corrupted system files detected. Our guide on utilizing the SFC tool on Windows tells you how to scan system files with that utility.
It’s also recommended to run a Deployment Image Servicing and Management scan, which can resolve Windows system image issues. The System File Checker tool doesn’t work when there are issues with the system image. So, try executing this command before the SFC scan as well:
Do you have an alternative third-party antivirus tool installed on your PC? If so, then there’s a possibility that antivirus software is causing the issue by conflicting with Microsoft Defender. At least try turning off the third-party AV utility by right-clicking the system tray icon for the app and selecting a disable context menu setting.
If disabling the third-party antivirus software works, you have two options. You can re-enable that antivirus software and utilize the alternative antivirus scanner it provides. Or you can completely uninstall the third-party antivirus software if you prefer Microsoft Defender. Our guide to removing Windows software includes numerous methods for uninstalling programs.
4. Modify the Windows Defender Registry Key
This registry tweak for modifying aDisableAntiSpyware DWORD is one of the most widely confirmed fixes for the “Unexpected error” issue. So, maybe this could the “Unexpected error” solution you’re looking for as well. To apply this potential fix, edit the registry as follows:
Open Run, inputregedit , and clickOK .
Erase the current registry path and input this registry key location inside the address box: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
You can skip through to step five if the Windows Defender key includes aDisableAntiSpyware DWORD. However, users who can’t see that DWORD will need to right-click theWindows Defender key and selectNew >DWORD .
TypeDisableAntiSpyware in the DWORD’s text box.
Double-click theDisableAntiSpyware DWORD to access itsValue box.
Input0 in the data box if that’s not the current value set.
SelectOK to confirm the value for the DWORD.
5. Reset the Windows Security App
Resetting Windows Security is worth trying whenever that app isn’t working right. In this case, something is up with the antivirus component of that app. You can reset that app within Settings or by executing a PowerShell command. Our article about resetting Windows Security tells you how to apply this potential resolution in three different ways.
Title: Clearing the Path: Fixing Windows 11' Writable Errors