Can I set my VPN conection to connect automatically when I log on? - Microsoft Community


have vpn connection set in windows 10 build 15019 , wanting it to connect automatically. right having go settings, network & internet, vpn, , manually connect. possible?

generally, devices wanted connect vpn connection should set manually. steps provided allows device automatically detect username , password set vpn connection.

if want set device automatically connect vpn network, recommend use task scheduler. allow schedule device connect , disconnect vpn connection using rasdial.exe command.

kindly follow steps below:

  1. type task scheduler in search bar.
  2. click task scheduler.
  3. on pop-up window, under actions tab, click create task....
  4. general tab.
    1. provide logical name task such auto vpn.
    2. under security options, click run wether user logged on or not.
    3. click run highest privileges.
    4. on configure for drop-down, select windows 10.
  5. triggers tab.
    1. click new....
    2. on begin task drop-down, select at startup.
    3. (optional) enable delay task for , set 5 minutes. gives device chance idle down before connecting vpn.
  6. actions tab.
    1. click new....
    2. under program/script:, type c:\windows\system32\rasdial.exe. can browse files if default windows install directory different.
    3. on add arguments (optional) field, enter vpn connection name. if vpn connection name has spaces, need wrap in quotes. may need append vpn connection's username , password if required.
  7. conditions tab.
    1. untick options under tab.
  8. click ok, , restart your pc.

let know if works.

thanks.



Windows Insider Program / Windows Insider Preview / Web and networks / PC



Comments

Popular posts from this blog

Windows 10 does not have any of my previous Windows 7 email address. - Microsoft Community