다음을 통해 공유


RestartHour

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

RestartHour and its companion setting, RestartMinute, are used to specify the time to perform automatic daily system maintenance to optimize the performance of Windows Media Center.

Note

The RestartEnabled setting must be set to true in the oobeSystem configuration pass for restartHour to have any effect.

Values

Value

Specifies the hour at which to perform automatic, daily system maintenance. The default setting is 4.

Valid Configuration Passes

specialize

Parent Hierarchy

Microsoft-Windows-ehome-reg-inf | RestartHour

Applies To

For the list of the Windows editions and architectures that this component supports, see Microsoft-Windows-ehome-reg-inf.

XML Example

The following XML output shows how to configure Windows Media Center settings in the specialize pass.

<BindNavHintsToToolbars>true</BindNavHintsToToolbars>
<Color>16711680</Color>
<DisableComplexStretchesOnConsole>true</DisableComplexStretchesOnConsole>
<DisableExpressSetup>true</DisableExpressSetup>
<DisableHighResolutionCheck>1920x1200</DisableHighResolutionCheck>
<DisableVolumeDisplay>true</DisableVolumeDisplay>
<EnableSPADLaunchErrors>false</EnableSPADLaunchErrors>
<FontSize>96</FontSize>
<HKCUuseDefaultOverscanMargins>true</HKCUuseDefaultOverscanMargins>
<HKLM10FtOOBE>true</HKLM10FtOOBE>
<HKUSERSuseDefaultOverscanMargins>true</HKUSERSuseDefaultOverscanMargins>
<MuteTimeout>10000</MuteTimeout>
<NoDevDiscBalloon>true</NoDevDiscBalloon>
<OCURProductKey>AAAAABBBBBCCCCCDDDDDEEEEE</OCURProductKey>
<RestartHour>2</RestartHour>
<RestartMinute>15</RestartMinute>
<TBP>true</TBP>
<Timeout>6000</Timeout>

See Also

Concepts

Microsoft-Windows-ehome-reg-inf