Updated: July 2026 | Version 11.2.2
The most trusted Windows and Office activation solution since 2012. Simple, safe, and effective.
How It Works

Windivert Driver Cannot Be Installed You Must Restart Your Computer Top ❲2025❳

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.

What you can do instead of a paper

  1. Restart your computer as suggested.
  2. Run the application as Administrator.
  3. Temporarily disable Secure Boot or Driver Signature Enforcement (for testing).
  4. Check if C:\Windows\System32\drivers\windivert.sys exists and is not locked by another process.
  5. Reinstall WinDivert via a clean copy (e.g., from the Npcap or Suricata distribution that includes it).

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

for 32-bit Windows. Mismatches often trigger installation failures. Disable Security Software Error Meaning The message "windivert driver cannot be

: 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.

In the dimly lit glow of a home office, was deep into a late-night coding session, putting the final touches on a custom network filtering tool. Everything seemed perfect until a single notification popped up, halting progress: "windivert driver cannot be installed you must restart your computer."

Alex sighed. The WinDivert driver is a powerful tool used by many applications to capture or divert network packets, but it is notoriously sensitive during installation. The Never-Ending Loop

The message was clear, but the reality was more complicated. Alex restarted the machine, waited for the BIOS splash screen, and logged back in. Upon launching the application again, the same error appeared. It was a classic "reboot loop," often caused when the system believes a previous version of the driver is still active or pending a removal. The Investigation

Alex began troubleshooting, knowing that WinDivert requires specific conditions to function:

Administrative Rights: The application must run as an Administrator to install or load the driver. Pending file locks or previous driver state Incomplete

Security Software Interference: Often, anti-virus programs or firewalls like Sophos or Avast block the driver from loading because of its deep-level network access.

Version Mismatch: Using a 32-bit driver on a 64-bit system (or vice versa) frequently triggers installation failures.

Missing Files: The .sys, .inf, and .dll files must all be in the same directory for the on-demand installation to work. The Resolution

Following expert advice from community forums like GitHub Issues, Alex opened the Command Prompt as an Administrator and ran two critical commands to clear the "stuck" service: sc stop WinDivert sc delete WinDivert

After one final manual reboot to ensure the registry was clean, Alex moved the correct 64-bit driver files into the application folder. This time, when the program launched, the driver installed silently in the background, and the "restart" warning finally vanished.

Do you need help manually cleaning WinDivert from your registry or checking your driver signatures?

Failed Windivert installation causes GoodbyeDPI to exit #815


3. Active WinDivert Handle

If another application (like a firewall or VPN) holds an open handle to WinDivert64.sys, the driver cannot be replaced or installed until that process ends. Why a restart helps Restarting clears temporary file

What’s happening?

Fix 6: Install WinDivert as a Standalone Driver (For Developers)

Sometimes the application’s bundled installer is outdated. Instead, install WinDivert manually:

  1. Download the latest release from github.com/basil00/Divert/releases (look for WinDivert-x.x.x-EXE.zip).
  2. Extract and run WinDivert-install.exe as Administrator.
  3. Observe the output: if it says “Driver installed successfully” – good.
  4. If it says “Pending reboot required”, use Fix 1 (full shutdown), then rerun the installer.
  5. Finally, reinstall your target app (it will detect the existing driver).

Step‑by‑step fix

6. Contact Support or Use an Older Version

If none of the above steps work, consider:

What is WinDivert?

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.

Fix 7: Clean the Windows Driver Store

If the driver fails to uninstall, clean the store:

Open Command Prompt as Admin and run:

pnputil /enum-drivers | findstr "WinDivert"

Note the Published Name (e.g., oem42.inf). Then delete:

pnputil /delete-driver oem42.inf /uninstall /force

Repeat for any other WinDivert entries. Then restart and reinstall.