Configuring the Restarting Page Timeout
You can use registry key values to modify the default behavior of SA_ServeRestartingPage. Some computers take a long time to shut down so the initial delay needs to be long enough to ensure that at least the computer has shutdown IIS.
Under the HKLM\SOFTWARE\Microsoft\ServerAppliance\WebFramework key, you can add the following registry values to configure the restarting page timeout.
Value | Type | Description |
---|---|---|
RestartInitialDelay | DWORD | Time in milliseconds for the initial delay (T1). The default value is three minutes. |
RestartRetryDelay | DWORD | Time in milliseconds for the retry delay (T2). The default value is 15 seconds. |
RestartTaskDelay | DWORD | Time in milliseconds for delay before the back-end Shutdown task executes the shutdown/restart. This value needs to be long enough to allow the restarting status page to be sent to the client. The default value is 20 seconds. |
Note
- The first two registry values are used with SA_ServeRestartingPage, which should be called SA_DEFAULT for most parameters. The last registry value is used with the shutdown task.