Pages

Thursday, 21 July 2011

RECOVERY CONSOLE COMMAND & ACTIONS:



The following list describes the available commands for the Recovery Console with their function: 

attrib               :  Changes file attributes.

batch               :  Allows execution of a set of Recovery Console commands that have been
               saved in a text file. Both the filename and extension must be specified for the
               batch command to work. This allows to specify an output file as well.

bootcfg           
:  modifies the Boot.ini file for boot configuration and recovery

CD (chdir)       :
operates only in the system directories of the current Windows installation,
                          removable media, the root directory of any hard disk partition, or the local
                          installation sources.

chkdsk             : Two options in this command, 1)
/p switch runs Chkdsk even if the drive is not
                          flagged as dirty and this looks for Autochk.exe in startup folder. If Chkdsk
                          cannot find the file in the startup folder, it looks for the Windows Setup CD-
                          ROM.
If Chkdsk cannot find the installation CD-ROM, Chkdsk prompts the
                          user for the location of Autochk.exe.
                          2)  /r switch locates bad sectors and recovers readable information.
/r specifies
                              that chkdsk should repair any bad sectors found.

cls                    : clears the screen.

copy                :  Copy a file from a source location to a target location.

delete (del)      :  deletes the specified file or files.

dir                   : displays the names of files and subdirectories in the location specified.

disable             :  Disables a service or device driver.

diskpart           :  Manages partitions on disk devices. the  /add option creates a new partition.
                           the/delete option deletes an existing partition.


enable              : Enables a service or device driver. The service or device driver to be
              enabled is marked with the user specified service type:
                        SERVICE_AUTO_START, SERVICE_DISABLED,  
                        SERVICE_DEMAND_START, SERVICE_BOOT-START, or
                        SERVICE_SYSTEM_START.

exit                  : Ends the Recovery Console session and reboots the computer.
expand            : expands a compressed file. wildcard characters cannot be used.
                           the attrib command can be use to remove the read-only attribute from the
                           destination directory.
                           The option /f:filespec is required if the source contains more than one file.
                           The /y switch disables the overwrite confirmation prompt.
                           The /d switch specifies that the files will not be expanded and displays a
                            directory of the files in the source.

fixboot             :  Repairs or replaces the (optional) specified drive's boot sector.

fixmbr
             :  Repairs or replaces the (optional) specified drive's master boot record.

format             :  
formats a disk.
                           The /q switch performs a quick format.
                           The /fs switch specifies the file system.

help                 : Lists the available Recovery Console commands.

listsvc              :  Displays a list of services & drivers that are available on the computer.

logon               : Logs on to an installation of Windows

map                 :  Displays a list of all drive mappings.

MD (mkdir)     : Make directory  This command allows creating directories within the system
                          directories of the currently logged-on installation, removable disks, root
                          directories of hard disk, and local installation sources.

more/type        : Displays the specific text file's contents on the screen.

REN (rename) : Allows the user to rename a file.

RD (rmdir)      : This command allows deleting directories within the system directories of the
                          currently Windows installation.

set                    :  Sets Recovery Console environment variables.

systemroot      :  Changes to the current installation's %SystemRoot% directory.

Note : The cmdcons directory is always located on the boot drive, not on the system drive,
            unless the boot drive is also the system drive.

No comments:

Post a Comment

 
© Copyright 2010-2011 WINDOWSTRIX All Rights Reserved.
Template Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.