Disable service or startup program based on hardware profile?
Posted on 2004-04-23
I want to disable the VPN client for my users when they attach to the LAN. I want it always active when they are off the LAN.
two ways stop the client. Moving MUVPN icon out of the start menu. OR stopping two services that are installed w/ the client.
I do not want the clients to enable/disable manually. I am afraid they will forget to enable it and I want all traffic comeing
back to our main office for security purposes. If the client is active while on the LAN no network resources work.
Know a way I can do this via group policy?
Or a script that can tell if the Laptop is docked or something? (maybe by hardware profile?)
I dont expect it to be able to tell if its on the network. I would be satisfied if when it is docked it would be disabled,
and enabled when not docked.