RASDIAL sintax

  • Thread starter Thread starter Smith
  • Start date Start date
S

Smith

Guest
Hi,

I'd like to use RASDIAL for automatic dial-up Internet connection. I've
checked KB article
http://technet2.microsoft.com/windo...fe87-498c-b485-7c249affcc721033.mspx?mfr=true
but regarding this text I cannot establish automatic connection.

RASDIAL says
rasdialConnectionName [UserName [{Password | *}]] [/domain:Domain]
[/phone:PhoneNumber]

I tried to use:
rasdial CONNECTION_NAME username [{password}]
but there was an error message "Remote access error 691, username or
password is invalid"

I'm 100% sure that username and password are correct (tried with manual
dial-up connection), so definitely I missed RASDIAL syntax.
Please help.

Thnx.
 
Re: RASDIAL sintax


"Smith" <Smith@com.com> wrote in message
news:ea7W18WrIHA.1316@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I'd like to use RASDIAL for automatic dial-up Internet connection. I've
> checked KB article
> http://technet2.microsoft.com/windo...fe87-498c-b485-7c249affcc721033.mspx?mfr=true
> but regarding this text I cannot establish automatic connection.
>
> RASDIAL says
> rasdialConnectionName [UserName [{Password | *}]] [/domain:Domain]
> [/phone:PhoneNumber]
>
> I tried to use:
> rasdial CONNECTION_NAME username [{password}]
> but there was an error message "Remote access error 691, username or
> password is invalid"
>
> I'm 100% sure that username and password are correct (tried with manual
> dial-up connection), so definitely I missed RASDIAL syntax.
> Please help.
>
> Thnx.


Try this:
1. Create a dial-up connection via the Control Panel / Network Connections.
Call it "SmithTest".
2. Test it.
3. Open a Command Prompt.
4. Use notepad to examine this file:
"%AllUsersProfile%\Application
Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"
Does it contain the entry "SmithTest"?
5. Run this command:
rasdial SmithTest {UserName} {Password}
/phonebook:"%AllUsersProfile%\Application
Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"
 
Re: RASDIAL sintax

> Try this:
> 1. Create a dial-up connection via the Control Panel / Network
> Connections.
> Call it "SmithTest".
> 2. Test it.
> 3. Open a Command Prompt.
> 4. Use notepad to examine this file:
> "%AllUsersProfile%\Application
> Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"
> Does it contain the entry "SmithTest"?


Yes.

> 5. Run this command:
> rasdial SmithTest {UserName} {Password}
> /phonebook:"%AllUsersProfile%\Application
> Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"


IT IS WORKING!!!! Thanks!!!

Thank you very very much.
 
Re: RASDIAL sintax


"Smith" <Smith@com.com> wrote in message
news:%23aBw4ijrIHA.2188@TK2MSFTNGP04.phx.gbl...
>> Try this:
>> 1. Create a dial-up connection via the Control Panel / Network
>> Connections.
>> Call it "SmithTest".
>> 2. Test it.
>> 3. Open a Command Prompt.
>> 4. Use notepad to examine this file:
>> "%AllUsersProfile%\Application
>> Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"
>> Does it contain the entry "SmithTest"?

>
> Yes.
>
>> 5. Run this command:
>> rasdial SmithTest {UserName} {Password}
>> /phonebook:"%AllUsersProfile%\Application
>> Data\Microsoft\Network\Connections\Pbk\rasphone.pbk"

>
> IT IS WORKING!!!! Thanks!!!
>
> Thank you very very much.


Thanks for the feedback.
 
Back
Top