Posted 28 July 2010 - 10:08 AM
Is there a way to run an application when the pc connects to a wireless network ? If so, then that program (that is run when connected to a wireless lan) would also need access to the name (SSID) of the wireless network that the computer is connected to, so it can do specific tasks depending on which wireless lan is connected.
Specifically I want to run nvspbind application (from Microsoft) in order to enable/disable "File and printer sharing" and "Client for Microsoft Networks" on my WLAN adapter, depending on what wireless network I am in. I do not trust all wireless networks, so I would prefer disabling the above two components while I am on an untrusted network, because those are not needed and are also security holes. And I don't want to do that manually. I did not find a way to automate this process.
Thank you in advance