Fix: MSRPC STATE VIOLATION error in Windows 10

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Affiliate Disclosure
Share this article:

To fix various PC problems, we recommend DriverFix: This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

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.


Table of contents:

  1. Install the latest Windows 10 updates and download the latest drivers
  2. Run the Hardware Troubleshooter
  3. Run the SFC scan
  4. Run DISM
  5. Remove / reinstall your antivirus software
  6. Perform a clean boot
  7. Reset Windows 10
  8. 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:

  1. Press Windows Key + X on your keyboard to open Power User Menu and select Device Manager from the list.
  2. When Device Manager opens, locate the driver that you want to update, right click it and choose Update Driver Software.
  3. Click Search automatically for updated driver software and wait for Windows 10 to install the suitable driver.
  4. 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:

  1. Download and install TweakBit Driver Updaterdriver updater starting window
  2. 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.
    scanning proccess of Tweakbit driver updater
  3. 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.
    Automatically Update complete
    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:

  1. Open the Settings app and go to Update & Security section.
  2. Select Troubleshoot from the menu on the left.
  3. Select BSOD from the right pane and click Run the troubleshooter.
  4. 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:

  1. Right-click on the Start Menu button, and open Command Prompt (Admin).
  2. Enter the following line and press Enter: sfc/scannow
  3. Wait until the process is done (it may take a while).
  4. If the solution is found, it will automatically be applied.
  5. 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
  1. Right-click Start and open Command Prompt (Admin).
  2. Paste the following command and press Enter:
      • DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait until the scan is finished.
  4. Restart your computer and try updating again.
  • With the Windows installation media
  1. Insert your Windows installation media.
  2. Right-click the Start menu and, from the menu, choose the Command Prompt (Admin).
  3. In the command line, type the following commands and press Enter after each:
    • dism /online /cleanup-image /scanhealth
    • dism /online /cleanup-image /restorehealth
  4. Now, type the following command and press Enter:
    • DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
  5. Make sure to change an X value with the letter of the mounted drive with Windows 10 installation.
  6. 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:

  1. Press Windows Key + R and enter msconfig. Press Enter or click OK.
  2. When System Configuration window opens, select Selective startup and uncheck Load startup items.
  3. Go to Services tab and check Hide all Microsoft services. Click the Disable all button.
  4. Click Apply and OK to save changes.
  5. Now start Task Manager by pressing Ctrl + Shift + Esc.
  6. When Task Manager opens go to Startup tab.
  7. Right click every item on the list and choose Disable from the menu.
  8. 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:

  1. Restart your computer few times during the boot sequence to start Automatic Repair.
  2. 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.
  3. Choose Only the drive where Windows is installed > Just remove my files.
  4. 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.

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.


Editor's Note: This article was originally published in June 2016 and was revamped and updated in August 2020 for freshness, accuracy, and comprehensiveness.
Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!