Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Description of the SET Command in Recovery Console
Article ID: 235364 - View products that this article applies to.
This article was previously published under Q235364
NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy
This article describes the set command in Recovery Console and how to enable it before starting Recovery Console.
You can use the set command in Recovery Console to display or modify four environment variables. You can set each of the four environment variables to TRUE or FALSE. TRUE is turned on; FALSE is turned off and is always the default setting.
The Syntax for the set command is:
set variable = true or falseNOTE: Be sure to use a space on each side of the equal sign. If you do not, the set command returns a "syntax error" message and does not work.
The variables, when set to TRUE, have the following meanings:
Before you can change any of the environment variables to TRUE, you must enable the set command option using one of the following Windows security tools:
The SET command is currently disabled. The SET command is an optional Recovery Console command that can only be enabled by using the Security Configuration and Analysis snap-in.
After you enable the security policy, it must be applied (possibly across the domain) before becoming the effective policy on the local computer. This is necessary before the set command is truly enabled and available for use during a Recovery Console session.
You can run the following command to force a refresh of the local computer's policy after performing the policy change listed above:
secedit /refreshpolicy machine_policyAfter the local policy is refreshed and the enabled Recovery Console security policy is in effect, you should be able to start Recovery Console and use the set command to enable any of the four environment options.
For additional information about other commands or general information about Recovery Console, click the article number below to view the article in the Microsoft Knowledge Base:
229716For additional information about security policies, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/229716/EN-US/ )Description of the Windows 2000 Recovery Console
(http://support.microsoft.com/kb/227448/EN-US/ )Using Secedit.exe to Force Group Policy to Be Applied Again
(http://support.microsoft.com/kb/216735/EN-US/ )Methods Used to Apply Security Settings Throughout an Enterprise