Home > Enterprise Desktop Tips > Windows desktop management tips > Regaining lost functionality in the Windows XP Recovery Console
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS DESKTOP MANAGEMENT TIPS

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


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 ...


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



RELATED CONTENT
Windows desktop management tips
Converting Windows 7 deployment images to virtual hard drive files
Using Windows 7 to configure workstations for optimal power management
An intro to Windows 7's Deployment Image Servicing and Management tool
Admins can wear many hats using Netcat
Manage the desktop image lifecycle to limit work, ensure security
Choosing the best way to install images
Should you switch to the Office 2007 file format?
Are you ready to migrate to Windows 7?
Microsoft Office 2010: At a glance
Your questions answered: The Windows 7 upgrade quandary

Microsoft Windows XP Pro
Guide to converting from Windows XP to Windows 7
Top 5 registry keys for Windows XP
Manage the desktop image lifecycle to limit work, ensure security
Secure Windows XP before a Windows 7 upgrade
Microsoft's August patches run the gamut
Hold on to Windows XP at your peril
XP stragglers blame hardware costs, new features
Your questions answered: The Windows 7 upgrade quandary
Windows Vista users get little pricing relief on Windows 7
Vista shops eye quick path to Windows 7, XP shops likely to resist

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Error messages for Windows XP Pro  (SearchEnterpriseDesktop.com)
XP key changer  (SearchEnterpriseDesktop.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


recommend enabling this policy at the domain level rather than on each individual machine.

Figure A (Click to enlarge)
[IMAGE]

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: 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: 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.

[IMAGE]
[IMAGE]THE WINDOWS XP RECOVERY CONSOLE
[IMAGE]
[IMAGE] How to install it
[IMAGE] How to use it
[IMAGE] 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 SearchEnterpriseDesktop.com.
Register now to start rating these tips. Log in if you are already a member.




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.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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