ev.care

Installed You Must Restart Your Computer: Windivert Driver Cannot Be

The “WinDivert driver cannot be installed” error is annoying, but it’s Windows trying to protect you from unsigned or stale drivers. In 90% of cases, disabling Fast Startup + removing old driver remnants solves it instantly.

If you’re using a tool like Windscribe or Proxifier, also check their official forums – sometimes they release a new WinDivert version that bypasses the issue entirely.

Have you fixed it? Or are you still seeing the error? Drop your Windows version and security software below – I’ll help troubleshoot further.


Author’s note: Always reboot after each fix attempt. And if you’re on a managed work/school PC, contact your IT admin – they likely have driver policies in place.

The error "WinDivert driver cannot be installed, you must restart your computer" generally occurs when an older version of the WinDivert service is still registered in the system or if active processes are preventing a fresh driver from loading. Because WinDivert is a kernel-mode driver, Windows often requires a reboot to clear locked memory or stubborn registry entries that point to non-existent or conflicting file paths. Common Causes for the Error

Stale Service Registry: An existing WinDivert service may be pointing to a file path that no longer exists, preventing the new driver from installing.

Locked Driver Files: If a previous application (like a VPN or packet tool) is still running, the driver file is "in use" and cannot be replaced or re-initialized until the system is clear.

Version Mismatch: Attempting to load a 32-bit driver on a 64-bit system (or vice versa) can trigger installation failures.

Security Software Interference: Modern antivirus or Windows features like Memory Integrity (Core Isolation) may block the driver from loading, leading to generic "cannot be installed" messages. Effective Solutions

If a standard restart does not resolve the issue, follow these steps to manually clear the driver: The “WinDivert driver cannot be installed” error is

Force Delete the ServiceOpen Command Prompt as Administrator and run the following commands to stop and remove any existing WinDivert service: sc stop windivert

sc delete windivert(Note: If you have an older version, the service might be named WinDivert1.0 or WinDivert1.4).

Clear Registry EntriesIf the service persists, you may need to manually delete the registry key.

Open regedit and navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert. Right-click and Delete the WinDivert folder.

Restart your computer immediately after this step to ensure the kernel resets. Check for Driver Signing & Security

Disable Memory Integrity: If you are on Windows 10/11, go to Windows Security > Device Security > Core Isolation and try turning off Memory Integrity.

Verify Files: Ensure WinDivert.sys, WinDivert.inf, and WdfCoInstaller*.dll are all present in your application's directory.

Antivirus: Check if software like Sophos or other antivirus tools have quarantined the .sys file.

Resource Monitor CheckTo identify which program is currently using the driver, open Task Manager, go to the Performance tab, and open Resource Monitor. In the CPU tab, search for "WinDivert" under Associated Handles to see which apps need to be closed. WinDivert not working on Windows 10 20H2 #253 - GitHub Author’s note: Always reboot after each fix attempt

Based on your request, it seems you are encountering a persistent WinDivert error where the driver installation fails, and the system demands a restart (often caused by a "System Restart Pending" state in Windows).

Below is a feature design for a "Smart Driver Installer" module. This feature is designed to be integrated into applications using WinDivert (like network blockers, sniffers, or firewalls) to handle this specific error gracefully without crashing or confusing the user.

When the error occurs, do not show a generic Windows error message. Show a context-aware modal.

Mockup: The "Action Required" Overlay

-----------------------------------------------------------
|  Network Filter Setup                            [X]    |
-----------------------------------------------------------
|   [Icon: Orange Exclamation]                             |
|                                                          |
|   System Restart Required                                |
|                                                          |
|   The WinDivert network driver cannot be installed       |
|   because Windows has pending updates or file operations |
|   that require a restart to complete.                    |
|                                                          |
|   [ ] Automatically restart my computer now              |
|                                                          |
|   [Restart Later]              [Restart Now]             |
-----------------------------------------------------------

WinDivert is normally signed, but if you have a very old or modified version, you may need to allow unsigned drivers.
Temporary only – restart with advanced boot:

Only do this if the problem persists and you trust the source of WinDivert.

If restarting doesn’t help, try reinstalling the driver manually.

Option A – Use the program’s own repair
Check if the application has a “repair” or “reinstall drivers” option in its settings or installer.

Option B – Manual installation (advanced)
Download the WinDivert package from its official repository (e.g., github.com/basil00/Divert). Extract and run as Administrator: WinDivert is normally signed, but if you have

cd C:\path\to\WinDivert
WinDivert.exe -install

If it fails, first uninstall:

WinDivert.exe -uninstall

then reboot and reinstall.

Option C – Use devcon
If you have Windows Driver Kit tools, you can force removal/installation via devcon.

If you’ve ever tried using network tools like Proxifier, Windscribe, NetBalancer, or certain VPNs/packet analyzers, you might have run into a frustrating popup:

“WinDivert driver cannot be installed. You must restart your computer.”

You restart, try again, and… the same message appears. Don’t worry. This is a common Windows driver permission or conflict issue, and it’s usually fixable in under 10 minutes.

Let’s break down why this happens and exactly how to solve it.

The message "WinDivert driver cannot be installed — you must restart your computer" appears when software that uses the WinDivert packet-capture driver (commonly VPNs, network filtering tools, or traffic-modifying utilities) fails to load or update the kernel driver and the installer requests a reboot to complete driver installation or replacement.

Some VPNs or traffic‑shaping tools install their own network filter drivers that clash with WinDivert.