Your Computer [cracked] - Windivert Driver Cannot Be Installed You Must Restart
Resolving the "WinDivert Driver Cannot Be Installed" Error: A Complete Guide
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.
3. Remove Leftover WinDivert Files Manually
If the driver is stuck in a half-installed state:
- Open Device Manager → View → Show hidden devices.
- Expand Non-Plug and Play Drivers.
- Look for
WinDivertorwindivert64.sys. - Right-click → Uninstall device (check “Delete driver software” if available).
Then:
- Go to
C:\Windows\System32\drivers\– deletewindivert64.sysif it exists. - Delete
C:\Program Files\WinDivert\(if present).
Reboot normally and reinstall your application.
4. Manually install / reinstall the WinDivert driver
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:
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.
Step 1: The Obvious But Necessary First Attempt – Restart Properly
If you have not restarted your PC recently (or if a previous installation failed), do a full shutdown and reboot.
- Do not use "Fast Startup" (a feature in Windows 10/11 that hibernates the kernel). To bypass Fast Startup, hold the Shift key while clicking "Restart" from the Start menu.
- After the reboot, run the installer again as Administrator (right-click the setup file and select
Run as administrator).
If the error persists, proceed to Step 2.
Quick summary (one-line)
Restart first; then run the installer as Administrator, ensure no app is using WinDivert, check Event Viewer and sc query/stop for the driver, update Windows/driver, and reinstall the latest WinDivert package if needed.
Related searches I can suggest: (Automatically adding search terms for deeper lookup)
The error "WinDivert driver cannot be installed you must restart your computer" typically indicates that a previous instance of the driver is still active or a registry conflict is preventing a new installation. Immediate Solutions
Run as Administrator: Ensure the application using WinDivert (like a VPN or network tool) is being run with Administrator privileges. Manual Registry Cleanup: Open the Registry Editor (regedit).
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert. Delete the WinDivert entry and restart your computer.
Force Service Stop: Open Command Prompt as Administrator and run the following commands to clear stuck services: sc stop WinDivert
sc delete WinDivert (Note: You may need to use the specific version name, such as WinDivert1.4 or WinDivert2.2). Troubleshooting Persistent Loops
If restarting doesn't fix the issue, check these common conflicts:
Security Software Interference: Windows Security features like Memory Integrity can block WinDivert from loading. You can try disabling Memory Integrity in the Core isolation settings under Device Security.
Identify Blocking Programs: Use Resource Monitor (Task Manager > Performance > Open Resource Monitor) and search for "WinDivert" under Associated Handles to see which programs are currently using the driver and terminate them.
System Integrity Check: Corrupted system files can cause driver installation loops. Run sfc /scannow in an elevated Command Prompt to repair potential errors. Manual File Removal
If the driver is still stuck, manually delete the driver files and reboot:
Search for and delete WinDivert32.sys and WinDivert64.sys from your system folders or the application directory.
Are you seeing this error while using a specific application like X-VPN or a gaming tool? WinDivert not working on Windows 10 20H2 #253 - GitHub
The error message "WinDivert driver cannot be installed, you must restart your computer" often appears when users try to run network tools like GoodbyeDPI, ReQrypt, or custom VPN software. This usually happens because an older version of the driver is stuck in memory, or Windows is blocking the new installation due to security settings like Memory Integrity. Why the Error Persists After Restarting A standard reboot doesn't always clear the issue if:
Stale Services: An old WinDivert service is still registered but points to a file that no longer exists.
Security Blocks: Windows "Core Isolation" or antivirus software (like Sophos) is blocking the driver from loading.
Missing Files: The software is looking for WinDivert64.sys or WinDivert32.sys in the wrong directory. Step-by-Step Fixes 1. Manually Remove the Old Service
If Windows says you need a restart, it’s likely because it’s trying to overwrite a service that’s "marked for deletion." You can force this process using the command prompt: Open Command Prompt as an Administrator. Resolving the "WinDivert Driver Cannot Be Installed" Error:
Type the following commands one by one, pressing Enter after each: sc stop windivert sc delete windivert Use code with caution.
If these fail, try using the windivertctl tool by running windivertctl.exe uninstall from your application's directory. 2. Disable Core Isolation (Memory Integrity)
Modern Windows 10 and 11 security features can prevent "unsigned" or older drivers from loading. Go to Windows Security > Device Security. Click on Core isolation details. Toggle Memory Integrity to Off. Restart your computer and try running the software again. 3. Verify File Placement
WinDivert requires specific files to be in the same folder as your .exe. Ensure your program directory contains: WinDivert.dll WinDivert64.sys (for 64-bit systems) WinDivert32.sys (for 32-bit systems) WinDivert.inf
Tip: Some users found that manually copying WinDivert64.sys into C:\Windows\System32 resolved persistent installation errors. 4. Clean the Registry (Last Resort)
If the software still insists on a restart, you may need to clear the driver's registration manually: Open regedit (Registry Editor).
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert. Right-click and Delete the WinDivert folder. Restart your PC. Summary Checklist Old driver stuck Run sc delete windivert in Admin CMD. Windows Security block Turn off Memory Integrity in Core Isolation. Incompatible software
Temporarily disable antivirus like Sophos or specialized firewalls. Missing components Ensure .sys and .dll files are in the program folder.
Did you recently update Windows or install a new antivirus before this error started appearing? 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.
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
This error usually happens when a previous version of the WinDivert driver is still active or registered in a way that prevents a new installation
. While a restart often clears the driver from memory, it may not remove the service entry if it's stuck. Quick Fixes Run as Administrator
: Ensure the application requesting the driver is running with full Administrator privileges Manual Service Removal
: If a restart doesn't work, manually stop and delete the existing service using the Command Prompt (run as Admin): sc stop windivert sc delete windivert
Note: If you use a versioned name like "WinDivert1.0", use that exact name in the command. Check for Conflicts
: Antivirus software (like Sophos) can sometimes block the driver from loading. Try temporarily disabling your security software to see if the installation proceeds. Stack Overflow Advanced Solutions Clean Registry Entry
: If the service commands fail, you can manually remove the driver's registry key. Open and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert Delete this entry and then restart your computer Fix WMI Errors
: Some users have reported this error in relation to WMI (Windows Management Instrumentation) corruption. Tools like the Microsoft Activation Script (MAS)
have a "Fix WMI" feature that can resolve underlying system issues preventing the driver from installing. Verify Driver Signature : Ensure Windows
is enabled if you are using an unsigned or self-built version of the driver. Run Bcdedit.exe -set TESTSIGNING ON and restart. WinDivert not working on Windows 10 20H2 #253 - GitHub Open Device Manager → View → Show hidden devices
This error typically occurs when a previous version of the WinDivert driver is stuck in memory or its service registry entry is corrupted, preventing a new installation. 1. Clear Corrupted Registry Entries
Manual removal of the registry key is often the most effective fix for this specific "restart loop" error. Press Win + R, type regedit, and press Enter.
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert Right-click the WinDivert folder and select Delete. Restart your computer and try the installation again. 2. Manually Remove the Service
If the driver is "stubborn," you can force-delete the service via the Command Prompt. Open Command Prompt as an Administrator. Type the following commands, pressing Enter after each: sc stop WinDivert sc delete WinDivert
If your software uses a specific version (e.g., 1.4), use sc stop WinDivert1.4 and sc delete WinDivert1.4. 3. Disable Memory Integrity (Windows 10/11)
Windows Security features like Core Isolation can block WinDivert because it is a kernel-mode driver.
Go to Start > Settings > Update & Security > Windows Security. Select Device Security and click Core isolation details. Toggle Memory integrity to Off. Restart your PC. 4. Verify File Placement
WinDivert requires specific files to be in the same folder as the application trying to use it. Ensure these files are present in your program's directory: WinDivert.dll
WinDivert32.sys (for 32-bit systems) or WinDivert64.sys (for 64-bit systems) WinDivert.inf
Note: If you are using software like X-VPN or GoodbyeDPI, try uninstalling them entirely, restarting, and then performing a clean reinstallation.
Are you seeing a specific error code (like 110 or 577) alongside this message? 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 or a registry conflict prevents the service from initializing Quick Fixes & Troubleshooting Manual Service Reset
: Sometimes the driver is "registered" but not active. Run these commands in an Administrator command prompt: sc stop WinDivert sc delete WinDivert
Restart your computer and try launching the application again. Registry Cleanup
: If the error persists after a restart, there may be a stale registry entry. Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDivert
Delete this key and reboot. This forces Windows to recognize the driver as a fresh installation. Memory Integrity Conflict : Modern Windows 10/11 security features like Memory Integrity
(Core Isolation) can block WinDivert because it is a low-level kernel driver. Windows Security Device Security Core Isolation details
If enabled, try disabling Memory Integrity temporarily to see if the driver loads. Digital Signature Issues
: WinDivert requires a valid digital signature. Ensure you are using the correct version (64-bit for 64-bit systems) and that your Windows version is up to date. Some older Windows versions (like Windows 7 or early 10) may need specific SHA-2 patches to verify newer signatures. Stack Overflow WinDivert not working on Windows 10 20H2 #253 - GitHub
How to Fix "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’ve likely encountered a stubborn roadblock while trying to run software like GoodbyeDPI, certain VPNs, or network traffic injectors.
The frustrating part? Often, restarting your computer doesn’t actually fix it. This error usually stems from a driver conflict, leftover files from a previous installation, or Windows security blocking the driver from loading.
Here is a comprehensive guide to clearing this error and getting your software back up and running. 1. The Basic Restart (With a Twist)
Before diving into technical fixes, try a "Cold Boot." Windows 10 and 11 use a feature called Fast Startup, which saves the state of drivers to the disk instead of fully refreshing them during a "Shut Down."
The Fix: Don’t just click "Shut Down." Click Restart. This forces Windows to clear the kernel and reload all drivers, including WinDivert. 2. Manually Remove Old WinDivert Services
The most common cause is a previous instance of the WinDivert driver being "marked for deletion" but still hanging in the system's memory. Open the Command Prompt (CMD) as an Administrator.
Type the following command and hit Enter:sc stop windivert(It’s okay if it says the service isn't running.) Type this command and hit Enter:sc delete windivert
If you have used different versions of the driver, repeat this for windivert1.4 or windivert2.2 (depending on the version mentioned in your error). 3. Clear the Temporary Driver Files
WinDivert often extracts itself to your System32 folder or keeps a temporary handle in your Temp folder. Navigate to C:\Windows\System32\drivers. Look for a file named WinDivert64.sys or WinDivert.sys.
Delete it. (Note: You may need to restart in Safe Mode if the system says the file is currently in use).
Clear your temp folder by pressing Win + R, typing %temp%, and deleting the contents. 4. Check for Anti-Malware Interference Then install WinDivert before re-enabling others.
Since WinDivert interacts directly with the network stack, many Antivirus programs and Windows Defender flag it as "Potentially Unwanted Software" or a "Rootkit."
The Fix: Temporarily disable your real-time protection. If the software works afterward, you will need to add the folder containing your application (and the WinDivert.dll / WinDivert64.sys files) to your Antivirus Exclusion List. 5. Verify Digital Signature Requirements
Modern versions of Windows (especially 64-bit) require all drivers to be digitally signed. If you are using an older version of a tool (like an old GoodbyeDPI build), the WinDivert driver signature might be expired or revoked.
The Fix: Ensure you are using the latest version of the software that uses WinDivert. Developers frequently update the driver to ensure it complies with the latest Windows security certificates. 6. Check for Multiple Instances
If you are trying to run two different programs that both use WinDivert (e.g., a gaming VPN and a censorship circumvention tool), they will clash. WinDivert generally cannot be "installed" by two different processes at the exact same time.
The Fix: Close all network-related tools and try running only one at a time. Summary Checklist Restart (use the Restart button, not Shut Down). Delete the service via CMD (sc delete windivert). Update your software to the latest version. Exclude the folder from your Antivirus.
By following these steps, you should clear the "Must Restart" loop and allow the driver to hook into your network stack correctly.
Are you seeing a specific error code like 1722 or 5 alongside this message, or did this occur immediately after a Windows Update?
"WinDivert driver cannot be installed, you must restart your computer"
typically occurs when a software application that relies on the Windows Packet Divert (WinDivert) driver fails to load or update it
. This is common with VPNs (like X-VPN), specialized firewalls, network monitoring tools, and certain gaming software. Stack Overflow
The system often triggers this alert when an older version of the driver is still locked in the system's memory or has a conflicting registry path. 🛠️ How to Fix the WinDivert Driver Error
Follow these troubleshooting steps in sequential order to resolve the error. 1. Perform a Full System Restart
Before doing complex troubleshooting, restart your PC. This clears the system memory and releases any active locks on old driver files.
(Do not use "Shut Down", as Windows Fast Startup may prevent a complete driver reset). 2. Run the Program as Administrator
WinDivert operates at the kernel level and requires elevated privileges to install and run its driver.
Right-click the application shortcut causing the error and select Run as administrator Stack Overflow 3. Clear the Existing WinDivert Service
If a previous version of the driver failed to shut down properly, Windows cannot overwrite it with a new installation. You can force-stop and clear it via the command prompt: into the Windows search bar. Right-click Command Prompt and select Run as administrator Type the following command and press sc stop WinDivert Next, type this command and press sc delete WinDivert
Restart your computer and try running the target software again. 4. Turn Off Windows Memory Integrity
Modern Windows security protocols (like HVCI or Memory Integrity) can block kernel-level drivers that don't meet strict, updated visual signatures. Microsoft Support A driver can't load on this device - Microsoft Support
Troubleshooting the "WinDivert Driver Cannot Be Installed: You Must Restart Your Computer" Error
The WinDivert driver is a crucial component for various network monitoring and security tools, including Wireshark, Tcpdump, and others. However, some users may encounter an error when attempting to install the WinDivert driver, which states: "WinDivert driver cannot be installed: You must restart your computer." In this article, we will explore the possible causes of this error and provide step-by-step guides on how to resolve the issue.
What is WinDivert Driver?
The WinDivert driver is a Windows-specific driver that allows network packets to be diverted from the standard IP stack, enabling network monitoring and analysis tools to capture and process network traffic. The driver is designed to work with various network interfaces, including Ethernet, Wi-Fi, and others.
Causes of the Error
The "WinDivert driver cannot be installed: You must restart your computer" error can occur due to several reasons:
- Pending System Restart: When Windows updates or other system changes are pending, the operating system may require a restart to complete the installation. If the WinDivert driver installation is attempted before restarting the computer, the error may occur.
- Conflicting System Files: Corrupted or outdated system files can prevent the WinDivert driver from being installed. This can happen if other network drivers or software are not properly installed or have become outdated.
- Insufficient System Permissions: The user attempting to install the WinDivert driver may not have the necessary permissions or privileges to perform the installation.
- Driver Package Issues: Problems with the WinDivert driver package itself, such as corrupted files or incorrect installation scripts, can cause the installation to fail.
Troubleshooting Steps
To resolve the "WinDivert driver cannot be installed: You must restart your computer" error, follow these step-by-step guides:
6. Conclusion
The error "WinDivert driver cannot be installed; you must restart your computer" is fundamentally a protective mechanism against incomplete driver installation states. While a full reboot is the most reliable remedy, advanced administrators can manually clean pending file operations and driver registrations. Developers must adopt robust driver lifecycle management to avoid imposing unnecessary restarts on users. Ultimately, understanding Windows driver loading semantics transforms this cryptic error into a solvable system state issue.
Preventing the Error in the Future
Once you have successfully installed your application, follow these best practices to avoid seeing the "WinDivert driver cannot be installed" error again:
- Avoid multiple proxifiers/VPNs: Do not install two different programs that both rely on WinDivert. If you must, run them one at a time, but expect conflicts.
- Always restart after uninstalling: When you remove a VPN or proxifier, restart immediately. This allows the WinDivert driver to be fully unloaded.
- Use a dedicated script for updates: Some applications provide a
cleanup.batscript before updating. Always run these as Administrator. - Check for Windows Feature Updates: Major Windows updates (e.g., from 22H2 to 23H2) sometimes reset driver signing policies. After a feature update, reinstall your WinDivert-based software.
4.4 Conflict Resolution
Identify conflicting filters using:
fltmc filters | findstr /i "filter"
Temporarily disable non-Microsoft filter drivers via:
fltmc detach <filter_name> <volume>
Then install WinDivert before re-enabling others.
info@oberonsoft.com 