- Windows Defender is the first line of defence against virus and malware. Please read our article below for plenty of solutions regarding your problem.
- Your computer must be protected so read our articles about antivirus software to choose the proper solution for you.
- Make sure you bookmark our Windows Defender category because there you will find an extensive collection of articles about Windows Defender..
- Visit our Windows 10 errors hub for more issues and solutions.
More and more Windows Defender users are reporting they can’t turn on Microsoft’s built-in antivirus program due to various errors: some of them can’t install the latest updates, while others can’t get the software to perform a quick scan.
Today, we’re adding a new issue on the list, as many users have reported they can’t turn on the real-time protection feature in Windows Defender due to An unexpected problem occurred error.
There is no particular error code for this error, only a pop-up window asking users to install the latest updates.
Windows Defender offers solid protection, but many users reported An unexpected problem occurred while trying to start the tool.
There are other issues that can affect Windows Defender and these are some of the most common ones:
- Windows Defender unexpected error sorry we ran into a problem – Sometimes you might get this error message while trying to start Windows Defender. If this happens, be sure to remove all files associated with your antivirus and check if that solves the problem.
- Windows Defender security center not working – If you encounter this issue, the problem might be your services, so be sure to reset them and check if that helps.
- Windows Defender unexpected error please try again – This is another common problem that can occur in Windows 10. If you encounter this problem, be sure to update Windows 10 and check if that solves the issue.
- Windows Defender keeps stopping – Many users reported that Windows Defender keeps stopping on their PC. If you encounter this problem, be sure to check your registry.
For the time being, Microsoft’s Support engineers haven’t replied to this thread, and we couldn’t find a specific solution for this error either.
Fortunately, there are some general workarounds available to fix common Windows Defender issues, and we suggest you try them out.
Maybe one of the workarounds listed below can solve this issue.
How can I fix An unexpected problem occurred error?
1. Use antivirus specific removal tools
Completely uninstall your old antivirus programs using these antivirus removal tools. Download and run the tool available for the antivirus you used before installing Windows Defender.
Then restart your computer and Windows Defender should be able to install the latest updates.
In addition to antivirus removal tools, you can also use uninstaller applications for this job. If you’re not familiar, uninstaller apps are specially designed to uninstall any program and remove all its files and registry entries from your PC.
By using this tool, you’ll completely remove any application from your PC along with any leftover files. As a result, you will prevent any remnant files from interfering with Windows Defender.
The best part is that there is a generous 60-day money-back guarantee feature included, so you will have plenty of time to convince yourself of its usefulness absolutely risk-free.
There is even a lightweight, portable version that does not require any downloading, and you can simply store it on a USB flash drive and use it directly from there on any PC.
Let’s quickly look at its key features:
- Safely uninstall all apps without leaving any leftovers (extended scanning for leftovers)
- Quick/Multiple Uninstall and Forced Uninstall features
- 8 bonus cleaning tools included
- Browsers Extensions manager to securely remove dubious extensions
- Real-Time system monitoring
- 60 Days Money-Back Guarantee
Revo UninstallerUninstall, remove software leftovers, and sanitize your system with a powerful all-in-one tool!
2. Clean boot your computer
Third-party applications can sometimes interfere with Windows Defender and cause An unexpected problem occurred error message to appear.
This can be caused by third-party startup applications, and in order to fix this issue, you need to perform a Clean boot. This is rather simple and you can do it by following these steps:
- Press Windows Key + R and enter msconfig. Now press Enter or click OK.
- System Configuration window will now appear. Go to the Services tab and check Hide all Microsoft services. Now click Disable all button.
- Now go to the Startup tab and click Open Task Manager.
- Once the Task Manager opens, you’ll see a list of startup applications. Right-click the first entry on the list and choose Disable from the menu. Repeat this step for all startup applications on the list.
- After you disable all startup applications, close Task Manager, and go back to System Configuration window. Click Apply and OK and restart your PC.
Once your PC restarts, check if the problem still persists. If not, it means that one of the disabled apps or services was causing it.
If you want to find out which app is the problem, disable apps and services one by one or in groups, save changes, and restart your PC.
Keep in mind that you’ll have to repeat this several times. Once you find the problematic application, you can disable it or remove it from your PC.
3. Check your system files
The System File Checker tool repairs corruption in system files.
Use this tool to verify whether Windows Defender is corrupted or not, which could explain why you receive the An unexpected problem occurred error message.
To perform an SFC scan, you just need to do the following:
- Press Windows Key + X to open Win + X menu and choose Command Prompt (Admin) or PowerShell (Admin) from the menu.
- Type the command sfc /scannow > hit ENTER > wait for the scan to complete.
If the SFC scan doesn’t solve the problem, or if you can’t run an SFC scan at all, you might be able to fix the issue by using DISM scan instead. To do that, just do the following:
- Start Command Prompt as administrator.
- When Command Prompt starts, enter
DISM /Online /Cleanup-Image /RestoreHealthand press Enter to run it. DISM scan will now start. Keep in mind that the DISM scan can take up to 30 minutes, so don’t interrupt it.
Once the DISM scan is finished, check if the problem still persists.
If the issue is still present, or if you couldn’t run an SFC scan before, be sure to repeat the SFC scan once again and check if that fixes the problem.
4. Restart the Security Center Service
According to users, sometimes certain services can cause An unexpected problem occurred error to appear.
However, this is just a temporary problem and you can fix it simply by resetting the problematic service. To do that, you just need to follow these steps:
- Press Windows key + R > launch Run.
- Type services.msc > hit Enter.
- In Services, search for Security Center.
- Right-click on Security Center > click on Restart.
In addition to the Security Center service, some users are also recommending to reset Windows Defender Service, so be sure to do that as well.
After resetting the required services, check if the problem still persists.
5. Make sure that your Windows is up to date
Windows Defender is a core component of Windows 10, and if you’re getting An unexpected problem occurred error message, you might be able to fix the problem simply by updating your Windows.
By default, Windows 10 will automatically install the missing updates, but sometimes you might miss an update due to certain bugs.
However, you can always check for updates manually by doing the following:
- Press Windows Key + I to open the Settings app.
- Now go to the Update & Security section.
- Click Check for updates button in the right pane.
Windows will now check for available updates and download them in the background. Once the updates are downloaded, they will be installed automatically as soon as you restart your PC.
Keeping your PC up to date is important, and if you’re having problems with Windows Defender, be sure to update Windows and check if that solves the issue.
6. Make changes to your registry
According to users, if Windows Defender is giving you An unexpected problem occurred error, you might be able to fix it simply by changing your registry. To do that, you just need to follow these simple steps:
- Press Windows Key + R and enter regedit. Now press Enter or click OK.
- When Registry Editor opens, in the left pane navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsof\tWindows Defender. In the right pane, double-click DisableAntiSpyware DWORD. If this value isn’t available, you’ll need to create it by right-clicking the empty space and choosing New > DWORD (32-bit) Value.
- Set the Value data to 0 and click on OK to save changes.
After doing that, the problem with Windows Defender should be resolved and you should be able to use it without any problems.
An unexpected problem occurred error can prevent you from running Windows Defender, but as you can see, this issue can be easily resolved.
Not being able to use Windows Defender can be a security risk, but we hope that you managed to solve this problem using one of our solutions.
FAQ: Read more about Windows Defender
- Why Windows Defender is not working?
- Why can’t I turn off Windows Defender?
- How do I reinstall Windows Defender?
You probably disabled it or turned it off, not uninstalled it. If you can’t turn it on, read our expert guide on how to solve this problem.
Editor’s Note: This post was originally published in May 2018 and has been since revamped and updated in July 2020 for freshness, accuracy, and comprehensiveness.