Jump to content

Recommended Posts

Guest Smith
Posted

Hi,

 

I'd like to use RASDIAL for automatic dial-up Internet connection. I've

checked KB article

http://technet2.microsoft.com/windowsserver/en/library/24d5d8bf-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.

  • Replies 3
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

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/windowsserver/en/library/24d5d8bf-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"

Guest Smith
Posted

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.

Guest Pegasus \(MVP\)
Posted

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.


×
×
  • Create New...