How to Remove the Restart your Computer now dialog box

Martin Brinkmann
Jun 28, 2006
Updated • May 6, 2013
Windows, Windows tips

One of the most annoying dialogs of the Windows operating systems is the restart dialog that the operating system displays as a notification whenever it has installed updates on the system that require a restart. This is the original message was displayed on Windows XP systems:

Updating your computer is almost complete. You must restart your computer for the updates to take effect. Do you want to restart your computer now?

This message pop ups at the end and immediately gets the focus, even if you are in a game or watching a full screen movie. You have the option to restart now or later. The first would result in an immediate reboot while the second would nag you again in 10 minutes. This will be annoying if you can't reboot your computer at that time.

The dialog box can be configured in the following policy:

  • Use the Windows-R shortcut to bring up the run box of the operating system.
  • Type in gpedit.msc and hit the enter key to load the Group Policy.
  • Navigate to the following preference: Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Windows Update / Re-prompt for restart with scheduled installations
  • Note that the Group Policy is only available on select editions of the operating system.

windows update reprompt for restart

  • Double-click the value here to bring up its configuration window.
  • You can disable the update notification completely, or instead define a time period before you are prompted again.
  • So, either turn it off completely, or change the time period to several hours instead.

reprompt for restart with scheduled installations

You can also set the following registry key to 1 for the same effect. This is useful for users who cannot use the Group Policy to make the modification.

  • Use the Windows-R shortcut to bring up the run box.
  • Type regedit and hit the enter key afterwards.
  • Navigate to the following Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  • Right-click the key and select New > Dword and name it NoAutoRebootWithLoggedOnUsers
  • Double-click the newly created DWord and set it to 1.
  • Right-click the key and select New > Dword and name it RebootRelaunchTimeout
  • Double-click the newly created DWord and set it to 5a0.
  • Right-click the key and select New > Dword and name it RebootRelaunchTimeoutEnabled
  • Double-click the newly created DWord and set it to 1.

Update: Microsoft has changed the way the operating system handles the automatic rebooting of the system. One change is the ability to post-pone the reboot for a longer period. The maximum is 4 hours, which means that users will still be nagged every 4 hours to reboot the system.

Check out our updated guide: How To Disable Restart Your Computer To Finish Installing Important Updates Prompt which explains how you can disable the reboot prompt completely for the session. It describes two options to block the restart your computer dialog, one that is blocking it for the session, and another that is blocking it completely for the logged in user.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Abet said on September 13, 2011 at 8:13 am

    What type of data is this NoAutoRebootWithLoggedOnUsers thing?

  2. Martin said on August 9, 2006 at 8:37 pm

    Try to add the registry key if it is not there, that could help. Backup your registry before.

  3. kamagurka said on August 9, 2006 at 3:19 pm

    OK, I don’t have gpedit.msc, that much I get. But why the hell don’t I have that registry key?

  4. Vinnie said on July 2, 2006 at 7:03 pm

    gpedit.msc should be in your C:\WINDOWS\system32 folder, if it’s not there, I’m afraid you don’t have it, which means your running XP Home

  5. Martin said on July 2, 2006 at 12:39 pm

    Chad windows xp home does not have gpedit.msc, are you running this by chance ?

  6. Chad said on June 30, 2006 at 8:49 am

    You know what the funny thing is? I tried to run and then search for gpedit.msc and I don’t have it. If you know why that might be, let me know.

  7. Vinnie said on June 29, 2006 at 8:49 pm

    Thanx 4 this!
    And I can see a lot of other cool settings.
    So I made a shortcut of C:\WINDOWS\system32\gpedit.msc and copied it to my start menu :)

  8. Luke said on June 28, 2006 at 9:32 pm

    Thanks for the tip. I actually didn’t realize you could set this up manually in the Policy Manager. I always figured you just have to change that one obscure key in the registry. Cool!

    I think that nagging dialog is one of the most annoying windows “features” ever. I would say it is second only to that MS Office Clippy abomination :P

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.