|
|
|
|
Welcome to MeraWindows forums.
Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.
|
 | SearchForum HomeAggregated Forum |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| Tutor: Using The Recovery Console |
|
|
[b][color=#0000FF]The Recovery Console[/color][/b]
Few of us, like me will attempt to make a fresh installation if something fails and doesn’t bother about entering the recovery console itself. Please keep in mind its one of the most useful tool to recover from the error without any data loss! Whenever u get a errode]r message stating you to fix it in Recovery Console, please don’t neglect it… Go for it… its easy and faster than install the OS again. The Recovery Console Provides access to your system’s files systems on your HDD (FAT, FAT32 and NTFS). With this level of access, we system admin can access files and dir’s. More importantly, the admin has the capability to start and stop services and therefore repair the system.
[b]Starting the Recovery Console (RC)[/b]
The Recovery Console can be accessed from the Windows XP Professional installation CD-ROM or from your Windows XP Professional Setup floppy disks. It can also be installed to the local hard disk by typing the following command at a command prompt:
[code]D:\I386\WINNT32.EXE /cmdcons[/code]
In this prompt, D: represents the CD-ROM drive where the Windows XP Pro installation CD-ROM is located.
[IMG]http://farm2.static.flickr.com/1361/1255698207_a07376a29f.jpg[/IMG] Type and press enter the command in MS DOS and after few seconds its appears as shown below.
[IMG]http://farm2.static.flickr.com/1323/1256561922_35f18a595f.jpg[/IMG] Then It promts you to select Yes or No...., Click On yes....
[quote][i]Note: You cannot install RC on a mirrored disk. You need to break the mirror and install it.[/i][/quote]
[b]To start the Recovery Console using the installation disk, follow these steps:[/b] 1. Boot the computer from the Windows XP Professional installation CD-ROM or from the Windows XP Pro Setup floppy disks. At the Setup Notification screen, press Enter. 2. On the Welcome To Setup screen, press R to repair a Windows installation.
[IMG]http://farm2.static.flickr.com/1244/1255692875_5b8c658126.jpg[/IMG] - The Setup Screen with the repair option.
3. Select the Windows XP Professional installation you want to repair, and press Enter. 4. Enter the password for the local administrator account.
[IMG]http://farm2.static.flickr.com/1317/1255695971_8fdf91628a.jpg[/IMG]
[b]To start the Recovery Console that was installed to the local hard disk, take these steps:[/b] 1. Boot the computer. At the Operating System selection screen, select Microsoft Windows Recovery Console. [IMG]http://farm2.static.flickr.com/1042/1255695345_2bbe40bdb8.jpg[/IMG]
2. Select the Windows XP Professional installation you want to repair, and press Enter. 3. Enter the password for the local administrator account. [IMG]http://farm2.static.flickr.com/1317/1255695971_8fdf91628a.jpg[/IMG]
[b]Using the Recovery Console[/b] The Recovery Console is a command-line interface. Most of the commands are derived from MS-DOS commands, so, if you are familiar with MS-DOS, you can figure out what a command does. If you are not sure what a command does, help can be obtained by typing the command followed by /?.Table 14.1 lists the commands supported by the Recovery Console.
[b]Recovery Console commands.[/b]
[b]Attrib[/b] - Changes attributes on one file or directory [b]Batch[/b] - Executes commands specified in a text file [b]Bootcfg[/b] - Boots configuration and recovery [b]Cd/chdir [/b] - Displays the name of the current directory or switches to a new directory [b]Chkdsk[/b] - Checks a disk and displays a status report [b]Cls[/b]- Clears the screen [b]Copy[/b] - Copies a single file to another location [b]Del/delete[/b] - Deletes one file [b]Dir[/b] - Displays a list of files and subdirectories in a directory [b]Disable[/b] - Disables a Windows system service or driver [b]Diskpart[/b] - Manages the partitions on your hard disk volumes [b]Enable[/b] - Enables a Windows system service or driver [b]Exit[/b] - Exits the Recovery Console and restarts the computer [b]Expand[/b] - Expands a compressed file [b]Fixboot[/b]- Writes a new boot sector onto the system partition [b]Fixmbr[/b] - Repairs the master boot code of the boot partition [b]Format[/b] - Formats a disk for use with Windows [b]Help[/b] - Displays information about commands supported by the Recovery Console [b]Listsvc[/b] - Lists all available services and drivers on the computer [b]Logon[/b] - Lists the detected installations of Windows and requests the local administrator password for those installations [b]Map[/b] - Lists the drive letter to physical device mappings that are currently active [b]Md/mkdir[/b] - Creates a directory [b]More/type[/b] - Displays a text file to the screen Net Use Maps a network share to a drive letter [b]Rd/rmdir[/b] - Removes (deletes) a directory [b]Ren/rename[/b] - Renames a single file [b]Set[/b] - Displays and sets Recovery Console environment variables [b]Systemroot[/b] - Sets the current directory to %systemroot%[/code]
[b]By default, the Recovery Console only permits access to the following directories:[/b] [b]>[/b] %systemroot% [b]>[/b] Root directory of local disks [b]>[/b] cmdcons and any subdirectories [b]>[/b] Directories on floppy disks and CD-ROMs
[b]Access can be gained to other directories by changing the local Group Policy settings as described in the following steps:[/b] 1. Select Start | Run, and enter "MMC" 2. Click the Console drop-down menu, and select Add/Remove Snap-In. 3. Click Add. 4. From the list of snap-ins, select Group Policy, and click Add. 5. The Select Group Policy Object dialog box will be displayed. Verify that Local Computer is listed, and click Finish. 6. Click Close on the Add Stand-Alone Snap-In dialog box. 7. Click OK to close the Add/Remove Snap-In dialog box. 8. Double-click Local Computer Policy. 9. Double-click Computer Configuration. 10. Double-click Windows Settings. 11. Double-click Security Settings. 12. Double-click Local Policies. 13. Select Security Options. 14. Double-click Recovery Console: Allow floppy copy and access to all drives and all folders. 15. The Local Security Policy Setting dialog box will be displayed. Select Enabled, and click OK.
The [b]set[/b] command is disabled by default. Once this access has been granted via Group Policy, the [b]set[/b] command is enabled. The following set command can provide several functions: Set [variable - value] In the preceding command line, variable can be the following: [b]>[/b] [b]AllowWildCards[/b]—Enables wild-card support for some commands, such as [b]copy[/b]. [b]>[/b] [b]AllowAllPaths[/b]—Provides access to all files and folders on the system. [b]>[/b] [b]AllRemovableMedia[/b]—Allows files to be copied to removable media, such as floppies. [b]>[/b] [b] NoCopyPrompt[/b]—Causes the confirmation prompt during overwrites to be disabled.
[b]Recovering the Boot Configuration by Using the Recovery Console[/b] Problems with the boot configuration found in the Boot.ini file can be remedied by using the Recovery Console. The boot configuration can be recovered by using the BOOTCFG command, which contains several parameters to assist you in recovering from a boot configuration failure. The Table below lists and describes the BOOTCFG parameters.
[quote]Warning: When using BOOTCFG /rebuild, always make a backup copy of your Boot.ini file. You can accomplish this from the Recovery Console by using the copy command.[/quote]
[b]Replacing the Registry by Using the Recovery Console[/b] Problems with the Registry can be remedied by using the Recovery Console. Registry files can be replaced by using the copy command. Backup copies of the Registry files are kept in either the %systemroot%\repair folder or the %systemroot%\repair\regback folder.
To replace the Registry using the Recovery Console, follow these steps:
1. Start the Recovery Console, and enter the local administrator password. [b]BOOTCFG parameters.[/b]
[quote][b]Command Description[/b] Bootcfg /add Adds a Windows OS to the boot list Bootcfg /default Sets the default boot entry Bootcfg /disableredirect Disables redirection of the boot loader Bootcfg /list Lists all current entries for the boot list Bootcfg /rebuild Searches through all Windows installations and prompts for which to add Bootcfg /redirect [PortBaudRate] [useBiosSettlngs] Enables the redirection of the boot loader to the specified location Bootcfg /scan[/quote] Scans all disks for all Windows installations and displays the results
2. You will start in the %systemroot% directory (for example, C:\WINDOWS). Enter the following commands:
[code]cd repair\regback copy filename C:\WIND0WS\SYSTEM32\C0NFIG[/code]
[i]Here, filename[/i] is the name of the Registry file to be copied.You should rename the current Registry files before replacing them. In case a problem occurs, this gives you the opportunity to return to the systems original condition.
[quote]Warning: Files located in %systemroot%\repair\regback represent the Registry state the last time that the System State was backed up. Any changes made to the Registry files since then will be lost.[/quote]
Thanks for reading my tutor… did it my self… extracted the commands by googling.
Microsoft isn't evil, they just make really crappy OS. - Linus Torvalds. |
| |
|
|
 |  |
|
|
| Re: Tutor: Using The Recovery Console |
|
|
No doubt "Recovery Console" is a gr8 tool to repair windows. It might come very useful in lots of situations when you are not able to boot into windows. thnx for this tut. I really liked ur efforts. 
One request! Pls edit the post and make the required changed to make it proper. I think, you copied the matter from ur other forum thread or from ur site. Use "Rich text Editor" and then paste the contents and it'll show u proper post. 

How to Use Smiley Code in Forum?
Promote MeraWindows at Your Blog / Site
Read Forum Guidelines |
| |
|
|
|  |
 | |  |
 | |  |
 | |  |
|
| |
|
|
Get Your Own E-Mail Account @MeraWindows.com
|
 |
|
New Page 1
New Page 1
| Show your cool quotient with @merawindows.com email account |
|
|
|
|
|
| |
|
|