VPN logon script when connection initiated


I would like a VPN connection to run a logon script when connected. Currently when a  user logs onto the domain locally, it runs a logon script where it maps some network drives. The logon script is initiated in the user profile in the login script section in active directory.

Does this happen when a vpn connection is made? or would you be able to map some drives automatically?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Not easily.

If you are using windows xp, users can connect to VPN prior to logging on to computer.  Then the scripts will run automatically.

If not, you can create a script to run the Cisco VPN from the command line and then map the drive.
Rakz0rAuthor Commented:
sorry, but i thought u could only connect  to vpn via network connections? i will not be having terminal services.
I was thinking that you were using Cisco to provide a VPN connection.  My bad.

What is acting as VPN server?
Do You Have a Trusted Wireless Environment?

A Trusted Wireless Environment is a framework for building a complete Wi-Fi network that is fast, easy to manage, and secure.

Rakz0rAuthor Commented:
windows server 2003. only a small company with artound 12 pc's
Rakz0rAuthor Commented:
ok i have found my solution. I can use CMAK to achieve this. for those would want to know, below is the web address. i have tested it, and works fine.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.