Description of the SET Command in Recovery Console
This article was previously published under Q235364
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
This article has been archived. It is offered "as is" and will no longer be updated.
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:
- allowwildcards: Allows you to use wildcards with some commands (such as "del *.bak".
- allowallpaths: Allows you to change directories (the cd command) to include all folders on all drives.
- allowremovablemedia: Allows you to copy files from the hard disk to a floppy disk or other recognized removable media.
- nocopyprompt: Allows you to copy files without being prompted to continue when you are overwriting an existing file.
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.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 Security Configuration and Analysis snap-in in Microsoft Management Console (MMC)
- The Domain Controller Security Policy in Administrative Tools.
- The Domain Security Policy in Administrative Tools.
- The Local Security Policy in Administrative Tools.
- Recovery Console: Allow Automatic Administrative Logon.
- Recovery Console: Allow floppy copy and access to all drives and all folders.
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:
229716 Description of the Windows 2000 Recovery ConsoleFor additional information about security policies, click the article numbers below to view the articles in the Microsoft Knowledge Base:
227448 Using Secedit.exe to Force Group Policy to Be Applied Again
216735 Methods Used to Apply Security Settings Throughout an Enterprise
Article ID: 235364 - Last Review: 12/05/2015 14:58:30 - Revision: 3.5
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server
- kbnosurvey kbarchive kbenv kbinfo KB235364