major4579 0 Posted ... Windows 10 Pro computer. I start the VPN with: "Eddie-UI.exe --path=home --batch --netlock --connect --netlock.allowed_ips=192.168.1.10" My computer is set to turn off in the early hours. When it does the netlock action is still active, the next day when I start my computer I have to start Eddie and click on "Deactivate Network Lock" and then I will have internet access. Is there a simple batch file command I can run before the computer shutsdown to Deactivate the Network Lock and cleanly exit Eddie? Sorry for the newbie questions. Thanks, Marc Quote Share this post Link to post
Staff 10707 Posted ... Hello! When Windows shuts down, it closes Eddie before Eddie can disconnect and remove its Network Lock rules. With Fast Startup enabled (the Windows 10 default), Shut down does not fully reset the system, so the leftover rules are still active when you power on the computer the next day. When Eddie exits normally, it disconnects and removes the Network Lock by itself, so the solution is to let Eddie exit before Windows shuts down. 1. Add --gui.exit_confirm=False to your launch command, so that Eddie does not ask for a confirmation when it is closed: Eddie-UI.exe --path=home --batch --netlock --connect --netlock.allowed_ips=192.168.1.10 --gui.exit_confirm=False 2. Replace your scheduled shutdown with a scheduled task (Task Scheduler) that runs this batch file: @echo off taskkill /IM Eddie-UI.exe set /a n=0 :wait timeout /t 5 /nobreak >nul tasklist /FI "IMAGENAME eq Eddie-UI.exe" | find /I "Eddie-UI.exe" >nul || goto off set /a n+=1 if %n% lss 12 goto wait :off shutdown /s /t 0 taskkill without /F asks Eddie to close as if you had chosen Exit: Eddie disconnects, removes the Network Lock and exits. The batch file waits up to one minute for Eddie to exit, then shuts the computer down. In the task properties, run it under your own account with "Run only when user is logged on" and "Run with highest privileges", so that taskkill can reach the Eddie window. Please let us know whether the Network Lock is gone the next morning. Kind regards Quote Share this post Link to post
major4579 0 Posted ... Thank you - that looks just like what I want. I've set it up but will not know until tomorrow. Quote Share this post Link to post
major4579 0 Posted ... (edited) Nope, didn't work. my startup command is now: Eddie-UI.exe --path=home --batch --netlock --connect --netlock.allowed_ips=192.168.1.10 --gui.exit_confirm=False and I setup the batchfile to run in the Task Scheduler. But the next day (today) the Network Lock was still Active. I had to start Eddie-UI and Deactivate the Network Lock before I had access to the internet. I just realized that I had not checked "Run with Highest Privileges". I'll check it out tomorrow morning. Anything else to try? Thanks, Marc Edited ... by major4579 more info Quote Share this post Link to post
major4579 0 Posted ... OK that didn't work - I had set the shutdown task to "Run with Highest Privileges", but the netlock was still active the next morning. Is there a command line switch for eddie to 1) deactvate netlock and 2) then exit? Thanks. Marc Quote Share this post Link to post
pHxaq 4 Posted ... On 11/13/2026 at 10:25 AM, major4579 said: Anything else to try? Had a frustrating time after closing the Eddie app on Windows 10 recently—I lost internet access immediately. Switching Wi-Fi didn't help. I tried reopening the app first, which restored the connection, but closing it normally dropped the internet again. The key was checking the DNS settings. They were pointing to an unknown server. I changed the setting to "Obtain DNS server address automatically," and that fixed the issue instantly after I closed the app. Follow these steps to locate and modify your DNS configuration: Open Network and internet settings. Navigate to Advanced network settings. Click Change adapter options. Right-click on your active Wi-Fi adapter and select Properties. Select Internet protocol version 4. The DNS settings will be visible in the properties window. Quote Share this post Link to post