Automate VPN Login?

G

Guest

I am using XP to VPN into my corp network from remote workstations. I would
like to put the following into the startup group so the users don't have to
worry about connecting; VPN Connection, Drive Map Batch File, Outlook.
Sometimes it works, sometimes it doesn't; it depends on how fast the VPN
connects. I know I can delay the drive map batch by starting with a "WAIT"
command but how do I delay the start of Outlook? Also, when the VPN connects
through the startup group I do not get the connection icon in th systray even
though it is connected.

Thanks in advance for your help.
 
A

allan_grossman

markmidwest said:
I am using XP to VPN into my corp network from remote workstations. I would
like to put the following into the startup group so the users don't have to
worry about connecting; VPN Connection, Drive Map Batch File, Outlook.
Sometimes it works, sometimes it doesn't; it depends on how fast the VPN
connects. I know I can delay the drive map batch by starting with a "WAIT"
command but how do I delay the start of Outlook? Also, when the VPN connects
through the startup group I do not get the connection icon in th systray even
though it is connected.

Thanks in advance for your help.

Hi, Mark -

The answer is probably to use vbscript instead of a batch file -
although there is a way to get a batch file to wait X seconds before
continuing it's probably not the best way to get what you want - the
only way I can think of to do it is to use a 'choice' command to do the
countdown and even then your batch file will continue to execute at the
end of the countdown even if things aren't finished connecting.

I think you can find part of what you want here -

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp

and the rest of it by hollering at the
microsoft.public.scripting.vbscript newsgroup unless someone here's got
a ready made example.

Good luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top