Home > Windows Systems Management Tips > Windows Desktop Strategies > Regaining lost functionality in the Windows XP Recovery Console
WinComputing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS DESKTOP STRATEGIES

Regaining lost functionality in the Windows XP Recovery Console


Brien M. Posey, Contributor
03.30.2008
Rating: -3.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Part 1 | Part 2 | Part 3

Brien M. Posey

Previously in this series about Windows XP Recovery Console, I described the Recovery Console as a handicapped version of the Windows command prompt because so many of the normal features and capabilities associated with the command prompt have been disabled. Fortunately, administrators can regain some of the missing functionality.


Before I begin

In spite of the fact that so many of the Recovery Console's capabilities have been disabled, there are still quite a few valid DOS commands remaining. A comprehensive discussion of all of the available commands is beyond the scope of this article, but if you are curious as to which commands you can use, I recommend checking out Microsoft KB article 307654.

Taking back some functionality

In order to regain access to some of the lost functionality through the Windows XP Recovery Console, you have to make some changes to the machine's local security policy. Sadly, you have to do this while Windows is functional, because you can't make the changes directly through the Recovery Console.

To do so, enter the GPEDIT.MSC command at the Run prompt. When the Group Policy Object Editor opens, expand the Local Computer Policy and navigate through the console tree to Computer Configuration | Windows Settings | Security Settings | Local Policies | Security Options. Next, locate and enable a policy setting named "Recovery Console: Allow Floppy Copy and Access to All Drives and Folders" as shown in Figure A. If you have a lot of machines running Windows XP, then I would recommend enabling this policy at the domain level rather than on each individual machine.

Figure A (Click to enlarge)

It is important to realize that simply enabling this Group Policy setting alone will not give you access to all the files or folders, nor will it allow you to copy data to removable media. You still have to tell the Recovery Console that you want access to some of the things that have been restricted.

Doing so involves using the Set command. Simply boot the machine into the Recovery Console and then enter the Set command followed by an environment variable, the equals sign and either true or false. Setting an environment variable to True enables the option to which the variable corresponds, while setting the variable to false disables the option. For example, suppose you wanted the ability to write data to removable media. The environment variable that controls removable media access is AllowRemovableMedia. Therefore, the command would look like this:

Set AllowRemovableMedia = True
Keep in mind that you cannot use the Set command unless you first enable the Group Policy setting that I showed you above. Otherwise, when you enter the Set command you will receive the following error message:
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.
Now that you know how to use the Set command, you can see which environment variables you can use with it by taking a look at the table below.

Environment variables for the Set command
Environment Variable Function
AllowWIldCards Setting this environment variable to TRUE allows you to use wildcard characters in conjunction with some of the commands. The wildcard characters consist of * and ?.

The * character indicates that you want to use any item that matches the specified pattern, regardless of length. For example, if you want to see all of the .EXE files found in the current directory, you could use the DIR *.EXE command.

The ? character allows you to tell the command that you don't know what a specific character is going to be. For instance if you want to see all of the files in the current directory that end in BK1, BK2, BK3, etc., you could enter DIR *.BK?

AllowAllPaths Setting this environment variable to TRUE gives you access to every folder on the hard disk.
AllowRemovableMedia If you set this environment variable to TRUE, Windows will allow you to copy files from the hard disk to removable media.
NoCopyPrompt Setting this variable to TRUE allows you to overwrite files without being prompted each time. This is handy if you need to overwrite a large number of files. Otherwise, it is usually best to leave this option disabled to prevent accidental data loss.

So while the Windows XP Recovery Console does have many restrictions, there are workarounds, and knowing how to use the Group Policy Object Editor and the Set command is the key to accessing them.


THE WINDOWS XP RECOVERY CONSOLE

How to install it
How to use it
Regaining lost functionality

Brien M. Posey, MCSE, has received Microsoft's Most Valuable Professional Award four times for his work with Windows Server, IIS and Exchange Server. He has served as CIO for a nationwide chain of hospitals and healthcare facilities, and was once a network administrator for Fort Knox. You can visit his personal Web site at www.brienposey.com.

Rate this Tip
To rate tips, you must be a member of SearchWinComputing.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Managing Windows XP Professional
What are your OS migration plans?
Recover from configuration changes to Windows XP
Windows XP Troubleshooting Tutorial
More tips for troubleshooting Windows XP Device Manager error codes
How to use the Windows XP Recovery Console
More tips for preventing system startup issues in Windows XP
Understanding Windows XP System Restore strengths and limitations
Advanced techniques for disabling Windows XP startup programs
How to install the Windows XP Recovery Console
Device driver rollback and System Restore: Two more options for rolling back changes in Windows XP

Microsoft Windows Data Backup and Protection
Backup and recovery for System Center Operations Manager 2007
Backup and recovery for data migrated to networked storage
Making financial sense of disk-to-disk backup solutions
Reducing the size of network backups in Windows
An alternate strategy for DNS server backup
Data Protection Manager 2007: Relief from branch office backup headaches
Working with Vista's Windows Recovery Environment
Accessing Windows Vista backups with Virtual PC or Virtual Server
When to use third-party tools in place of NTBACKUP
Data backup utility mkisofs uses UDF disk-image format
Microsoft Windows Data Backup and Protection Research

Windows Desktop Strategies
Creating a custom control panel in Windows Vista
Microsoft's Windows Task Manager: What's new in Vista?
Migrating to Windows Vista: Should you go with 64-bit?
Vista tools provide Windows error reporting for the enterprise
Workarounds for Windows Vista compatibility issues
Combine application virtualization with streaming
Free tools bring enterprise compatibility testing to Windows Vista
Green computing for less with Vista and Windows Server 2008
Presentation virtualization: Centralized app management in Windows Server 2008
How to test a single machine for Windows Vista compatibility issues

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
XP key changer  (SearchWinComputing.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts