Windivert Driver Cannot Be Installed You Must Restart Your Computer ❲iPad Top❳
If the user clicks "Restart Later", the application should not crash. It should enter "Limited Mode."
WinDivert installs as a NDIS filter or WFP callout driver depending on version. If another driver (e.g., WFPLWFS, vsock, antivirus filter) is already attached to the same layer, the driver bind operation fails. The installer heuristic then assumes a stale driver instance is present, advising reboot as a brute-force cleanup.
WinDivert itself is not malware – it’s a legitimate library used by many networking utilities. However, some malware can abuse it to inspect/modify network traffic. If the error appears unexpectedly from an unknown program, run a malware scan (Malwarebytes, Windows Defender Offline) to be safe.
For most people, just restarting your computer will solve it. If it keeps happening, follow steps 2–5.
The "WinDivert driver cannot be installed" error typically occurs when a previous version of the driver is stuck in memory or the Windows registry, or when core security settings block its execution. Common Causes for Installation Failure
Active Service Conflict: A previous instance of the WinDivert service is still registered or running in the background.
Stuck Registry Entries: Corrupted or "ghost" registry keys from a failed uninstallation prevent new driver registration.
Windows Security Blocks: Windows features like Memory Integrity or missing digital signatures can prevent the driver from loading.
Missing Dependencies: Essential files like WinDivert.dll, WinDivert.inf, or the .sys driver files are missing from the application's root folder. Step-by-Step Fixes 1. Force Stop and Delete the Existing Service
If restarting hasn't worked, the service might be re-registering itself automatically.
Search for CMD in the Start menu, right-click it, and select Run as Administrator.
Type the following commands one by one, pressing Enter after each:
sc stop WinDivert (or sc stop WinDivert1.4 depending on your version). sc delete WinDivert.
Restart your computer and try running the application again. 2. Clear the WinDivert Registry Key If the user clicks "Restart Later" , the
Manually removing the service key often breaks the "must restart" loop. Press Win + R, type regedit, and press Enter.
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Find the WinDivert folder (it may have a version number attached). Right-click the folder and select Delete. Reboot your PC immediately after. 3. Disable Core Isolation (Memory Integrity)
Modern Windows security can block older or unsigned drivers. Go to Settings > Privacy & Security > Windows Security. Select Device Security > Core isolation details. Toggle Memory Integrity to Off. Restart and attempt the installation again. 4. Verify File Placement
WinDivert is often "portable" and requires its driver files to be in the same directory as the .exe that calls it. Ensure these three files are in your program folder: WinDivert.dll
WinDivert32.sys (for 32-bit) or WinDivert64.sys (for 64-bit) WinDivert.inf (if provided by the developer) Summary Checklist WinDivert not working on Windows 10 20H2 #253 - GitHub
Troubleshooting: "WinDivert driver cannot be installed, you must restart your computer"
If you are seeing the error "WinDivert driver cannot be installed, you must restart your computer," you are likely stuck in a loop where restarting doesn't actually solve the problem. This typically happens because an old or orphaned version of the WinDivert service is still registered in your system, or modern security features are blocking the driver from loading.
Here is a deep dive into why this happens and how to fix it for good. 1. Clear Stuck Services (The Primary Fix)
Most often, this error occurs because a previous session of a program using WinDivert (like a VPN, specialized firewall, or game lag-reduction tool) crashed without properly removing the driver service.
Step 1: Force Stop and Delete via Command PromptOpen Command Prompt as an Administrator and run these commands one by one: sc stop windivert sc delete windivert Use code with caution. Copied to clipboard
If you are using an older version of the software, you might need to try sc stop WinDivert1.1 or sc delete WinDivert1.1.
Step 2: Use the Controller ToolIf you have the WinDivert package, navigate to the folder containing windivertctl.exe and run WinDivertTool with the uninstall command. 2. Bypass Registry Deadlocks WinDivert installs as a NDIS filter or WFP
If the command prompt returns an error saying the service doesn't exist but the installer still complains, there may be a ghost entry in your 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.
Restart your computer immediately after this step to clear the system's memory of the driver. 3. Adjust Modern Security Settings
Windows 10 and 11 have aggressive security features that can prevent specialized drivers like WinDivert from installing, even after a reboot.
Memory Integrity (Core Isolation): This feature often blocks older or non-WHQL signed drivers from loading. Go to Windows Security > Device Security > Core isolation details and try turning off Memory integrity temporarily to see if the driver installs.
Driver Signing: WinDivert requires a valid digital signature. If you are using a custom or older build, Windows may block it with ERROR_INVALID_IMAGE_HASH. You might need to enable Test Mode in Windows to allow these drivers. 4. Check for Environmental Conflicts
Antivirus Blocks: Security suites like Sophos, Avast, or AVG have been known to block WinDivert because it intercepts network packets. Try temporarily disabling your antivirus or adding the application folder to your "Exclusions" list.
Missing Files: WinDivert is "installed on demand" when an application calls it. For it to work, WinDivert.dll, WinDivert.sys, and WinDivert.inf must all be in the same directory as the program you are running. If you are on a 64-bit system, ensure you have WinDivert64.sys available. Summary Checklist Orphaned Service Run sc delete windivert as Admin. Registry Ghost Delete the key in CurrentControlSet\Services\WinDivert. Security Block Disable Memory Integrity in Windows Security. File Mismatch Ensure both .dll and .sys files are in the app folder.
If you provide the name of the software you're trying to use (e.g., GoodbyeDPI, a specific VPN, or a game tool), I can give you instructions tailored to that specific application. WinDivert not working on Windows 10 20H2 #253 - GitHub
The error "WinDivert driver cannot be installed you must restart your computer" typically occurs when a previous version of the driver is stuck in memory, the service registry entry is corrupted, or security settings are blocking the driver from loading. Summary of Causes
Active/Corrupt Service: An old or "stuck" WinDivert service is still registered, often pointing to a file path that no longer exists.
Security Restrictions: Windows Memory Integrity (Core Isolation) or antivirus software (e.g., Sophos) may block the driver due to signature or security policies.
Architecture Mismatch: Attempting to load a 32-bit driver on a 64-bit system, or missing the .sys file in the application directory. The message "WinDivert driver cannot be installed —
Missing Signatures: Older Windows versions (like Windows 7 or unpatched 2008 R2) may reject drivers signed with SHA256 if they lack specific updates. Recommended Solutions
Manual Service Removal: Open Command Prompt as Administrator and run these commands to clear existing service instances: sc stop windivert sc delete windivert Use code with caution. Copied to clipboard
Clean the Registry: If the error persists after a reboot, manually delete the registry key:
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert Delete the WinDivert folder and restart.
Disable Memory Integrity: In Windows 10 or 11, go to Windows Security > Device Security > Core Isolation and turn off Memory Integrity, then restart.
Verify File Integrity: Ensure WinDivert.dll, WinDivert.sys, and WinDivert.inf are all in the same folder as your application. On 64-bit systems, you often need both WinDivert32.sys and WinDivert64.sys available.
Use Compatibility Versions: If using version 2.2.0 fails on specific Windows builds (like 20H2), try reverting to version 1.4.3, which is reported to be more stable in some environments.
For more technical details, you can refer to the official WinDivert Documentation or the ReQrypt WinDivert FAQ. WinDivert not working on Windows 10 20H2 #253 - GitHub
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.
If you are reading this, you have likely been interrupted by a frustrating pop-up window displaying the message: "WinDivert driver cannot be installed. You must restart your computer."
This error typically appears during the installation or execution of networking software such as Proxifiers (like SocksEscort), VPN clients, network analyzers, or gaming VPNs (like ExitLag, NoPing, or WTFast) . It can stop your installation process dead in its tracks, leaving you confused about whether to reboot, cancel, or troubleshoot further.
This comprehensive article will explain exactly what the WinDivert driver is, why this error occurs, and provide a step-by-step guide to fix it permanently.
Windows maintains a PendingFileRenameOperations registry key (under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager). If a previous installation attempted to overwrite windivert64.sys but the file was in use, Windows schedules a replacement on next reboot. Subsequent installers detect this pending operation and demand a reboot before proceeding.
If none of the above steps work, perform a Clean Boot of Windows. This prevents third-party software (other than Microsoft services) from loading.