Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»What Is DRIVER VERIFIER? How To Use It To Troubleshoot Driver Issues

What Is DRIVER VERIFIER? How To Use It To Troubleshoot Driver Issues

Anup ThapaBy Anup ThapaSeptember 1, 2022
driver verifier

Driver Verifier is a Windows tool used to monitor and stress drivers to detect any unintended behavior. It’s a tool meant to be used on development systems by driver developers rather than on production systems by normal users. In fact, Microsoft cautions users to do the same.

However, you’ll often see users on forums being advised to use Driver Verifier to troubleshoot driver issues and BSODs. So, what’s the reality? Is Driver Verifier safe to use, and should you use it on your system? We’ve attempted to answer these and similar queries in this article.

Table of Contents

  • What Is Driver Verifier? Should You Use It?
  • How to Use Driver Verifier?
    • Generate Bug Check
    • Analyze Minidump File
    • Reset Driver Verifier
    • Resolve Driver Issues

What Is Driver Verifier? Should You Use It?

Windows NT Device Drivers use kernel mode structures called I/O request packets (IRPs) to communicate with the OS and each other. The Driver Verifier monitors these IRPs and checks for IRP assignment and completion errors.

The Driver Verifier allows you to put drivers through heavy stress loads by simulating certain conditions like low memory, pool tracking, or deadlock detection. You can recreate potential errors by forcing drivers to work with minimal resources and use the generated dumps to analyze and debug the problem.

As stated, this is generally done in test environments when developing the drivers. But sometimes, you’ll have to run the Driver Verifier on production machines. And there arises the question, is that even safe?

Well, it’s complicated. First of all, Microsoft has explicitly cautioned against trying to verify all drivers at once as this would severely degrade performance, limit the effectiveness of the verifier, and pretty much make the system unusable. And yet, this is how most users use the Driver Verifier.

But it’s also true that in rare cases, even if you use the Driver Verifier properly, you could still get stuck in a Driver Verifier bugcheck loop. Essentially, it could cause more crashes than it solves. But like we said, this is highly unlikely to happen if proper procedure is followed

Ultimately, our verdict is that you should only use this on production machines if you’ve already tried other debugging tools with no success.

How to Use Driver Verifier?

Driver Verifier is included by default on most Windows versions and can be run with the verifier command. But before you run it, there are a few things worth noting first:

  • You should be in the Administrators group to use Driver Verifier.
  • It’s recommended to only test non-Microsoft drivers.
  • You should only test one or a few drivers at once. Running driver verifier against all drivers at once is not recommended.
  • You should ensure memory dump creation is enabled.
  • You should create a system restore point before running the Driver Verifier.
  • When testing the drivers, it’s best to start with any recently installed or updated ones, ones with problematic history, or any others that you suspect.

Generate Bug Check

For maximal effectiveness, Microsoft recommends setting up network debugging. But this isn’t feasible for most users, and regardless of whether you set up the debugging session or not, the steps to follow on the target (crashing) computer are the same:

  1. Press Win + R, type verifier, and press Enter.
  2. You have two options with the Driver Verifier Manager.
    create standard settings driver verifier settings
    • If you suspect there is a specific reason for your driver issues, like, let’s say, memory corruption, you could select Create Custom Settings (for code developers), and you could select particular tests like Special Pool.
    • Otherwise, you could select Create standard settings for the default tests.
    • When selecting custom settings, there are a few things worth noting. As Randomized low resources simulation has a possibility of causing unrelated crashes, this test is not included in most cases. You can instead go with Systematic low resources simulation.
    • Some commonly included tests include Pool Tracking for memory leaks, I/O Verification to check for illegal I/O routines, Deadlock Detection to check for deadlock potential, Security Checks to check for security vulnerabilities, etc. We recommend referring to Microsoft’s Driver Verifier Options documentation for the full list and description of the options.
      options in driver verifier
  3. After specifying the test, pick Select driver names from a list.
  4. Select the driver/s that you suspect and press Finish.
    driver-verifier-drivers-to-verify
  5. Restart your computer and use your system as usual.
  6. The system performance will likely be affected during this time, but it’s intended. After Driver Verifier detects a violation, it will generate a bug check.
    driver verifier detected violation bugcheck
  7. Now, you should restart and analyze the dump files to determine the root of the problems and reset the Driver Verifier afterward.
