Windivert Driver Cannot Be Installed You Must Restart Your Computer Top -
Title: The Network Guard Who Refused to Stand Up
The Character: Maya, a system administrator for a small online retailer.
The Situation:
It’s 11:00 PM on a Friday. Maya is rolling out a new security tool that filters network traffic—a tool that relies on the WinDivert driver (a lightweight, open-source driver used by firewalls, VPNs, and packet analyzers). The installation is routine. She clicks "Install."
The Error:
A red dialog box pops up:
"WinDivert driver cannot be installed. You must restart your computer."
Maya sighs. She tries running the installer as Administrator. Same error. She disables antivirus. Same error. She checks Device Manager—no yellow flags. She even manually tries to register the driver with sc start WinDivert. Nothing works.
The Realization:
She remembers: WinDivert is a kernel-mode driver. Windows locks driver installation when:
- A previous version of the driver is partially loaded but pending deletion.
- A system file is in use by another process (like a VPN or firewall that crashed earlier).
- Windows is in a "pending restart" state from a previous update or software installation.
Her colleague, Tom, had installed a beta VPN tool earlier that week and uninstalled it improperly. That left a stale driver reference in the registry—Windows knows the old driver exists but can’t overwrite it without a reboot.
The Solution (the "Useful" part):
Instead of fighting the error, Maya does exactly what the message says—but first, she checks one thing:
-
She opens a Command Prompt as Administrator and runs:
pnputil /enum-drivers | findstr WinDivert
→ No active drivers found, confirming it’s a stale lock. -
She checks for pending reboots with:
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"
→ The key exists. Windows itself is waiting for a reboot. -
She restarts the computer cleanly—not a shutdown, a full restart. Title: The Network Guard Who Refused to Stand
After reboot, she runs the WinDivert installer again. It succeeds in 10 seconds. The tool starts filtering traffic as expected.
The Moral:
When a low-level driver says "cannot install, you must restart," it’s rarely a bug. It’s Windows protecting kernel integrity. Trying to bypass it with hacks (like forcing driver loads) can cause blue screens. The fastest path forward is the simplest one: restart, then retry.
Bonus tip from Maya:
If the error persists after restart, run sc delete WinDivert (if it exists as a service) then reinstall. But 95% of the time, a single reboot is all you need.
Solving the "WinDivert Driver Cannot Be Installed: You Must Restart Your Computer" Error
If you’re trying to run software like ManageEngine, GoodbyeDPI, or certain network monitoring tools and you’re hit with the message "WinDivert driver cannot be installed, you must restart your computer," you know how frustrating it is—especially when restarting doesn't actually fix it.
This error usually occurs because the WinDivert service (a kernel-mode packet diversion driver) is either stuck in a "pending delete" state, blocked by security software, or conflicting with an older version of itself.
Here is the definitive guide to bypassing the reboot loop and getting WinDivert running. 1. The "Ghost Service" Flush (Most Effective)
Often, the driver is marked for deletion, but Windows is holding onto the service entry. You can force-delete it via the Command Prompt.
Open the Start Menu, type cmd, right-click it, and select Run as Administrator.
Type the following command and hit Enter:sc delete WinDivert(Note: If you are using a specific version, it might be sc delete WinDivert1.4 or similar. Check your application folder for the version number.)
Even if it says "Service not found," proceed to the next step. "WinDivert driver cannot be installed
Crucial: Check if the driver file is locked. Go to C:\Windows\System32\drivers and look for WinDivert.sys or WinDivert64.sys. If it’s there, try to delete it manually. 2. Check for "Zombies" in Task Manager
WinDivert cannot reinstall if the previous instance of the application using it is still "half-alive" in the background. Press Ctrl + Shift + Esc to open Task Manager. Go to the Details tab.
Look for any processes related to your software (e.g., goodbyedpi.exe, dvhg.exe, or java.exe if running ManageEngine). Right-click and select End Process Tree. 3. Disable Aggressive Antivirus/EDR
WinDivert is a powerful tool that intercepts network packets. Because of this, many Antivirus programs (like Windows Defender, Bitdefender, or CrowdStrike) flag its installation as "Malicious Driver Loading."
Temporary Fix: Disable your Real-Time Protection for 5 minutes and try running the app again.
Permanent Fix: Add the folder containing the WinDivert .sys and .dll files to your Antivirus Exclusions/Whitelist. 4. Verify Digital Signatures and "Block" Status Windows 10 and 11 are very picky about kernel drivers. Navigate to the folder where your program is located.
Right-click WinDivert64.sys (or the 32-bit version) and select Properties.
On the General tab, look at the bottom. If you see a message saying "This file came from another computer and might be blocked," check the Unblock box and click Apply. 5. Use the "Fresh Start" Sequence
If you've tried everything and the "Restart Your Computer" message persists, follow this exact sequence: Uninstall the application using WinDivert. Restart your PC.
Before opening any apps, go to C:\Windows\System32\drivers and ensure no WinDivert files remain.
Run the application as Administrator. WinDivert requires administrative privileges to register its service; running as a standard user will trigger the "cannot be installed" error every time. Why does this happen? Maya sighs
WinDivert (Windows Packet Divert) operates at the kernel level. When an application closes improperly, it may leave the driver registered in the Windows Service Control Manager. Windows prevents a "new" installation of the driver to avoid a system crash (BSOD), leading to the infinite restart prompt.
By manually deleting the service via sc delete, you clear the path for the application to perform a clean initialization.
Are you seeing a specific error code like 0x5 or 0x424 alongside this message?
This is a very common and frustrating error, typically associated with software that needs to intercept or modify network traffic (such as VPNs, ad blockers like AdGuard, or firewall applications like SimpleWall).
Here is a review of the error message, what it actually means, and how to fix it.
Step-by-Step Fixes (From Simple to Advanced)
Need More Help?
Leave a comment below with:
- Your Windows version (Home/Pro, 22H2, etc.)
- The exact application name triggering the error.
- Which solutions you have tried.
We reply to every query within 24 hours. Do not let a minor driver error block your work—fix it once, fix it right.
Article updated: October 2024
Keywords: WinDivert driver cannot be installed you must restart your computer top, WinDivert install error, pending restart driver block, VPN driver failed Windows
Troubleshooting Guide: Windivert Driver Installation Issue - "You must restart your computer"
If you're encountering the frustrating issue where the Windivert driver cannot be installed, and you're stuck with the message "You must restart your computer," you're not alone. This guide aims to walk you through understanding the issue and several steps to resolve it, ensuring you can successfully install the Windivert driver.
Solution 6: Check for Corrupt Windows System Files (SFC & DISM)
Rarely, Windows itself has corrupted driver installation subsystems. The “must restart” loop can be a symptom of deeper system file corruption.

Chipless operation software for 