There may be such a need. When we are in the company, we need to enable the gateway verification program after connecting to the company's network, and enable the VPN after connecting to the network at home. That is, you want to execute certain programs when connecting to a specific network. Step 0 of www.2cto.com. Clarify the preparations: when the network changes, some events will be recorded, and the specific programs we execute will be recorded after some specific events. Related procedures: Control Panel-management tools-view log events, control panel-management tools-scheduled tasks [01] [02] Step 1. connect to the network and obtain the ID of a specific event.
On www.2cto.com, view the left-side tree of the NIC connection log event: Application and service logs-Microsoft-Windows-WLAN-AutoConfig-Operational. First, clear the logs and connect to the company's network. Next we can see a series of events. [11] confirm the SSID of the corresponding network from the event details. (The IDs of network events are different.) [12] Step 2. attach the operations of the execution program to [21] after a specific event occurs. Then, you can view the corresponding event [22] www.2cto.com in the scheduled task.
Step 3. When the network is disconnected, close the program that is executed in the previous step and clear the Microsoft-Windows-WLAN-AutoConfig-Operational logs when the network connection is normal, and then disconnect the network. Find the corresponding event ID and repeat Step 2.