Windows Vista/7:
- Start -> search for gpedit.msc or search Run, select it, and then type gpedit.msc
- Now drill down as follows: Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
- Double click on “No auto-restart for scheduled Automatic Updates installations”
- In the dialogue box that comes up, select “Enabled” and click “OK”