Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Recovery Console Commands

- - - - -

  • Please log in to reply
2 replies to this topic

#1
vafox

vafox
  • Member
  • 6 posts
  • Joined 12-November 03
I have tried everything I could think of to either:

1. Boot Directly into the Recovery Console
2. Enable the "FIXBOOT" command under WinPE

Many have said that there's no need for the Recovery Console anymore, but I haven't found any utility that can fix Corrupted NTFS Boot Sectors aside from "FIXBOOT".

Can anyone help?


How to remove advertisement from MSFN

#2
Bold_Fortune

Bold_Fortune

    Member

  • Member
  • PipPip
  • 221 posts
  • Joined 05-December 03
Here's a list of commands for the Recovery Console. But beyond running Chkdsk now and then, I don't use the Recovery Console much. It never seemed to help me out of a jam.


Attrib: Changes the attributes of a file or directory.
Batch: Executes the commands specified in the text file.
Bootcfg: Boot file (boot.ini) configuration and recovery.
ChDir (Cd): Displays the name of the current directory or changes the current directory.
Chkdsk: Checks a disk and displays a status report.
Cls: Clears the screen.
Copy: Copies a single file to another location.
Delete (Del): Deletes one or more files.
Dir: Displays a list of files and subdirectories in a directory.
Disable : Disables a system service or a device driver.
Diskpart: Manages partitions on your hard drives.
Enable: Starts or enables a system service or a device driver.
Exit: Exits the Recovery Console and restarts your computer.
Expand: Extracts a file from a compressed file.
Fixboot: Writes a new partition boot sector onto the specified partition.
Fixmbr: Repairs the master boot record of the specified disk.
Format: Formats a disk.
Help: Displays a list of the commands you can use in the Recovery Console.
Listsvc: Lists the services and drivers available on the computer.
Logon: Logs on to a Windows installation.
Map: Displays the drive letter mappings.
Mkdir (Md): Creates a directory.
More: Displays a text file.
Net Use: Connects a network share to a drive letter.
Rename (Ren): Renames a single file.
Rmdir (Rd): Deletes a directory.
Set: Displays and sets environment variables.
Systemroot: Sets the current directory to the systemroot directory of the system you are currently logged on to.
Type: Displays a text file.

#3
gosh

gosh

    gosh 2.0

  • Patrons
  • 2,347 posts
  • Joined 03-October 03
  • OS:none specified
  • Country: Country Flag
There's 2 hidden commands:

mkdiskraw
and another i forget the name, if you hex setupdd.sys or spcmdcon.sys it lists it

But winpe doesn't have fixboot or anything like that. I *think* diskpart might do something similiar, im not sure. This is one of the things longhorn will have to fix before it's ready for prime time.

If you have a corrupt bootsect, the first choice would be to do a chkdsk /r to fix any problems. Then a fixmbr and fixboot, but be careful you might lose data using these commands.

If you lost your partition table, then you're out of luck unless you want to use dskprobe.exe

-gosh




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users