Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recently attempted to do this while burning an Ubuntu ISO to a USB stick - the restart countdown will still progress even if the update server is off.

Shutdown -a didn't work either.



There are a couple other methods too. There's a group policy setting (that you can define on a standalone system), gpedit.msc which says "No auto-restart with logged on users for scheduled automatic updates installations".

There's also a registry key..

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

Dword: NoAutoRebootWithLoggedOnUsers: 1


Great tip, thanks.

Here is the full path, pretty straight-forward.

  Local Computer Policy
  + Computer Configuration
    + Administrative Templates
      + Windows Components
        + Windows Update
          + No auto-restart with logged on users for scheduled automatic updates installations
            + Enabled




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: