There are some features that Windows 10 doesn’t have by default, but are possible to achieve through other ways. We’re going to use the Windows Task Scheduler to schedule rasdial.exe or rasphone.exe, depending on your preference, to run whenever the VPN reports Event ID 20226.
Click Start search for Task Scheduler. (If nothing shows up, I’d suggest you read this article about Slow Windows 10 Search.)
Once Task Scheduler is open, click Create Task in the right sidebar (>).
Choose a name for it, VPN Reconnect is what I use. Click Change User or Group and write in your Windows username in the field (do this every time you edit the task). Also make sure everything else is like the image.
Click the Triggers tab and click on New and enter the settings from the image below.
Now go to the Actions tab, click on New, and fill out the form with this information.
VPN: VPN connection name
USER: VPN username
PASS: VPN password
If you don’t want to leave your password in plain sight, use these settings.
Note: You will need to click on Connect, it won’t reconnect automatically.
VPN: VPN connection name
Next is the Conditions tab.
If it’s successful, whenever your VPN disconnects, it will automatically reconnect, or you’ll see this window, where you’ll have to click on Connect.
The post Windows 10 VPN Reconnect Automatically appeared first on Rushtips.com.