The error “ATTEMPTED_SWITCH_FROM_DPC” usually occurs when the computer abruptly shuts down while operating due to a number of different reasons. Most of them usually trace back to hardware issues with your memory or hard drive. Other than these, drivers are also one of the leading causes.
This error is caused by delayed procedure call (DPC) routine that attempted to perform an illegal operation. The DPC is triggered when the kernel detects a hung condition and makes a call to terminate or interrupt a software. We have listed down a number of different workarounds known to solve this problem. Follow the solutions starting from the top.
Solution 1: Uninstalling Acronis
Acronis is a software which provides cloud services for backup and disaster recovery. It also contains other features such as secure file sync, sharing, and data accesses. It is a very useful product used by thousands of different users. However, many users reported that Acronis was the problem why they were experiencing the BSOD again and again. It seems that Acronis is not compatible with many versions of Windows due to its old version of the software. We can try uninstalling Acronis and check if this solves the problem. Feel free to try updating the problem if you don’t want to uninstall the application.
- Press Windows + R, type “appwiz.cpl” and press Enter.
- Once in program and features, lookup Acronis and all related software. Right-click it and select uninstall.
- Restart your computer and check if the problem at hand got solved.
Solution 2: Checking your RAM
If you don’t have Acronis or if it isn’t causing the problem, we should check if your RAM is functioning properly. RAM (Random Access Memory) is a core part of your machine and if there is a problem with it, it may be the reason why you are getting this BSOD.
- Press Windows + R to launch the Run application. Type “mdsched.exe” in the dialogue box and press Enter.
- A Windows Memory Diagnostic window will pop up. Now you have two options, either Restart now and check for the problem or check for problems that next time your computer start.
- After the restart, you might see a window like this. Let the process run completely and do not cancel at any step. If you see the progress stuck, don’t worry. The computer will restart itself after the check is complete.
After the test is completed, the results of your memory test should automatically be displayed in front of you. It will contain all the details through which you can determine if your RAM is at fault. If the results don’t show up, follow the instructions below to check manually.
- Press Windows + R, type “eventvwr.msc” and press Enter.
- Now navigate to the following file path:
Windows Logs > System
Click on “Find” present in the right navigation pane.
- Type “MemoryDiagnostic” in the search box and search for the event entries. If after analyzing the event you determine there are some drivers at fault or there is some error, it means that you have a problematic RAM. Consider plugging the RAM to a different DIMM and check.
Solution 3: Checking Drivers for Errors and Updating them
We can use a tool developed by Microsoft to check for unusual behavior of the system and the hardware. In many cases, illegal actions of some system modules or the hardware can lead to the BSOD under discussion. Furthermore, if any driver is of incorrect configuration, this might be the problem. Do note that during this process, your system might crash so make sure that all your data is backed up safely. You can also create a restore point just in case.
Note: There were many reports that a Synaptics driver was at fault and updating it solved the problem. Make sure that you attend to each driver one by one and attend them accordingly. It is enough for your system to crash just because of a single bad driver. There were also similar reports regarding a Nvidia driver.
- Press Windows + S, type “command prompt”, right-click on the application and select “Run as administrator”.
- Once in elevated command prompt, execute the following command:
- Select “Create standard settings” and press “Next” to proceed.
- Select “Automatically select all drivers installed on this computer” and click “Finish”. Now Windows will scan for errors. Make sure that you have backed up all your progress before proceeding. A prompt will come forward for you to restart your computer. Restart your computer.
- Windows will scan all the drivers upon the next restart. Wait patiently if the process consumes too much time. Once the process is complete, the computer will be restarted automatically. If it finds any driver, it will notify you and you can attend to it.
We can try updating the drivers automatically using the Windows Update (the first option when you click on “update drivers”). However, to be completely sure that you have updated the latest ones, download each driver from the manufacturer’s website and update them manually.
- Press Windows + R to launch the Run Type “devmgmt.msc” in the dialogue box and hit Enter. This will launch your computer’s device manager.
- Here all the installed devices on your computer will be listed. You should check updates for all the drivers present on your computer.
- Click on the Display adapters dropdown to see your installed display card. Right click on it and select “Update driver”.
- Now Windows will pop a dialogue box asking you which way do you want to update your driver. Select the first option (Search automatically for updated driver software) and proceed. If you are unable to update the drivers, you can head over to your manufacturer’s site, download the drivers manually and select the second option.
- Update all your drivers before restarting your computer. After restarting, check if the problem is solved.
Solution 4: Checking your hard drive
Another issue due to which this error might emerge is because of bad sectors on your hard drive. It is possible that there are some discrepancies present due to which your Windows crashes every time it tries to access the information supposed to be contained in those sectors. We can try running the hard drive diagnostics and check if this helps.
Note: If you are using an SSD and HDD side by side, it is worth considering that they might be causing the problem. Many users reported that if your Windows is installed on an SSD, removing the HDD solved the problem in many cases. It seems that bad sectors emerge whenever there are two different types of memory storage present. Try disconnecting your HDD and check if this solves anything (this applies to custom built computers, not laptops).
- Press Windows + S to launch the search bar. Type “command prompt”, right-click on the application and select “Run as administrator”.
- Once in elevated command prompt, execute the following command:
Windows will now start checking your hard drive and automatically try fixing the errors.
Note: If you experience a window like this, it means that the hard drive is currently in use (obviously, you are using the computer). Type “Y” and press Enter. Now restart your computer and upon the restart, the hard drive will be checked.
Solution 5: Running SFC Scan
This error might be generated because of bad configurations present on your computer. Whenever your computer comes across these errors it is unable to proceed with the operation of the operating system and hence crashes indefinitely. We can try running the SFC scan and check if there are any integrity violations. If there are, we can run the DISM command to fix them.
- Press Windows + R to launch the Run application. Type “taskmgr” in the dialogue box and hit Enter to launch your computer’s task manager.
- Now click on File option present at the top left side of the window and select “Run new task” from the list of options available.
- Now type “powershell” in the dialogue box and check the option underneath which states “Create this task with administrative privileges”.
- Once in the Windows Powershell, type “sfc /scannow” and hit Enter. This process may take some time as your entire Windows files are being scanned by the computer and being checked for corrupt phases.
- If you encounter an error where Windows states that it found some error but was unable to fix them, you should type “DISM /Online /Cleanup-Image /RestoreHealth” in the PowerShell. This will download the corrupt files from the Windows update servers and replace the corrupt ones. Do note that this process can also consume some time according to your internet connection. Don’t cancel at any stage and let it run.
Solution 6: Restoring from last Restore Point/ Doing a Clean Install
If all the above methods don’t work, we are left with no choice but to restore Windows to the last restore point. If you don’t have a last restore point, you can install a clean version of Windows. You can use the utility “Belarc” to get all your licenses saved, backup your data using external storage and then perform a clean install.
Here is the method on how to restore Windows from the last restore point.
- Press Windows + S to launch the start menu’s search bar. Type “restore” in the dialogue box and select the first program which comes in the result.
- Once in the restore settings, press System Restore present at the beginning of the window under the tab of System Protection.
- Now a wizard will open navigating you through all the steps to restore your system. Press Next and proceed with all the further instructions.
- Now select the restore point from the list of options available. If you have more than one system restore points, they will be listed here.
- Now windows will confirm your actions for the last time before it starts the system restore process. Save all your work and backup important files just in case and proceed with the process.
You can learn more about system restore to gain more knowledge about what it does and what are the processes involved.
- Once you have restored successfully, log into the system and check if the error at hand got fixed.
If you don’t have any restore points, you can do a clean install of Windows using bootable media. You check our article on how to create a bootable media. There are two ways: by using media creation tool by Microsoft and by using Rufus.
Note: Like we discussed at the start, this is a very generic error and might occur due to a number of different reasons. Mostly it is related to a faulty RAM, a bad hard drive, or bad drivers. Be very thorough and go through each check before proceeding with the next.
PRO TIP: If the issue is with your computer or a laptop/notebook you should try using the Reimage Plus Software which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage Plus by Clicking Here