Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want my Windows 7 to install updates without asking me except while it is connected to the internet with a cellular network. How can I do that?

share|improve this question
add comment

1 Answer 1

You could use NetProfiles along with a batch script to disable automatic updates when you connect to the specified network. The script would look like this:

reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f

Then have this script run upon connection to any other network (re-enable automatic updates)

reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f

Save the first as something like off.bat and the second as on.bat and configure NetProfiles to run them.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.