0x000000f7: How to Fix the Windows Blue Screen Error
The stop code 0x000000f7 is the DRIVER_OVERRAN_STACK_BUFFER bug check. It indicates that a driver has overrun a stack-based buffer, so the system stops to prevent further damage or control loss. The right next step is to identify the driver from the crash data and use that evidence to decide whether to roll it back, remove it, or inspect it further.
What 0x000000f7 means in Windows
DRIVER_OVERRAN_STACK_BUFFER is the Windows blue-screen label for 0x000000F7. A driver overran a stack-based buffer or local variable in a way that could overwrite the function’s return address, so Windows brought the system down to prevent a malicious user from gaining complete control of it.

The practical reading is simple. A kernel driver wrote where it should not have written, and Windows stopped the machine to limit damage. The best next step is evidence, not guesswork.
0x000000f7 decision table
| First symptom you see | Next best action | Tool to use | Stop and escalate when |
|---|---|---|---|
| Boot failure or boot loop | Enter Safe Mode, then disable Driver Verifier with verifier /reset if it was enabled | Safe Mode, verifier /reset | Windows still cannot boot after Safe Mode and verifier reset |
| Random BSOD after a driver update | Open the minidump, review the stack trace, then roll back or remove the driver tied to the crash | WinDbg, Device Manager | The same driver keeps crashing after rollback or clean removal |
| Crash with no minidump | Turn on Small memory dump, then repeat the same failed path | Startup and Recovery | No dump appears after another crash, or the failure is immediate at boot |
| Crashes continue after driver changes | Review the new dump in WinDbg and use the stack trace to confirm the driver at the top of the failure path | WinDbg, kb | The same stack trace keeps pointing to the same driver after rollback or removal |
Say your laptop crashes once right after a driver update. That points much more strongly to the changed driver than to a random setting, so rollback comes before other changes.
Suppose the PC never reaches the desktop after enabling Driver Verifier. That is a recovery problem, not a hunt for a new cause, and Safe Mode plus verifier /reset becomes the immediate path.
How do I find the driver that caused 0x000000f7?
Check the minidump in C:\Windows\Minidump first. Open it in WinDbg and use the kb command to get a stack trace. The last routine on the stack before the buffer overrun handlers and bug check call is the one that overran its local variable.
- Open the dump folder. In File Explorer, go to
C:\Windows\Minidump. If the folder is empty, set Windows to save small dumps under Startup and Recovery so the next crash leaves evidence. - Read the minidump. Open the dump in WinDbg and run kb to display the stack backtrace. Note the last routine shown before the buffer overrun handlers and bug check call.
- Match the software. Use the driver name from the stack trace to identify the related product or vendor. That tells you which installed driver to inspect first.
- Check for recent changes. Compare the crash time with the last driver update or install. If the driver changed right before the blue screen, rollback or removal is usually the right first fix.
A common first-timer mistake is to focus on the app visible on screen instead of the driver shown in the stack trace. The visible app may be innocent; the crash often comes from a lower-level kernel driver attached to storage, networking, or security software.
Likely causes
The driver stack is the first place to check because this bug check points to a driver overruning a stack-based buffer. Review recently changed drivers, especially kernel-mode components that were updated, replaced, or added shortly before the crash.
VPN and security filters
If the stack trace shows a security or networking filter driver, that is a likely place to investigate. These drivers can sit in the path of file, network, or security activity and are common candidates for rollback or removal when they are the ones named in the dump.
- Identify the product. Use the driver name from the stack trace to match the related VPN or security vendor.
- Remove the filter. Go to Settings > Apps > Installed apps in Windows 11, or Settings > Apps > Apps & features in Windows 10, then uninstall the related software.
- Roll back or replace it. If the software is needed, install a stable vendor release that matches your Windows version. If it is not needed, leave it removed and reboot.
Storage and disk encryption drivers
If the stack trace points to a storage or disk encryption driver, review that package next. Drivers in the storage path can affect boot, disk access, and resume, so they are worth checking when the dump points to them directly.
- Check recent installs. Review recent storage or encryption changes, including device security software and drive utilities.
- Uninstall the filter. Remove the related package from Settings > Apps, then restart to clear the driver from the boot path.
- Verify the result. If the crash stops, do not add the same package back until the vendor has a newer build tied to your Windows version.
Driver changes that need a rollback
If the crash began right after a driver update, the simplest fix is often to return to the previous version. A recent update gives you a concrete starting point, and Device Manager provides the standard rollback path.
- Open Device Manager. Right-click Start, select Device Manager, and find the device tied to the driver name from the dump.
- Roll back the driver. Open Properties, choose the Driver tab, and select Roll Back Driver if the button is available.
- Restart and retest. Reboot the PC and try the same task or boot path that previously triggered the crash.
How do you fix the driver?
Start with the change that came closest to the crash. If the blue screen followed a driver update, rollback first. If the offending package is optional, remove it cleanly. If it is required, install the vendor’s stable version only after you have the dump evidence.
- Roll back a recent update. Open Device Manager, locate the device tied to the driver name from the dump, open Properties, and use Driver > Roll Back Driver if available.
- Uninstall the driver package. In Device Manager, choose Uninstall device, and if offered, select the option to remove the driver software. This helps when the package is the likely offender and the system can live without it for now.
- Install a stable build. If the device is required, install the vendor’s known-good release that matches your Windows version. Keep the restart, then retest the exact path that failed before.
- Use Safe Mode. If normal boot fails, enter Safe Mode first, then do the uninstall or rollback there. Safe Mode reduces driver load and gives you a recovery path when the bad package blocks startup.
Keep the change small. If the crash disappears after removing one product, do not stack several fixes at once, because that hides which action actually worked.
How do I use Driver Verifier to identify the bad driver?
Use Driver Verifier only after a normal dump review is inconclusive. It can help isolate a problematic third-party driver by forcing the failure to happen under stress, but it can also make a working system unbootable.
- Open Driver Verifier. Run verifier from an elevated Command Prompt.
- Select the drivers to test. Choose custom settings and target the non-Microsoft drivers you want to check.
- Reproduce the crash. Use the PC until the new failure appears, then read the new dump. Use kb again to inspect the stack trace and compare it with the earlier crash.
- Reset Verifier. If the test is done or boot becomes unstable, run verifier /reset from an elevated Command Prompt.
If Driver Verifier breaks booting, enter Safe Mode first. From there, run verifier /reset, restart, and check whether Windows starts normally again.
0x000000f7 recovery repair
SFC and DISM are worth using when the system also shows signs of damaged Windows components. They can repair Windows files, but they will not fix a driver that overruns a stack-based buffer. Use standard repair steps only when the dump review points beyond a single driver change.
- Run SFC. Open an elevated Command Prompt and run
sfc /scannow. This checks protected system files and replaces damaged copies when Windows can repair them. (Microsoft Support) - Run DISM. In the same elevated window, run
DISM /Online /Cleanup-Image /RestoreHealth. This repairs the Windows image that SFC depends on. - Check the driver path again. After repairs finish, review the dump and stack trace one more time to confirm whether the same driver is still implicated.
- Decide on the next branch. If the machine still crashes after these repairs, and the dump still points to the same driver, move to rollback or removal rather than repeating the same fixes.
Prevention. Before installing new kernel drivers, create a restore point and keep one recovery path ready. That gives you a clean rollback point if a new driver destabilizes the machine.
Frequently asked questions
What does 0x000000f7 mean in Windows?
It is the blue-screen bug check tied to DRIVER_OVERRAN_STACK_BUFFER. The system stops because a driver has overrun a stack-based buffer, so the next step is to identify the driver from the dump and trace it to the related product before changing anything else.
Is stop code 0x000000f7 caused by a driver or hardware?
Start with the driver. This bug check specifically indicates that a driver overran a stack-based buffer, so driver review comes first. Use the dump and stack trace to determine which driver was involved.
What should I do if Windows 11 shows DRIVER_OVERRAN_STACK_BUFFER?
On Windows 11, open the minidump first, then act on the driver name you find in the stack trace. If it is a recent update, use Device Manager to roll it back; if it is optional software, uninstall it; if Windows files also need repair, run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth.
Can corrupted system files cause 0x000000f7?
System file repair can help if Windows components are damaged, but the bug check itself points to a driver that overran a stack-based buffer. Review the dump and stack trace first, then use SFC and DISM if Windows repair is also needed.
What if my PC will not boot after a 0xF7 crash?
Enter Safe Mode, then run verifier /reset if Driver Verifier was enabled. If that does not restore bootability, uninstall the last driver tied to the dump, and only then move to Reset This PC or vendor service if the machine still loops.
Do I need to reinstall Windows after stop code 0x000000f7?
Not usually. Reinstalling Windows is the last step after the dump points to a driver, the rollback or removal path fails, and SFC and DISM do not help. If the same driver keeps returning, the vendor package is the real problem.






