Sandman01 Posted August 22, 2010 Report Share Posted August 22, 2010 Hello, I am trying to figure out how I can run a script, whether it be a shell script or powershell script, after I connect to a wireless network. Using the group policy editor and adding a logon script before boot would not work. This task is pretty simple in linux using wicd as a daemon, however my spouse is running Windows 7 and I can't seem to find support for this anywhere. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
Sandman01 Posted August 22, 2010 Author Report Share Posted August 22, 2010 After browsing through all of the control panel, I have found a way to do what I wanted to do. You have to use the task scheduler to do this. You must create a schedule with the Trigger of "Microsoft-Windows-NetworkProfile/Operational" and under conditions check the box that says "Start only if the following network connection is available. I hope that this helps you guys out there, as it did me. Sorry for posting when I should have just spent more time browsing. Quote Link to comment Share on other sites More sharing options...
Richard86 Posted September 29, 2011 Report Share Posted September 29, 2011 After browsing through all of the control panel, I have found a way to do what I wanted to do. You have to use the task scheduler to do this. You must create a schedule with the Trigger of "Microsoft-Windows-NetworkProfile/Operational" and under conditions check the box that says "Start only if the following network connection is available. I hope that this helps you guys out there, as it did me. Sorry for posting when I should have just spent more time browsing. Thank you very much. This helped me. You're a genius! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.