Re: Autodialing for authentication

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kancharla vamshi krishna [MSFT] (vamshika_at_online.microsoft.com)
Date: 07/09/04


Date: Fri, 9 Jul 2004 15:15:05 +0530


 Hi Pedro,

      U can disable the connection query by using RasApis.

  Use "RasSetAutodialParam" API . Set dwKey to
"RASADP_DisableConnectionQuery" and "lpvValue" to 1.
After doing this u will be able to dial the default connection
automatically.

 U can set a connection as "default connectio" by using the Api
"RasSetAutodialAddress".
 U can enable the autodial on a machine by using "RasSetAutodialEnable".

  For Details u can see the MSDN documentation for RasApis.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/rassetautodialenable.asp

Reply back if there are any problems,

Thanks,
vamsi.

-- 
-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
"Pedro Lima" <Pedro Lima@discussions.microsoft.com> wrote in message
news:63F04EFB-A83F-4BB7-8F75-C141A57E7E96@microsoft.com...
> I am having a little difficult time here to configure an autodial for
login thought a VPN connection. I have already configured the
AutoAdminLogon, DefaultUserName, DefaultDomainName and DefaultPassword
registry keys fro winlogon to automate the login process, but I simply
cannot automate the dialin process (I still have to click on the VPN
connection in "Choose a network connection" dialog box). I need this login
process to happen through RAS and need it completely automated - this
machine will be in a public place and requires that even in power failures
the system will reconnect without any human intervention.
>
> Does anybody have a light ? I am sure that there must be a registry key or
whatever that hides this dialog box or that sets a default dial-out
connection so it doesn't ask me which I will use (by the way, it is the only
dial-out connection, so I guess the system would not need to ask me which).
>
> Greatings for all,
>
> Pedro Lima


Relevant Pages

  • Re: Autodialing for authentication
    ... U can set a connection as "default connectio" by using the Api ... "Pedro Lima" wrote in message ... I have already configured the AutoAdminLogon, DefaultUserName, DefaultDomainName and DefaultPassword registry keys fro winlogon to automate the login process, but I simply cannot automate the dialin process. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Take heart Sox fans
    ... Pedro decided to pass the torch to him. ... Where is Darren Lewis when you need him... ... What's the connection? ... Darren's awesome offense? ...
    (alt.sports.baseball.bos-redsox)
  • Re: Winsock.ocx
    ... have you given UDP sockets a try instead of TCP ones? ... Pedro ... > When i open connection to host and send data, ... > closes connection, but for some ...
    (microsoft.public.vb.controls)
  • Re: Automating the POP3 Connector
    ... I connect to the server via Terminal Services, go to the POP3 ... Connection, go to the properties, go to the proper tab, then press retreive ... I would rather automate this using Code, a script or write a custom ...
    (microsoft.public.windows.server.sbs)
  • Re: Autodialing for authentication
    ... ction of disabling that dialog box. ... Pedro Lima ... U can disable the connection query by using RasApis. ... > cannot automate the dialin process (I still have to click on the VPN ...
    (microsoft.public.win2000.ras_routing)