Note: If you want to be efficient, you can also run Driver Verifier via the command line if you want. For instance, the following command runs it with default settings on a driver called TestDriver.sys:
verifier /standard /driver TestDriver.sys

Analyze Minidump File

You can use debugging tools like WinDbg or KD to analyze the dump files and figure out the faulty drivers. In either case, for the CLI methods, you’ll first want to append the symbol path to point to the Microsoft symbol store. 

This will allow the debugger to automatically retrieve the correct symbol files without requiring information like product names, releases, or build numbers from you. You can do this with the .symfix command as such:
.symfix[+] [LocalSymbolCache]

sympath

We’ve done the same and confirmed that it worked by using the .sympath command in the shown example. Do note that internet access is required for this to work.

KD

With KD, you can use the kd -y SymbolPath -i ImagePath -z DumpFileName command in CMD to open the dump file. At the KD prompt, you can use !analyze -v to analyze the dump file and !verifier to display the Driver Verifier stats.

WinDbg

In the case of WinDbg, you can do the same with windbg -y SymbolPath -i ImagePath -z DumpFileName. Alternatively, you can also use the WinDbg Preview app via the GUI as such:

  1. Install and launch the WinDbg tool.
  2. Press CTRL + D, then browse and open the .dmp file.
    open dump file
  3. Select View > Command and enter !analyze -v.
    windbg analyze
  4. After the analysis is done, check the MODULE_NAME and Probably caused by sections.
  5. As you likely have multiple dump files, analyze the rest in the same manner to determine the culprit.

Reset Driver Verifier

Driver Verifier consumes a significant amount of resources when stress-testing the drivers in the background. If you don’t reset it after using it, your system performance will stay degraded, and you’ll continue to face crashes due to the bug checks. 

As such, you’ll want to reset it by launching the Driver Verifier Manager as before and selecting Delete existing settings. Alternatively, you could also use the verifier /reset command in CMD.

verifier reset

If you’re unable to disable it due to direct crash upon booting, you can boot into safe mode and disable it from there. Assuming you followed our recommendations, Driver Verifier should only be running against non-Microsoft drivers, which won’t be running in safe mode, meaning you should be able to boot without crashing.

In case this isn’t an option either, you can boot from a Windows Installation Media or Recovery Drive and use system restore to revert your PC to a working state.

Resolve Driver Issues

Once you’ve singled out the problematic driver, you can take the appropriate steps, whether that be updating it, rolling back, or uninstalling entirely.

how-to
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

Shared GPU Memory

What is Shared GPU Memory? How is It Different From Dedicated VRAM?

March 12, 2023
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
update sound drivers

How to Update Sound Drivers on Windows

March 7, 2023
nvidia-users-account-is-locked

Fixed: NVIDIA Users Account is Locked

March 7, 2023
windows-failed-to-start

Fixed: Windows Failed to Start A Recent Hardware or Software Change Might Be The Cause

March 7, 2023
computer-wont-shut-down

Computer Won’t Shut Down? Here’re 8 Ways to Fix It

March 5, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Shared GPU Memory

What is Shared GPU Memory? How is It Different From Dedicated VRAM?

March 12, 2023
c drive vs d drive

C Drive Vs D Drive – What’s the Difference?

March 12, 2023
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
You may also like
surface serial number lookup

5 Ways to Check Serial Number on Surface Laptop

March 13, 2023
hp-printer-yellow-light

How to Fix HP Printer Yellow Light

March 12, 2023
asus-monitor-hdmi-no-signal

ASUS Monitor HDMI No Signal? Here’re 8 Ways to Fix It

March 12, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.