Fix: MSRPC_STATE_VIOLATION error in Windows 10
Blue Screen of Death errors can be quite serious, therefore it’s important to know how to properly fix them. Since BSoD errors can cause many problems, today we’re going to show you how to fix MSRPC_STATE_VIOLATION error on Windows 10.
How to fix MSRPC_STATE_VIOLATION BSoD error
Table of contents:
- Install the latest Windows 10 updates and download the latest drivers
- Run the Hardware Troubleshooter
- Run the SFC scan
- Run DISM
- Remove / reinstall your antivirus software
- Perform a clean boot
- Reset Windows 10
- Check for faulty hardware
Fix – MSRPC_STATE_VIOLATION Windows 10 error
Solution 1 – Install the latest Windows 10 updates and download the latest drivers
Blue Screen of Death errors can be caused by both hardware and software issues, and in order to prevent these errors from appearing, it’s important that you install the latest Windows 10 updates. Microsoft is frequently releasing new updates, and many of these updates bring new features, security improvements and many bug fixes related to both hardware and software. To download the latest updates, be sure to use Windows Update tool.
Windows updates are important for you system stability and safety, but it’s also important that you download the latest drivers. Windows 10 relies heavily on drivers in order to recognize and work with your hardware, and if certain driver is outdated, corrupted or just not compatible with Windows 10, your PC won’t be able to use the hardware that is associated with that driver. To fix this error, it’s recommended that you update your drivers, and you can do that simply by following these steps:
- Press Windows Key + X on your keyboard to open Power User Menu and select Device Manager from the list.
- When Device Manager opens, locate the driver that you want to update, right click it and choose Update Driver Software.
- Click Search automatically for updated driver software and wait for Windows 10 to install the suitable driver.
- Repeat these steps for all drivers that you want to update.
Although updating drivers by using Device Manager is fairly simple, many users are complaining that Device Manager doesn’t always download the latest drivers. If you want to download the latest drivers for your hardware, you’ll have to download them manually. To download your drivers manually just visit your hardware manufacturer’s website and download the latest driver for your device.
Update drivers automatically
Searching for drivers on your own can be time-consuming. So, we advise you to use a tool that will do this for you automatically. Using an automatic driver updater will certainly save you from the hassle of searching for drivers manually, and it will always keep your system up to date with the latest drivers.
Tweakbit’s Driver Updater (approved by Microsoft and Norton Antivirus) will help you update drivers automatically and prevent PC damage caused by installing the wrong driver versions. After several tests, our team concluded that this is the best-automatized solution.
Here is a quick guide on how to use it:
- Download and install TweakBit Driver Updater
- Once installed, the program will start scanning your PC for outdated drivers automatically. Driver Updater will check your installed driver versions against its cloud database of the latest versions and recommend proper updates. All you need to do is wait for the scan to complete.
- Upon scan completion, you get a report on all problem drivers found on your PC. Review the list and see if you want to update each driver individually or all at once. To update one driver at a time, click the ‘Update driver’ link next to the driver name. Or simply click the ‘Update all’ button at the bottom to automatically install all recommended updates.
Note: Some drivers need to be installed in multiple steps so you will have to hit the ‘Update’ button several times until all of its components are installed.
Solution 2 – Run the Hardware Troubleshooter
If updating your drivers didn’t resolve the problem, we’re going to use Windows 10’s troubleshooting tools. The first tool we’re going to use is the built-in troubleshooter that can be found in the Settings app. You can use this tool to resolve all sorts of issues within the system, including BSODs.
To run Windows 10’s built-in troubleshooter, follow these instructions:
- Open the Settings app and go to Update & Security section.
- Select Troubleshoot from the menu on the left.
- Select BSOD from the right pane and click Run the troubleshooter.
- Follow the instructions on the screen to complete the troubleshooter.
Solution 3 – Run the SFC scan
The SFC scan is another troubleshooting tool we’re going to try. This is a command-line scanning tool that scans your computer for potential issues, and resolves them along the way. A lot of users have reported that the SFC scan can be useful when dealing with BSOD issues in Windows 10.
Here’s how to run the SFC scan in Windows 10:
- Right-click on the Start Menu button, and open Command Prompt (Admin).
- Enter the following line and press Enter: sfc/scannow
- Wait until the process is done (it may take a while).
- If the solution is found, it will automatically be applied.
- Now, close the Command Prompt and restart your computer.
Solution 4 – Run DISM
And the third troubleshooter we’re going to try is DISM. DISM stands for Deployment Image Servicing and Management, and as its name says, it reloads the system image, which can lead to solving potential BSOD issues.
We’ll walk you through both standard and the procedure that utilizes the installation media below:
- Standard way
- Right-click Start and open Command Prompt (Admin).
- Paste the following command and press Enter:
- Wait until the scan is finished.
- Restart your computer and try updating again.
- With the Windows installation media
- Insert your Windows installation media.
- Right-click the Start menu and, from the menu, choose the Command Prompt (Admin).
- In the command line, type the following commands and press Enter after each:
- dism /online /cleanup-image /scanhealth
- dism /online /cleanup-image /restorehealth
- Now, type the following command and press Enter:
- DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
- Make sure to change an X value with the letter of the mounted drive with Windows 10 installation.
- After the procedure is finished, restart your computer.
Solution 5 – Remove / reinstall your antivirus software
Antivirus software is important for your online safety, but sometimes antivirus programs can cause MSRPC_STATE_VIOLATION error to appear. According to users, AVG is the cause for this error, but bear in mind that almost any other antivirus software can cause these types of errors to appear, so be sure to remove all third-party antivirus software that you have installed. Uninstalling the antivirus program might not be enough, since many of these programs tend to leave certain files behind even after you remove them, therefore we advise you to use a dedicated removal tool. Almost all antivirus companies offer dedicated removal tools for their software, so be sure to download one of these tools for your antivirus.
After you remove your antivirus, Windows Defender will automatically turn itself on, thus keeping your computer protected from viruses. If the problem is fixed by removing your antivirus software, we advise you to install the latest version of the antivirus program that you were using before, or to switch to a different antivirus solution.
Solution 6 – Perform a clean boot
Third-party applications can often cause MSRPC_STATE_VIOLATION error, and in order to fix this error, it’s recommended that you find and disable the problematic applications. Easiest way to do that is perform clean boot, and you can do that by following these steps:
- Press Windows Key + R and enter msconfig. Press Enter or click OK.
- When System Configuration window opens, select Selective startup and uncheck Load startup items.
- Go to Services tab and check Hide all Microsoft services. Click the Disable all button.
- Click Apply and OK to save changes.
- Now start Task Manager by pressing Ctrl + Shift + Esc.
- When Task Manager opens go to Startup tab.
- Right click every item on the list and choose Disable from the menu.
- After you’ve disabled all startup applications close Task Manager and restart your PC.
When your computer restarts check if the error still persists. If the error doesn’t manifest, it means that one of the disabled applications or services was causing it. To find the problematic application you need to repeat the same steps and enable services and applications one by one until you find the one that is causing this problem.
Solution 7 – Reset Windows 10
If MSRPC_STATE_VIOLATION error is caused by software, you should be able to fix it by performing Windows 10 reset. This procedure will delete all files and folders from your C partition, therefore we urge you to back up your important files. To perform Windows 10 reset, you might need a bootable USB flash drive, so be sure to create one. To reset Windows 10, do the following:
- Restart your computer few times during the boot sequence to start Automatic Repair.
- Choose Troubleshoot > Reset this PC > Remove everything. During this step you might get asked to insert Windows 10 installation media, so be ready to do that.
- Choose Only the drive where Windows is installed > Just remove my files.
- Follow the instructions to complete the reset process.
After the reset is completed, you should have a clean installation of Windows 10 without any third-party applications. If the error appears again, it means that there’s a hardware problem with your PC.
Solution 8 – Check for faulty hardware
Hardware components can often cause BSoD errors, especially if they aren’t compatible with your PC, therefore we advise you to remove any recently installed hardware. If the problem isn’t new hardware, then you should check for faulty components. Many users reported that faulty hard drive caused this error, so check your hard drive first and then check all other hardware components.
If you’re having issues with your hardware or you simply want to avoid them for the future, we recommend you to download this tool to fix various PC problems, such as hardware failure, but also file loss and malware.
MSRPC_STATE_VIOLATION Blue Screen of Death error isn’t that serious, and we hope that you managed to fix this error by using one of our solutions
Editor’s Note: This post was originally published in June 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
- Fix: IRQL_UNEXPECTED_VALUE error on Windows 10
- Fix: UNMOUNTABLE_BOOT_VOLUME error on Windows 10
- Fix: Side-by-Side Configuration Error in Windows 10
- Fix Error Code ‘0xc004e016’ in Windows 10
- Fix: “Your Device Will Be Genuine Shortly” Error On Windows 10
Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]
The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]