How do I, in the registry, change Win7's restart countdown to 255 hours?

0

I remember reading it somewhere but couldn't google it out anymore. Would someone be kind enough as to tell me?

Roy

Posted 2016-11-04T01:08:41.563

Reputation: 1

What restart countdown are you talking about? For updates? – Bob – 2016-11-04T01:10:22.837

Schedule updates to install at off-hours instead. – ivan_pozdeev – 2016-11-04T01:15:04.750

@ivan_pozdeev There are other reasons to prefer a long restart timeout - for example, if you leave your machine on overnight you might want a couple day warning before restart so you can properly save and close all your work. – Bob – 2016-11-04T01:19:19.490

Answers

0

Assuming you're talking about the Windows Update restart timeout, that's actually a Group Policy setting. If you are using a Pro/Enterprise/Ultimate edition of Windows, you can change this in gpedit.msc. The setting is available under Computer Configuration\Administrative Templates\Windows Components\Delay Restart for scheduled installations.

If you are on a Home edition of Windows, you can try changing the setting directly inside the registry. Note that this might not work if your Windows edition does not support these settings at all (e.g. Windows 10 Home ignores some update settings). You can find the corresponding registry value by downloading the Group Policy Settings Reference. In this case, it is HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU!RebootWarningTimeoutEnabled and HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU!RebootWarningTimeout.

Bob

Posted 2016-11-04T01:08:41.563

Reputation: 51 526

0

If you are talking about the restart for updates, you can disable the restart when there are logged on users.

As usual, be careful when playing around with registry changes. Briefly, the point is the creation of a 32-bit DWORD called NoAutoRebootWithLoggedOnUsers with a value 1. This DWORD must be at this key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

Ailton Andrade de Oliveira

Posted 2016-11-04T01:08:41.563

Reputation: 111