Valtinho
Valtinho

Reputation: 327

Rasdial on Windows 7 Professional 64bit - This function is not supported on this system

I am trying to run a simple command prompt line to connect to an existing VPN connection. From a command prompt, I type:

rasdial /?

...and can see the rasdial help fine. So, then I try the following command with my real information in the right spots:

rasdial "MYVPNNAMEHERE" "MYNETWORK\MYUSERNAME" "MYPASSWORD"

But I get the following error:

This function is not supported on this system

Does anybody know how I can fix this?

Upvotes: 0

Views: 2277

Answers (1)

Valtinho
Valtinho

Reputation: 327

I just found the answer to my own question. Passing the network name in the username is what was causing the error. The correct syntax is:

rasdial "MYVPNNAMEHERE" "MYUSERNAME" "MYPASSWORD" /DOMAIN:MYNETWORK

I hope this helps someone.

Upvotes: 1

Related Questions