Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running a logon script in VPN

Posted on 2012-03-13
3
Medium Priority
?
1,145 Views
Last Modified: 2012-03-15
Before Windows 7, one could make a VPN connection using the Dial-up option to run logon scripts upon connection to the remote network.
With Windows 7, there seems to be no obvious way to do this.
Would an Expert kindly help?
Thanks
0
Comment
Question by:garychu
3 Comments
 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 37717296
I wrote this script a long time ago, but it might be applicable to your situation.  It uses WMI event monitoring to detect when a VPN connection is made and runs a logon script: http://desktopengineer.com/vpnraslogonhook2
0
 
LVL 11

Accepted Solution

by:
sysreq2000 earned 2000 total points
ID: 37717430
After you hit ctrl-alt-del click on switch user, then a network logon icon should appear on the bottom right, click on that and your VPN connections should become available to log into.
0
 

Author Closing Comment

by:garychu
ID: 37724152
Thanks, exactly as described.
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question