Windivert Driver Cannot Be Installed You Must Restart Your Computer Top May 2026
WinDivert is a user-mode packet capture and diversion library. It allows software to intercept, inspect, and modify network packets. Because it operates at the kernel level (via a driver), it requires deep system privileges. Windows treats driver installations with strict security checks. If a previous version of the driver was not unloaded correctly, or if Windows has a pending reboot flag set, the system will block the new installation until the state is cleared.
Some security software blocks kernel drivers. Temporarily disable your antivirus, reinstall the tool, then re‑enable it.
If you've followed these steps and still encounter issues, consider:
Solving the "WinDivert driver cannot be installed" Loop If you are seeing the error "WinDivert driver cannot be installed, you must restart your computer" even after multiple reboots, you are likely stuck in a driver conflict loop. This issue often occurs when using tools like GoodbyeDPI, Zapret, or various VPN and network filtering applications that rely on the WinDivert utility.
Below is a breakdown of why this happens and the specific steps you can take to clear the error without endlessly restarting. Why Is This Happening?
WinDivert is a kernel-mode driver that is loaded "on demand" by applications. The "must restart" error usually stems from one of three issues:
A "Zombie" Service: An older version of the WinDivert service is still registered in Windows but points to a file that no longer exists or is incompatible. WinDivert is a user-mode packet capture and diversion
Digital Signature Blocks: Windows security features (like Memory Integrity) may be blocking the driver from loading because it isn't properly signed for your specific Windows version.
File Mismatches: The application is trying to use a 32-bit driver on a 64-bit system, or the necessary .sys files are missing from the app's directory. Step-by-Step Fixes 1. Manually Clear the Old Service
The most effective fix is to manually stop and delete the existing service entry so the application can perform a "clean" install of the driver.
WinDivert: What is the reason behind the error message "error
Error Meaning
The message "windivert driver cannot be installed you must restart your computer" typically appears when using WinDivert (a packet capture/diversion library for Windows). It means the WinDivert kernel driver failed to load or install, often due to:
Why a restart helps
Restarting clears temporary file locks, resets the driver loading state, and allows Windows to finalize pending installation or removal operations. Solving the "WinDivert driver cannot be installed" Loop
What you can do instead of a paper
If you need a literature review or technical explanation of WinDivert’s driver installation process for a paper you are writing, I can help outline the relevant topics, suggest references (e.g., Windows Driver Framework, kernel-mode signing requirements, and packet filtering architectures), or draft a section. Just let me know.
This error typically occurs when the driver—a common component used by network tools like VPNs, proxies, or packet sniffers—is already present but stuck in a corrupted or "pending" state Quick Fix Steps Force Stop the Driver Command Prompt
as an Administrator and run the following commands to clear the existing service: sc stop WinDivert (or the specific version like WinDivert1.4 sc delete WinDivert Clear Pending Renames
: Sometimes Windows thinks a file is waiting to be replaced after a reboot. You can clear this by deleting the PendingFileRenameOperations entry in the Registry Editor
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager Check Architecture : Ensure you are using the driver for 64-bit Windows and the Why a restart helps Restarting clears temporary file
for 32-bit Windows. Mismatches often trigger installation failures. Disable Security Software
: Your antivirus or firewall may be blocking the driver installation. Temporarily disable them and try running the application as an Administrator Common Root Causes Security Blocking
: Modern security suites often flag WinDivert as suspicious because it intercepts network traffic. Missing Files : Ensure the WinDivert.sys WinDivert.inf WdfCoInstaller*.dll files are all located in your program's main directory. Virtualization
: If you are running this in a virtual machine (VM), some environments do not support the low-level driver access WinDivert requires.
WinDivert uses a test-signed certificate. On 64-bit Windows with Secure Boot enabled, driver signature enforcement may block unsigned or self-signed kernel drivers, causing the installation to fail.