Exploring the secret of the win2003 system recovery console

  

Perhaps many users will say that they have a very good understanding of the win2003 system, is it really understand? Then a mysterious function in the win2003 system & mdash; failure recovery control Are you clear about the use of Taiwan? Maybe it’s awkward, it’s okay, let’s take a closer look.

The Recovery Console is a tool for Windows 2000/XP/2003 dedicated to repairing systems that enables and disables services, formats drives, reads and writes data on local drives (including formatting to NTFS) The file system driver), and performs many other management tasks, is the "magic" that we can fix when the Windows 2000/XP/2003 security mode cannot be accessed.

1.Using the Recovery Console

After selecting “ Microsoft Windows Recovery Console” on the computer startup, when prompted, enter the administrator ( Administrator) password. Then at the system prompt, type the “Recovery Console” command. Enter “help” to get a list of command names, enter the “help command name” to get help with the specified command.

In the faulty console, we can use Attrib, Batch, Bootcfg, ChDir (CD), Chkdsk, Cls, Copy, Delete (Del), Dir, Disable, Format, Diskpart, Enable, Expand, Fixmbr, Fixboot and other commands to fix various problems that occur on the computer.

2. Introduction to Practical Commands

1Diskpart

Role: Create and delete partitions on the hard drive.

Syntax: Diskpart [/add |  /delete] [device_name |  Drive_name |  Partition_name] [size]

Parameters: If you do not take any parameters, the Windows character mode version of Diskpart will be started.

/add——Create a new partition;

/delete——Delete an existing partition;

drive_name——A partition to be deleted represented by a drive letter , only with “/delete”, such as “E:”;

partition_name—— the partition to be deleted represented by the partition name, can be used instead of <quo;drive_name”, (only with &ldquo ;/delete”Used at the same time;

size——The size of the partition to be created, expressed in megabytes (MB), used only with “/add”.

Instance:

Delete F partition ——diskpart /delete F:

Create a 200MB partition ——diskpart /add \\Device\\HardDisk0 200< Br>

2Fixboot

Function: Write the new partition boot sector to the specified partition.

Syntax: Fixboot [drive]

Parameters: Without any parameters, the Fixboot command will write a new partition boot sector to the system partition where the user is logged in. If the system detects an invalid or non-standard partition table tag, it will prompt the user to continue executing the command, and do not proceed unless there is a problem with the drive you are accessing. Writing a new master boot record to the system partition can corrupt the partition table and cause the partition to become inaccessible.

Instance: Write a new partition boot sector &mdash to the system partition of drive D; —Fixboot D:

3.Delete Recovery Console

The recovery console works great, but if you don't like it, you can remove it manually. To do this:

Open “My Computer", double-click the hard drive where the Recovery Console is installed, assuming the C drive. Click “Tools →Folder Options”, select the “View” tab, check the box next to “Show all files and folders>, clear “hide protected files” Check the box before the option, & ldquo; OK & rdquo; exit.

Now go to the root directory of the C drive and delete the folder "Cmdr" from the folder "Cmdr". Right-click on the Boot.ini file and select “Properties'; in the window that opens, clear the “read-only” checkbox, “OK" Open the Boot.ini file in “Notepad” and delete the entry in the Recovery Console (usually "C:\\cmdcons\\bootsect.dat="Microsoft Windows Recovery Console"/cmdcons”), save the file After closing, finally restore the read-only property of the Boot.ini file.

The Recovery Console is a fascinating magic weapon that can go beyond the win2003 security mode. If you can understand it in depth and use it skillfully, you can make it better. Make more contributions to maintaining the safety of the system.

Copyright © Windows knowledge All Rights Reserved