Many users use the Driver Verifier to troubleshoot Blue Screen of Death (BSOD) errors. The Verifier stresses your drivers, forcing the weakest link to fail.
It causes a system crash, and you get the DRIVER_VERIFIER_DETECTED_VIOLATION error. The crash creates a minidump file which you should then analyze to determine the reason for the BSOD.
But sometimes, your system keeps on looping the Driver Verifier BSOD crash. Or you may not have turned the Verifier off after using it, resulting in frequent crashes.
Causes of Driver Verifier Detected Violation Error
This error message indicates that one of your drivers is malfunctioning. Some of the probable causes of the error are:
- Outdated or corrupt drivers.
- Interference by third-party drivers.
- Issues with RAM.
- Incompatibility of device drivers with BIOS.
- Driver Verifier running unnecessarily.
Fixes for Driver Verifier Detected Violation Error
Normally, you run the Driver Verifier while troubleshooting other BSOD errors. So, make sure to troubleshoot those issues as well.
For the DRIVER_VERIFIER_DETECTED_VIOLATION error, execute the possible solutions we have provided below.
Note: Most of these solutions require you to log in to your account. If you are facing BSOD startup loop, try running startup repair. If it doesn’t work, reset Driver Verifier using a recovery disk and execute the methods below.
Remove External Hardware
Using the Driver Verifier when connected to external hardware causes many problems. Make sure to unplug all the peripherals before running the Verifier.
Update all Drivers and Windows OS
The main reason for running the Driver Verifier is to detect faults in your drivers. You should be able to find the exact cause by looking through the crash minidump file.
But before that, it’s better to update all your drivers, especially the graphics drivers. Updating Windows also updates Microsoft drivers while introducing new system features. So, we recommend installing updates as soon as they are available.
Many users have experienced this error after updating certain drivers. Third-party graphics drivers are especially known to cause this issue. To resolve it, roll back the drivers to their previous versions using the steps below:
- Open Run command (Win + R) and enter
- Expand to your device.
- Right-click on the driver and select Properties.
- Go to the Driver tab.
- Click Roll Back Driver.
You can also install the previous driver version from the manufacturer’s website.
We also have a detailed atricle on how to properly roll back NVIDIA drivers. You will definetely find it helpful if you use NVIDIA graphics card.
Check Minidump File
BSOD crashes create a minidump file in the
%windir%\Minidump directory. You can analyze the file using a debugger to figure out the software responsible for the crash.
Note: Analyzing minidump files takes a lot of time. So, we recommend seeking help from the Microsoft Support forum. The advisors will analyze the file and point you in the right direction.
To analyze the minidump crash file,
- Install the Microsoft WinDbg Preview app.
- Search for
WinDbgon the search bar.
- Right-click on WinDbg Preview and choose Run as administrator.
- Press Ctrl + D and navigate to
- Select the minidump file and click Open.
- After opening the file, type
!analyze -von the command line below and press Enter.
- After the analysis completes, search for MODULE_NAME and probably caused by to determine the culprit.
If you don’t recognize the files, you can always search the internet to get more information. Also, keep in mind that sometimes the accused program may actually be innocent. Other software often conflicts with such programs. Examine the processes surrounding the error code to determine the actual software responsible for the issue.
Then you can repair or remove the responsible drivers or other software to fix this issue.
Run Windows Memory Diagnostics
More often than not, this error occurs when a driver can’t allocate or free system memory. A faulty RAM may be responsible for this issue. To check RAM defects,
- Open the Run dialog box and enter
mdsched.exe. It loads the Windows Memory Diagnostic.
- Click on Restart now and check for problems.
Use your PC normally after a reboot. After Memory Diagnostics finishes the test, it will restart your PC and display the result. If you miss it, you can also find it on the Event Viewer.
An error indicates that either the RAM stick or slot is defective. We recommend you seek help from a hardware specialist to repair or replace the faulty hardware.
Reset Driver Verifier
You receive the DRIVER_VERIFIER_DETECTED_VIOLATION error only when the Verifier is running in your system. If you never wanted to run this utility, you should disable it. You can do so by resetting the existing setting for the Verifier by following the steps below:
- Open the Run command and enter
- Check Delete existing settings and click Finish.
You can also enter
verifier /reset directly on the Run dialog box or Command Prompt.
If you can’t log in, boot in safe mode and reset the Verifier. Or you can use the Command Prompt from Windows Recovery Environment (WinRE).
If you can’t access WinRE from the usual method, make a recovery drive from another computer. Use it to boot your computer and on the install screen, select Repair to access the WinRE.
Reset or Update BIOS
The problems with the drivers can also occur because of improper BIOS configuration. Resetting BIOS to default settings should fix such issues.
If this error occurs due to new hardware, your BIOS likely doesn’t support the device. You can try updating your BIOS in this case.
But be advised that resetting/updating BIOS can cause many issues if done improperly. We recommend getting help from an expert just in case.
Restore/Reset your System
If you get stuck in a BSOD loop and none of the previous solutions were effective, this method is your last resort.
First, try restoring your system to a previous restore point or system image. If the error persists, reset your OS from Windows Recovery Environment.
Driver Verifier Detected Violation due to Vgk File
Vgk.sys is a file in the Riot Vanguard, the anti-cheat software for Valorant. Many users have reported they got a BSOD due to
vgk.sys. However, this is a false positive.
After much analysis, users finally found the BSOD happened due to other conflicting software. Notable examples include third-party antivirus or Corsair Unity Engine. The newest Vanguard patches fix this issue. So, update to the latest version.
We also recommend uninstalling the conflicting software to avoid other similar issues. In fact, there’s no real reason to use third-party antivirus. The built-in Windows Virus and threat protection is already a fantastic antivirus utility.
Can’t Find Minidump File
Your System Properties contains an option to create a dump file during crashes. But you may have disabled this setting unknowingly. Here’s how you can enable it:
systempropertiesadvancedin the Run command.
- Under Startup and Recovery, click on Settings.
- Set the dropdown box under Write debugging information to Automatic memory dump.
- Click Ok.