That's certainly an effective solution. If you want to disable all network traffic. If your main problem is Windows update, you just need to turn off the Automatic Updates service. That's the item that notifies you of updates. You're probably in a network environment that has group policies set up so that computers install patches and then reboot the computer regardless of what the user is doing. Very bad IT policy. I have a similar group policy set up in the network here at work, but I have the patches downloaded and installed at 3 AM, and the computers will reboot only if nobody is logged in.
Anyway, you can stop the Automatic Updates service with the "net stop" command. So, use System Exec to execute the following command: "net stop wuauserv" at the start of the application, and then use it again to execute "net start wuauserv" when the program completes:

Note: This may violate your IT policy. You may also need administrative rights on the computer to do this - this depends on your version of Windows.
Message Edited by smercurio_fc on
11-09-2007 01:20 PM