Jump to content

How to run a script after connecting to a wireless network


Sandman01
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 year later...

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy