“DRIVER_OVERRAN_STACK_BUFFER”是Windows设备驱动程序故障导致的BSOD(蓝屏死机)停止错误(BSOD (Blue Screen of Death) stop error)。当驱动程序在其定义的内存地址之外写入数据时,就会发生这种情况。但是,其他多种原因(例如文件损坏、磁盘错误和恶意软件)也可能导致出现相同的BSOD。
按照以下说明修复“Driver Overran Stack Buffer”蓝屏是可能的。如果Windows在您启动进入桌面之前崩溃,您可以尝试在安全模式下(Safe Mode)运行它们。
更新有问题的驱动程序
修复“Driver Overran Stack Buffer”蓝屏的最快方法是更新导致问题的设备驱动程序。由于Windows使用多个驱动程序,最好的办法是使用WinDbg或NirSoft BlueScreenView分析内存转储文件(analyze the memory dump files)。这有助于识别导致BSOD的确切驱动程序文件。然后,您可以在线粗略检查以确定与文件相关的设备。
完成此操作后,只需从硬件制造商的网站下载最新版本的设备驱动程序即可。之后,您可以运行下载的可执行文件以立即更新驱动程序。如果失败,请使用设备管理器(Device Manager)应用更新。
1. 按Windows + X并选择设备管理器(Device Manager)。
2. 展开设备类别——例如,显示适配器(Display adapters)。
3. 右键单击要更新的驱动程序并选择更新驱动程序(Update driver)以打开更新驱动程序(Update Drivers)向导。
4. 选择浏览我的电脑以查找驱动程序(Browse my computer for drivers)。
5. 使用浏览(Browse )按钮指定您刚刚下载的驱动程序的路径。
6. 选择下一步(Next )并按照所有剩余说明更新设备驱动程序。
7. 退出更新驱动程序向导。
通过 Windows 更新更新驱动程序
硬件(Hardware)制造商通常通过Microsoft发布驱动程序更新。您可以尝试使用Windows Update(Windows Update)检查是否有最新版本的驱动程序可用。
1. 打开开始(Start )菜单并选择设置(Settings)。
2. 选择Windows 更新(Windows Update)。
3. 选择查看可选更新(View optional updates)。
4.展开驱动更新(Driver updates)。
5. 选择设备的任何待处理更新,然后选择下载并安装(Download and install)。
当您使用它时,您还应该尝试更新 Windows(updating Windows)本身。这通常有助于解决阻止驱动程序正常运行的与操作系统相关的错误和故障。
回滚设备驱动程序
相反,更新设备驱动程序后会出现“Driver Overran Stack Buffer”蓝屏。在这种情况下,设备管理器(Device Manager)提供了将其回滚的选项。
1. 按Windows + X并选择设备管理器(Device Manager)。
2. 展开设备类别。
3. 右键单击驱动程序并选择属性(Properties)。
4. 切换到驱动程序(Driver )选项卡。
5. 选择回滚驱动程序(Roll Back Driver)。
如果“回滚驱动程序”(Roll Back Driver)按钮显示为灰色,则无法将驱动程序恢复到以前的版本。
重新安装设备驱动程序
如果无法更新或回滚有问题的设备驱动程序,请尝试重新安装它。这有助于排除驱动程序损坏的问题。
1. 按Windows + X并选择设备管理器(Device Manager)。
2. 展开设备类别。
3. 右键单击驱动程序并选择卸载设备(Uninstall device)。
4. 选中删除此设备的驱动程序软件(Delete the driver software for this device )旁边的框,然后选择卸载(Uninstall)。
5. 重新启动您的计算机。操作系统应自动为设备应用基本驱动程序。如果需要,您始终可以在从设备制造商的网站下载任何专用驱动程序和支持软件后安装它们。
更新所有设备驱动程序
如果问题仍然存在,或者您无法确定“驱动程序溢出堆栈缓冲区”蓝屏错误背后的确切驱动程序,最好更新计算机上的所有设备驱动程序。您可以使用免费的驱动程序更新工具(use a free driver updater tool)来做到这一点。Driver Booster是一个不错的选择。
1.下载并安装驱动助推器(Driver Booster)。
2. 打开 Driver Booster 并选择扫描(Scan )以检查最新的驱动程序更新。
3. 选择立即更新(Update Now)以应用更新。
此外,不要忘记使用Windows Update为其他硬件设备应用任何挂起的驱动程序更新。
禁用快速启动
快速启动(Fast Startup)是一项 Windows 功能,可加快操作系统的启动时间(speeds up the operating system’s boot times)。但这也是多个BSOD错误背后的已知原因。尝试禁用它并检查是否有影响。
1. 按Windows + X并选择电源选项(Power Options)。
2. 向下滚动并选择其他电源设置(Additional power settings)。
3. 选择屏幕左上角的选择电源按钮的功能。(Choose what the power buttons do)
4. 取消选中打开快速启动(推荐)(Turn on fast startup (recommended))旁边的复选框。
5. 选择保存更改( Save changes)。
运行安全扫描
恶意软件可以伪装成驱动程序或劫持合法驱动程序并最终触发“驱动程序溢出堆栈缓冲区”停止错误。因此(Hence),对整个系统进行彻底的恶意软件扫描是一个好主意。
Windows 安全(Windows Security)提供了对计算机病毒的良好保护,但专用的恶意软件清除(dedicated malware remover)程序在清除危险的恶意软件形式方面要好得多。我们建议使用Malwarebytes的免费版本。
1. 下载并安装Malwarebytes。
2. 打开 Malwarebytes 并选择Scanner。然后,选择高级扫描仪(Advanced scanners)>配置扫描(Configure Scan)。
3. 选中扫描内存对象(Scan memory objects)、扫描注册表和启动项(Scan registry and startup items)以及扫描档案内(Scan within archives)的复选框。您也可以选择Scan for rootkits,但这会显着延长扫描持续时间。
4. 选择包含操作系统的驱动器分区,例如C。
5. 选择扫描(Scan)。
修复操作系统错误
系统文件检查器(System File Checker)( SFC ) 是一个命令行工具,用于修复Windows中的系统文件损坏。如果“驱动程序溢出堆栈缓冲区”蓝屏问题仍然存在,您应该尝试运行它。
1. 按Windows + X并选择Windows PowerShell (Admin)。
2. 在提升的Windows PowerShell(Windows PowerShell)控制台中键入以下命令:
sfc/ scannow
3. 按回车(Enter)。
修复与磁盘相关的错误
运行系统文件检查器(System File Checker)后,继续并在计算机启动时运行CHKDSK 实用程序。(CHKDSK Utility)这应该可以修复“Driver Overran Stack Buffer”BSOD 背后的任何与磁盘相关的错误。
1. 按Windows + X并选择Windows PowerShell (Admin)。
2. 在Windows PowerShell(Windows PowerShell)控制台中键入以下命令,然后按Enter:
chkdsk C: /R
3.按Y。然后,按Enter确认您希望在下次重新启动 Windows 时运行CHKDSK实用程序。(CHKDSK)
检查 WinRE 中的错误
如果您无法在安全模式下正常启动(Safe Mode)Windows,您可以尝试通过Windows 恢复环境(Windows Recovery Environment)( WinRE )运行系统文件检查器(System File Checker)和CHKDSK 实用程序。(CHKDSK Utility)
1. 重新启动计算机并进入 Windows 恢复环境。
2. 选择疑难解答(Troubleshoot )>命令提示符(Command Prompt)。
3. 运行系统文件检查器:
sfc /scannow /offbootdir=C:\ /offwindir=D:\Windows
4.在启动卷上运行CHKDSK 实用程序:(CHKDSK Utility)
chkdsk C: /R
5:在Windows分区上运行 CHKDSK Utility :(Run CHKDSK Utility)
chkdsk D: /R
你还能做什么?
如果上述修复都没有帮助您修复Windows PC 上的(Windows)BSOD错误,那么您可以在接下来的一些高级修复中使用:
- 卸载 Windows 更新(Uninstall Windows Updates):尽管有这些优势,但Windows更新也会引入稳定性问题。卸载最新的质量或功能更新并检查是否有帮助。
- 禁用超频:您是否超频了您的 PC?尝试恢复对 CPU(reverting changes to the CPU)、GPU和RAM的更改。
- Update the BIOS/UEFI:更新主板固件以解决硬件设备和驱动程序之间的不兼容问题。
- 重置 Windows(Reset Windows):出厂重置您的Windows安装。您可以选择保持个人数据完整无缺。
- 重新安装 Windows:彻底擦除系统分区并重新安装Windows。
How To Fix Driver Overran Stack Buffer BSOD
“DRIVER_OVERRAN_STACK_BUFFER” is a BSOD (Blue Screen of Death) stop error brought about by a faulty device driver in Windows. It occurs when the driver writes data outside its defined memory address. However, multiple other reasons—such as file corruption, disk errors, and malware—can also cause the same BSOD to show up.
It’s possible to fix the “Driver Overran Stack Buffer” BSOD by following the instructions below. If Windows crashes before you can boot into the desktop, you can try running them in Safe Mode.
Update the Problematic Driver
The quickest way to fix the “Driver Overran Stack Buffer” BSOD is to update the problem-inducing device driver. Since Windows uses multiple drivers, your best bet is to analyze the memory dump files using WinDbg or NirSoft BlueScreenView. That helps identify the exact driver file causing the BSOD. You can then run a cursory check online to determine the device related to the file.
Once you’ve done that, it’s just a matter of downloading the most up-to-date version of the device driver from the hardware manufacturer’s website. You can run the downloaded executable file to update the drivers immediately after that. If that fails, use the Device Manager to apply the update.
1. Press Windows + X and select Device Manager.
2. Expand the device category—e.g., Display adapters.
3. Right-click the driver you want to update and select Update driver to bring up the Update Drivers wizard.
4. Select Browse my computer for drivers.
5. Use the Browse button to specify the path to the driver you just downloaded.
6. Select Next and follow all remaining instructions to update the device driver.
7. Exit the Update Drivers wizard.
Update Driver via Windows Update
Hardware manufacturers often release driver updates via Microsoft. You can try checking if there’s an up-to-date version of the driver available using Windows Update.
1. Open the Start menu and select Settings.
2. Select Windows Update.
3. Select View optional updates.
4. Expand Driver updates.
5. Select any pending updates for the device and select Download and install.
While you’re at it, you should also try updating Windows itself. That usually helps resolve operating system-related bugs and glitches preventing drivers from functioning correctly.
Roll Back the Device Driver
Conversely, the “Driver Overran Stack Buffer” BSOD can show up after updating a device driver. In that case, the Device Manager provides the option to roll it back.
1. Press Windows + X and select Device Manager.
2. Expand the device category.
3. Right-click the driver and select Properties.
4. Switch to the Driver tab.
5. Select Roll Back Driver.
If the Roll Back Driver button appears grayed out, you can’t revert the driver to its previous version.
Reinstall the Device Driver
If updating or rolling back the problematic device driver is out of the question, try reinstalling it. That helps rule out issues with driver corruption.
1. Press Windows + X and select Device Manager.
2. Expand the device category.
3. Right-click the driver and select Uninstall device.
4. Check the box next to Delete the driver software for this device and select Uninstall.
5. Reboot your computer. The operating system should automatically apply basic drivers for the device. If required, you can always install any dedicated drivers and support software after downloading them from the device manufacturer’s website.
Update All Device Drivers
If the problem continues or you can’t identify the exact driver behind the “Driver Overran Stack Buffer” BSOD error, It’s a good idea to update all device drivers on your computer. You can use a free driver updater tool to do that. Driver Booster is a good choice.
1. Download and install Driver Booster.
2. Open Driver Booster and select Scan to check for the latest driver updates.
3. Select Update Now to apply the updates.
Also, don’t forget to apply any pending driver updates for additional hardware devices using Windows Update.
Disable Fast Startup
Fast Startup is a Windows feature that speeds up the operating system’s boot times. But it’s also a known cause behind multiple BSOD errors. Try disabling it and check if that makes a difference.
1. Press Windows + X and select Power Options.
2. Scroll down and select Additional power settings.
3. Select Choose what the power buttons do to the top-left of the screen.
4. Uncheck the box next to Turn on fast startup (recommended).
5. Select Save changes.
Run a Security Scan
Malicious software can masquerade as a driver—or hijack a legitimate driver—and end up triggering the “Driver Overran Stack Buffer” stop error. Hence, it’s a good idea to perform a thorough scan of the entire system for malware.
Windows Security offers decent protection against computer viruses, but a dedicated malware remover is far better at flushing out dangerous malware forms. We recommend using the free version of Malwarebytes.
1. Download and install Malwarebytes.
2. Open Malwarebytes and select Scanner. Then, select Advanced scanners > Configure Scan.
3. Check the boxes next to Scan memory objects, Scan registry and startup items, and Scan within archives. You can also select Scan for rootkits, but that can extend the scan duration significantly.
4. Select the drive partition housing the operating system—e.g., C.
5. Select Scan.
Fix Operating System Errors
The System File Checker (SFC) is a command-line tool that fixes system file corruption in Windows. If the ‘Driver Overran Stack Buffer’ BSOD continues to be an issue, you should try running it.
1. Press Windows + X and select Windows PowerShell (Admin).
2. Type the following command into the elevated Windows PowerShell console:
sfc/ scannow
3. Press Enter.
Fix Disk-Related Errors
After running the System File Checker, go ahead and run the CHKDSK Utility at computer startup. That should fix any disk-related errors behind the “Driver Overran Stack Buffer” BSOD.
1. Press Windows + X and select Windows PowerShell (Admin).
2. Type the following command into the Windows PowerShell console and press Enter:
chkdsk C: /R
3. Press Y. Then, press Enter to confirm you want to run the CHKDSK utility the next time you reboot Windows.
Check for Errors in WinRE
If you can’t boot into Windows normally and in Safe Mode, you can try running the System File Checker and the CHKDSK Utility via the Windows Recovery Environment (WinRE).
1. Restart your computer and enter the Windows Recovery Environment.
2. Select Troubleshoot > Command Prompt.
3. Run the System File Checker:
sfc /scannow /offbootdir=C:\ /offwindir=D:\Windows
4. Run the CHKDSK Utility on the boot volume:
chkdsk C: /R
5: Run CHKDSK Utility on Windows partition:
chkdsk D: /R
What Else Can You Do?
If none of the fixes above helped you fix the BSOD error on your Windows PC, then here are some advanced fixes that you can work on next:
- Uninstall Windows Updates: Despite the advantages, Windows updates can also introduce stability issues. Uninstall the most recent quality or feature update and check if that helps.
- Disable Overclocking: Have you overclocked your PC? Try reverting changes to the CPU, GPU, and RAM.
- Update the BIOS/UEFI: Update your motherboard’s firmware to resolve incompatibilities between hardware devices and drivers.
- Reset Windows: Factory reset your Windows installation. You have the option to keep personal data intact.
- Reinstall Windows: Wipe the system partition completely and reinstall Windows.