0
I wrote a batch file with the content as below
c:\Windows\System32\rasdial.exe "VPN Connection" "username" "password" /domain:testdomain 1>>d:\vpn.log 2>>&1
echo. >>d:\vpn.log
I created a Task (using Windows Task Scheduler) and call the batch file, but couldn't connect to the VPN.
In the vpn.log, it prints the error message:
Remote Access error 623 - The system could not find the phone book entry for this connection.
Could anyone advise how do I resolve this issue? I am using Windows 10, build 1809.
It is not a task scheduler problem. It is not a privileges problem. Try this
– somebadhat – 2019-11-17T17:29:01.670