To do this we will run the following command:Ĭ:\Windows\System32\ras>type temp.txt > rasphone.pbk Now we will append this onto the rasphone.pbk file that may or may not exist depending on if you already have network connections configured or not. ![]() Make a new line and press Ctrl Z to finish and save. So replace CONNECTION NAME and with the desired connection name and the vpn server address you want. ![]() Now it will let you type the contents of the file, which should look like this: Now it's time to create a temporary file with our connection info that we will then append onto the rasphone.pbk file that will allow us to use the rasdial command.Ĭ:\Windows\System32\ras>copy con temp.txt ![]() ![]() So here we go, open up the prompt (as an adminstrator) and go to your System32 directory. ****Note that you probably have to run cmd.exe as an administrator for this to work** I know this is a very old thread but I was looking for a solution to the same problem and I came across this before eventually finding the answer and I wanted to just post it here so somebody else in my shoes would have a shorter trek across the internet.
0 Comments
Leave a Reply. |