|
You guys have helped me several times before, and I was hoping that someone out there might have a suggestion on how to do what I need to accomplish. Basically I need to have the Windows XP laptops I maintain run a script when they connect to the 802.11 network. Unfortunately I cannot be sure the end user will bring the laptop into the office, and run a logon script because they usually never log off the laptop. They just close the lid, which puts it into suspend mode. When they come into the office, they wake up the computer, and unlock it, but they do not do a true logon so no logon script runs. I thought about just using a loop that pings a network address and if it gets a response, then assume it is connected and call another script located on a network server, but for technical reasons I cannot do this. (The laptops also have sattelite access which is horrendously expensive, and every ping has an actual monetary cost. Besides, the ping would always be succesful.) So I imagine something running locally to the laptop that can query the OS and determine that 802.11 is connected and then call the script. I was thinking of using WMI to somehow determine the state of the Wireless connection, but I don't know if this would be the best approach. Any ideas?
|