Windivert Driver Cannot Be Installed You Must Restart Your Computer Top
The "You must restart your computer" error typically indicates that another process or system component is preventing the Windivert driver from installing because some system files or configurations are locked or in use. This often happens due to:
If you are seeing the error message "WinDivert driver cannot be installed you must restart your computer to complete the installation" (or a variation regarding the WinDivert driver), it typically indicates a conflict with a previous driver state or a pending system operation.
This error is commonly associated with networking tools, ad-blockers (like Portmaster or certain GitHub projects), and packet sniffing applications that rely on the WinDivert library to capture and filter network traffic.
Here is a breakdown of why this happens and how to resolve it.
Once you have resolved the issue, follow these best practices to prevent recurrence:
In 90% of cases, this error is resolved by using the Shift + Restart method to bypass Windows Fast Startup. If the error persists, use the Command Prompt commands (sc delete windivert) to manually purge the stuck driver from the system registry.
This error generally occurs because a previous version of the WinDivert driver is stuck in a half-installed or corrupted state, or a security program is blocking its loading. Since WinDivert is "installed" on demand when an application calls it, it often requires administrative cleanup rather than just a standard reboot. Immediate Solutions
If a simple restart does not work, try these steps in order: The "You must restart your computer" error typically
Manually Force-Delete the Service: Open a Command Prompt as Administrator and run these commands to clear out the old driver service: sc stop WinDivert sc delete WinDivert
Note: If the version is specific, like WinDivert1.4, use that exact name.
Check Program Permissions: Ensure the application using WinDivert (like GoodbyeDPI or a VPN) is being Run as Administrator.
Clear the Registry (Advanced): If the error persists after a reboot, the registry entry might be corrupted. Use regedit to navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert and manually delete the WinDivert entry, then restart your computer. Common Root Causes
Security Software Interference: Programs like ESET, Sophos, or other deep-packet inspection antiviruses often block WinDivert from loading as they see it as "suspicious" driver activity. Try disabling your antivirus temporarily to verify if it’s the culprit.
File Mismatch or Missing Files: Ensure both WinDivert.dll and the appropriate driver (WinDivert32.sys or WinDivert64.sys) are in the same folder as the program you are trying to run.
Outdated Windows (Win 7 Users): Older Windows 7 installations often lack SHA256 digital signature support, preventing the driver from loading. Ensure you have the KB3033929 update installed. Specific Fix for Tools (e.g., GoodbyeDPI) Once you have resolved the issue, follow these
If you are using GoodbyeDPI, users have found success by copying WinDivert64.sys directly into the C:\Windows\System32 directory to bypass loading issues, though this should be a last resort. WinDivert not working on Windows 10 20H2 #253 - GitHub
This blog post addresses the common "WinDivert driver cannot be installed" error often encountered in tools like GoodbyeDPI, ReQrypt, or custom network applications.
How to Fix: WinDivert Driver Cannot Be Installed (Must Restart)
If you are seeing the message "WinDivert driver cannot be installed, you must restart your computer," you’re likely stuck in a loop. Even after rebooting, the same error pops up. This usually happens because an old version of the driver is "ghosting" in your system or a third-party security tool is blocking the installation. Here is how to break the cycle and get it working. 1. Manually Clear the Old Service
The most common cause is a previous instance of WinDivert that didn't shut down properly. Windows thinks it’s still there, so it won’t let a new one install. Open Command Prompt as Administrator. Type the following commands one by one and hit Enter: sc stop WinDivert sc delete WinDivert Use code with caution. Copied to clipboard If you are using a specific version (like 1.4 or 2.0), try: sc stop WinDivert1.4 sc delete WinDivert1.4 Use code with caution. Copied to clipboard Restart your computer immediately after running these. 2. Check for Conflicts (VPNs & Antivirus)
WinDivert is a powerful packet-interception tool, which means some antivirus programs flag it as suspicious.
NordVPN / X-VPN: Some users report that "NordDivert" or similar modules in VPN apps conflict with standard WinDivert. Try closing your VPN entirely before launching your app. In 90% of cases, this error is resolved
Antivirus: Temporarily disable your real-time protection or add the folder containing WinDivert64.sys to your exclusions list. 3. The Registry "Deep Clean"
If the sc delete command didn't work, you might need to manually remove the service entry from the Windows Registry. Press Win + R, type regedit, and hit Enter.
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert Right-click the WinDivert folder and select Delete. Reboot your PC. 4. Verify Your Files
Ensure you aren't missing the core driver files in your application folder. You should see: WinDivert.dll WinDivert64.sys (for 64-bit systems) WinDivert32.sys (for 32-bit systems)
Tip: Some users find success by copying WinDivert64.sys directly into C:\Windows\System32\drivers, though this should usually be a last resort.
Still stuck? Make sure you are always right-clicking your application and choosing "Run as Administrator." WinDivert requires high-level permissions to interact with your network stack.
Are you using a specific program like GoodbyeDPI or a custom script when this happens? WinDivert not working on Windows 10 20H2 #253 - GitHub