Export (0) Print
Expand All

Sc boot

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Indicates whether the last boot should be saved as the last-known good boot configuration.

For examples of how to use this command, see Examples.

sc [<ServerName>] boot [{bad | ok}]

 

Parameter Description

<ServerName>

Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \\myserver). To run SC.exe locally, omit this parameter.

{bad | ok}

Specifies whether the last boot was bad or whether it should be saved as the last-known good boot configuration.

?

Displays help at the command prompt.

To mark the last boot as the last-known good boot configuration, type:

sc boot ok 

To mark the last boot as bad, type:

sc boot bad

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft