PDA

View Full Version : access denied in recovery console


preet
03-15-2008, 02:44 PM
Hi.
wanted to repair windows because i got the error message hal.dll missing. so i inserted my windows cd and pressed r for repair. the windows had a password and the hdd was partitioned into two.

but instead of giving which partition to use i am directed to the c prompt, without asking any password. when i run the command to repair the hal.dll issue i get the message, access is denied. of course because there is password. how can i enter this password. i tried logon but in vain.

Sylvander
03-15-2008, 03:36 PM
1. "wanted to repair windows because i got the error message hal.dll missing"
No need to get that drastic; that's like using a sledgehammer to crack a nut.
WHICH WINDOWS VERSION?

1ST
(a) Use an NT/2000/XP Boot Floppy (http://www.nu2.nu/bootdisk/ntboot/) as a replacement "System Drive" to attempt to boot to your "Boot Drive" that holds the Windows folder.
The EBCD Pro version (http://ebcd.pcministry.com/) includes a program that easily/quickly makes this floppy.
Both are a great additions to your set of useful disks.
You just boot the floppy and a you will be presented with a menu consisting of 2 physical drives each with 4 possible partitions to choose [total of 8 choices].
Normally Windows is on the 1st drive & 1st partition.
Chances are Windows will boot 1st time.
If it doesn't, try all the various partitions.
If that gets you into Windows you can replace the boot files on the HDD with the boot files on the floppy.
To avoid being presented with the 8 options at every boot...
Edit the HDD Windows partition boot.ini file to include only a single line that points to the correct Windows folder.

THEN
(b) If the floppy in (a) fails to get you into Windows...
You should "Recover MBR".
The EBCD also does that easily and quickly [you need to see it in operation to appreciate how easy it makes doing this]...
Otherwise you can use the Recovery Console commands:
fixmbr (which rewrites the bootstrap code of the MBR)
fixboot followed by fixboot C: [or whichever partition letter is correct](which rewrites the code in the PBS)
bootcfg /rebuild (which rewrites boot.ini to suit)

How to access the Recovery Console (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20the%20Recovery%2 0Console:).