Recovery Console problems

enon8727

Member
Apr 6, 2006
163
0
0
My aunt's laptop (Acer 3500) won't boot up. It gives the message,

"Windows could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM"

So the only thing I could think of was Recovery Console. So I started that up and went was going to try this fix from microsoft.com. So at the C: prompt I typed "md temp" and it told me access is denied. I've searched a bit, but didn't find anything useful. Any suggestions?
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
The command is:

md tmp

NOT

md temp

Check and see that you're not typing "temp" instead of what you should be typing: tmp.

Windows already has a c:\windows\temp folder, which is why you're getting that error.
 

enon8727

Member
Apr 6, 2006
163
0
0
That's true, the command is tmp, but I've tried every different variation the temporary, even tried "md poop". It's the fact that I'm trying to make a directory, not what the folder is called. But I still don't know why it won't let me make a directory.
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
Have you tried using an exact path to create the folder, like:

md c:\tmp

or

mkdir c:\tmp

??

I intentionally wrote to create it in the root folder, because Recovery console defaults to starting in the system folder. Trying the root folder with the full path is another option that might work.
 

enon8727

Member
Apr 6, 2006
163
0
0
Yea, I've tried making an exact path, too...access still denied. I just tried the above link and it let me do a chkdsk so I ran that and restarted but it still gave the error message at bootup. So I restarted, got into RC again and it won't let me cd either...(that was part of the next step).
 

enon8727

Member
Apr 6, 2006
163
0
0
What would happen if I tried a fixboot or fixmbr? I don't know a whole lot about dos stuff.
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
Sounds like there's enough hosed to prevent you from doing what you need to do in Recovery Console.

However, there is an alternative. Do you know how to make a BartPE disc? If so, there is a plugin for BartPE that will restore the System part of the registry --exactly what you need done-- from various backup locations, including the backups in System Restore.

The plugin is here:

http://viceroy.web1000.com/

That said, you might not even need the plugin. You should be able to use the file manager in BartPE or Knoppix, etc., to do a partial restore (i.e. the System hive) of your registry by booting up with the BartPe or Knoppix CD, and following the instructions on the link I gave you prior. Here's the link again:


http://www.help2go.com/Tutorials/Window...onfig%5Csystem_missing_or_corrupt.html

Edit: I have verified that BartPE can do what's required in the link above. No need to use the plugin if you don't want to. Just follow the instructions (ignore everything about Recovery Console in the link and just concentrate on what folders you should be in from the command prompt. Remember to use the 2nd to last restore point, as mentioned in the article.

Specifically, this is exactly what you need to do once you are booted up with BartPE.

Open the Command Prompt in BartPE. It's in the Start Menu.

Change the drive to the C: drive at the prompt by simply typing "C:" and enter (no quotes).

You should simply see a C:\ prompt at the command prompt now.

Now, follow the instructions, and type the commands exactly as written. Remember, the author is using "rp23", or restore point 23, as an example. Use the second highest number of your rp points. For example, you could have rp's up to 114. If so, use rp113.

Instructions once you're at the C:\ prompt:


CD system~1\_resto~1

C:\system~1\_resto~1\>dir

After you enter the DIR command and hit enter you will get a list of folders like such rp1, rp2, rp3, rp4, etc. etc. The "rp" part of the folder name denoting it's a Restore Point

What you'll want to do is find the 2nd highest numbered folder in that list. So, for instance, if it listed rp1 thru rp24 you'll want the rp23 folder. I'll use rp23 for the rest of this little fix just to keep things simple but substitute rp23 for whatever folder is the 2nd highest in the list on your pc.

Now, we have more commands..

C:\system~1\_resto~1>cd rp23

C:\system~1\_resto~1\rp23>cd snapshot

C:\system~1\_resto~1\rp23\snapshot>copy _registry_machine_system c:\windows\system32\config\system

Overwrite system [y,n]: y

1 file copied

--------------------------------end of instructions---------------------------------------------

Shutdown BartPE and remove the CD, and now try to boot normally.
 

enon8727

Member
Apr 6, 2006
163
0
0
How do I make a BartPE disk? I've heard of it before, but never made one. A buddy of mine made me an All Windows dvd and it has a few Bart applications on it, but I don't think it's what I need...Bart's Network Boot, Bart's SCSI tools, and Bart's CDROM Boot.
 

enon8727

Member
Apr 6, 2006
163
0
0
Well I tried using PEbuilder with about three or four different versions of XP and it's impossible to finish without any errors, so I can't even get a copy of BartPE built. That's problem number one. Number two comes when I found out that I do have a copy of BartPE that a friend gave me so I boot with that and it brings me to a [DR-DOS] A:\> prompt, waiting for me to do something. But it won't let me change to a C prompt or anything. I'm kinda lost now. Please help...
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
I have to say that this really shouldn't be this hard. I don't know that you have an actual BartPE disc from your friend (unless you've actually seen it boot up on another pc to it's graphical Windows environment).

You didn't say which errors you got while using different XP versions. Did you read the FAQ? There are several errors mentioned and their respective solutions. So, I would advise you look at the FAQ:

http://www.nu2.nu/pebuilder/faq/

If your creation errors aren't there, please post exactly what error(s) you are getting.
 

enon8727

Member
Apr 6, 2006
163
0
0
Ha, I know it, this is crazy. No I haven't ever seen it boot to the Windows GUI, so I guess it might not be. I've checked out the faq before and saw that none of my errors were really on there.

Here's a Print Screen of the errors, because a few of them and I didn't feel like writing it all out. This is actually not many errors...There's been a few times where I've gotten a few hundred per build attempt. Seems like most of them are deletion errors.

http://i30.photobucket.com/albums/c350/enon8727/Errors.jpg
 

sieistganzfett

Senior member
Mar 2, 2005
588
0
0
ok, for the recovery console access is denied on the md tmp, what if you were to
cd system32
cd config
dir

does it do the access denied changing directories or the 'dir' to show a list of contents- in the config directory? (it should list the registry files you were going to copy out to somewhere else. etc.
 

enon8727

Member
Apr 6, 2006
163
0
0
Yea, access is denied when changing directories as well. It won't let me delve into the C drive but it will let me do a dir.
 

sieistganzfett

Senior member
Mar 2, 2005
588
0
0
so you have no access to the drive more than likely, or to any directory your trying to change to... i guess the recovery console didnt give an option to login as the administration then... once you get a bartpe or http://www.ubcd4win.com/ working (essentially it has bartpe as a boot option, and has some of the goodies of ultimate boot cd) you can try to gain access to what ever directories you dont have access to the (easiest way i think) another option is to do a windows repair install on the laptop. a third option would be essentially the same as using bartpe, it would be put the HD in a desktop pc as a secondary drive and you would need an adapter to do that.
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
Whatever works...If you can get that other CD mentioned above to work, make sure you go back to post 8 in this thread and follow the instructions.

Note: the whole idea of skipping a "repair install" is so you don't end up having to reinstall drivers/security updates post repair. Using the system restore files mentioned in Post 8, you won't have to deal with that.

Here's a thread that can help you sort out the BartPE errors. It's a five page thread. I suggest you read it and download/run the files required. It has to do with fixing permissions on your source files. It also deals with other simple issues, like not running from the correct folder, etc.

http://www.911cd.net/forums//index.php?showtopic=12917&st=0





 

enon8727

Member
Apr 6, 2006
163
0
0
Yea, the RC didn't give me any kind of option to be administrator. I'm running on dialup so the 175MB UBCD download would take approximately...forever, to get, so I'm gonna have a friend with DSL do it for me. And until then I was gonna read up on that thread from 911cd.net, and I got the first page read, but now there's some kind of database error when trying to access it...so now it's a waiting game. Thanks for all your help thus far though guys...I'll keep ya posted
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
You're like a walking Murphy's Law, man, lol. Dialup to add to the problems in the mix? Sheesh...
 

sieistganzfett

Senior member
Mar 2, 2005
588
0
0
hey i still use dialup too. :laugh: 10 bucks vs 50 is a big difference when there is no dsl in my area. so its dialup or cable.
 

enon8727

Member
Apr 6, 2006
163
0
0
Originally posted by: Slikkster
You're like a walking Murphy's Law, man, lol. Dialup to add to the problems in the mix? Sheesh...

No kidding, man...it's really starting to get annoying. Get ready for some more...
So I got the ubcd4win file that my friend downloaded for me and i guess it wasn't exactly what I was supposed to get (figures) because when I unzipped it, all that was there was an ISO file. I was a bit confused because, to my knowledge, it's supposed to be a copy of ubcd4win pe builder and a few other things...so I thought maybe they had just already made the ISO for me for some reason. I burnt the ISO to a disk and it wasn't even bootable. Now I'm even more confused. Basically the ubcd4win download was useless. So I got my copy of BartPE builder that I had previously downloaded and decided to give that another try. I didn't get through that thread that you told me to read (http://www.911cd.net/forums//index.php?showtopic=12917&st=0 ) but I decided to try again anyway. Turns out that copying the XP cd to the harddrive enabled the builder to run all the way through with no errors and burn the cd for me (pretty much the only good news I have).
So now I have a copy of BartPE (not UBCD) that I threw in the laptop and booted from. That worked. So I go to the command prompt and enter in all the commands with no problems..until, of course, I get to the very last command:
C:\system~1\_resto~1\rp23\snapshot>copy _registry_machine_system c:\windows\system32\config\system
When I run that command I get:
The system cannot find the path specified. 0 files copied
What do ya think? I've tried five times.
In the meantime, I'm gonna have my try downloading ubcd4win from a different mirror and see if I can get a copy of UBCD running.

Sorry that was all so long, I kinda suck at telling stories...just wanted to make sure you guys got all the details.

P.S. You won't believe this, but in the meantime of all this (I think last Sunday, three days ago) my PC (Big Black...listed in my sig) spit out the same error at me!! I sitting there listening to a song on iTunes, hit pause and the computer just froze. So I hit the restart button and chose earlier version of windows (it's dualboot) and it gave me the exact same thing my aunt's laptop's giving. So now I'm on my laptop. I was afraid to boot Big Black up at all for a day or two, even to the other hard drive (D:, which is running a Beta version of Vista), but I finally did boot Vista up and everything was kosher for a few hours then I just happened to have My Computer up and happened to look at it right when it looked like My Computer just did a simple "refresh" like after ejecting a flash drive or something, and my C: drive was gone! What the eff is going on?! I'm getting pretty pissed as you could imagine. So my question on this is should I wait til I get my aunt's laptop up and running and then do the same thing to Big Black, or is there something I could try doing in Vista since I, fortunately, still have the option to boot the thing?

I really appreciate your time in reading this novel and any suggestions you may have!
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
Ok, we're going to make this easy, and get this fixed once and for all. There's a BartPE "Plugin" which will do this job easily. (A Plugin is an application that will run in the BartPE environment. There are several built-in plugins in BartPE already, like the A43 File Manager, for example.)

This WILL require you to rebuild a BartPE disc with the PEBuilder application. What you are going to add to BartPE is a plugin called the Viceroy Registry Recovery Wizard (and a secondary plugin that the Recovery Wizard needs in order to run correctly. More about that below). It will search for all registry backups and ask you which one you want to restore to. In your case, it's even better, because it doesn't restore the entire registry. It only restores the "System" portion, which is exactly what you need.

Note: When you run the Registry Recovery Wizard, obviously you do NOT want to restore too far back in time. You want one of the most recent restore dates so you don't have to reinstall programs on your Aunt's laptop. So, keep that in mind as we proceed.


Edit at 5pm eastern 3/22: I've rewritten some of the info on this post because I'm now following along and doing all the steps to incorporate two plugins below to BartPE that will simplify this process.

You will need to run the PE Builder application again. DO NOT "BUILD" the BartPE disc (by clicking the Build tab) until you've completed the steps below!

Before you burn the new disc, you need to download two files. Here's the first. It adds Visual Basic compatibility to BartPE. The other file/plugin you are going to download and install needs this Visual Basic plugin to work.

http://www.cordingley.net/pebuilder/plug-ins/vbsupport.cab

In the BartPE Builder application, click the Plugins tab on the bottom. CLICK "ADD". Point the ADD applet to the location of the "vbsupport.cab" file you downloaded, and let it add it to your BartPE Build. It will suggest the name "vbsupport" for your plugin folder name for this plugin. Just click OK on that.

Ok, so far, so good. You've completed one of two steps.


Now, open up Windows Explorer in Windows, and find your BartPE Builder folder. On mine, it's "C:\BartPE Builder".

Now, you'll see you have a subfolder of the BartPE Builder folder labeled "plugin", and even more folders in that subfolder, with the names of the various pre-installed plugins.

Right click on an open space in the BartPe Builder\plugin folder, and click "New" on the right-click menu. Click Folder. Windows Explorer will create a new folder called, surprisingly enough, "New Folder". It will be highlighted, meaning it's ready for you to rename. (sorry if this is basic info you already know; just covering all the bases here).

Rename this folder (without quotation marks) "Regreswiz". It really doesn't matter what you name it, actually, but might as well name it what the program name is.

So now you should see that among the many folders in the "plugin" folder, you now have a new one named "Regreswiz".

Ok, so you should see the Plugins folder, and inside that is your empty subfolder named Regreswiz.

Now, download and EXTRACT all the files from this zip file, and place ALL these files into the Regreswiz folder you just created:

http://viceroy25.tripod.com/regreswiz.zip


So, you should have 7 files inside your Regreswiz folder in the plugin folder.


Now, go back to the BartPE Builder Plugins tab, and look at the list. You should now see both "Registry Restore Wizard" and "VB" in the list of alphabetical names. You should also see "Yes" next to their respective names.

If you don't see either their names and/or "Yes" next to them, first click the "Refresh" tab to refresh the list. If one or both of the new plugins does not have a "Yes" next to its entry, highlight that entry and click the Enable/Disable tab on the bottom of the BartPE builder.

Each time you click the Enable/Disable tab, it will toggle that entry to "Yes" or "No". You most definitely want those two (Registry Restore Wizard and VB) to have a Yes next to their entries. Yes=Enabled.

It's that simple. Now, all you need to do is click "Close" on the Plugins box, and then you'll be back to the primary BartPE Builder box.

Put a blank CD in your burner. Close any Windows dialog box that comes up asking you what to do with the blank CD.

Click the "Build" tab. It will probably tell you that you already have files/folders in the destination directory. Click OK. It will erase the old files/folders, and rebuild the new ones and burn your CD.

Boot with your new BartPE disc, and from the menu, choose the "Registry Restore Wizard".

If there's more than one copy of Windows on that laptop (probably not), you'll be asked to choose which Windows install you want the wizard to fix. I have more than one on my pc, so I was prompted to choose. But if you only have one, you probably won't get prompted. The link below will show you what you will see when it finds your restore points.

Look at this website to see a screenshot (scroll down the page for the screenshot):

http://viceroy.web1000.com/regreswiz.htm

Notice the entries that say "Restore Point". You want to choose the one that's most recent. Notice on this screenshot that the most recent is NOT at the top of the Restore Point list, so scroll to find the most recent Restore Point. Restore Points are numbered sequentially, and the higher the number, the most recent. Choose that one and let it do its thing.

If that Restore Point doesn't fix the problem, run BartPE again, and choose the second most recent restore point.

Reboot out of BartPE and make sure you remove the CD so it doesn't try to boot from CD again. See if your problem is solved!

Note: I just followed this exact process laid out above and it worked perfectly. Registry Restore Wizard shows up on my BartPE menu, and runs fine. I didn't restore anything, of course, but I got up to the point where it showed me all the available restore points.

If you follow the instructions above, this should work for you, too. Once you get your laptop fixed, run BartPE on your desktop that's having the System issue and repeat the process. Remember to set your desktop to boot from CD first.

Report back whether you're successful or not. Once you get it fixed, I want to point you to a program that creates full registry backups every time you boot, and can save you a lot of headaches. It's free, too.
 

enon8727

Member
Apr 6, 2006
163
0
0
Man I tell ya what...I've read your original post, edit #2, and edit #3, did everything you said (most after just the original post, as I knew where to get most everything) and I'm still having problems, ha. Ok, first off, did the links really work for you?? Just asking because the one for tripod.com says that the file isn't available for downloading, and the one for the screenshots says the images are not available. I got the VB plugin no problem. But besides all that, I downloaded Registry Restore Wizard from somewhere else earlier today, so I rebuilt BartPE and booted to it and started the regreswizard, got two steps into it and got:
Run-time error 52: Bad file name or number.
Son of a B.
 

Slikkster

Diamond Member
Apr 29, 2000
3,141
0
0
Download the Registry Restore Wizard here:

http://viceroy.web1000.com/files/regreswiz.zip

It's the latest version. Dump the files into the folder I mentioned, and rebuild.

There were some issues with earlier versions of the restore wizard.

What do you mean "two steps into it"? Exactly where did it fail? Did you see any restore points?

OK, let's do this manually. I just checked this procedure, and it will work just fine. I say that knowing that somehow or someway, you'll probably have some other issue with it, lol, but it SHOULD work

Forget about the Registry Restore Wizard for now. Just boot up with BartPE.

Now, from the menu, choose the A43 File Manager from the menu. You'll see it come up on the screen. It looks a lot like Windows Explorer.

Now, repeat the process. In other words, open a second instance of A43. You might find that you will have to shrink the window to see the second window behind it. Don't minimize it, just make the windows smaller.

Ok, cool? You should have two separate windows/applications on screen now of the A43 file manager.

Ok, one the first iteration/window on the left side, click on the C: drive icon so it opens up its subfolders.

Now, scroll down the list until you get to the:

"C:\System Volume Information" folder.

Ok, now, click on that folder, and you should see something like this:

"_restore{8021500D-3D7F-4A8D-8EAB-2F7F9C21092D}"

I say something because the series of numbers/letters inside the brackets on your laptop will be different from mine. The common thread is that it will start with:

"_restore{xxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxx}" where "x" equals your numbers/letters.

Now, you may have more than one "_restore{blahblahblah} folder. But the one with your restore points should have a plus sign on the folder name to show that it has sub-folders. You're specifically looking for subfolders that other folders that start with:

"RPxx", where "xx" equals a number. Each of your restore points will have a number, starting with 1. The most recent number will be the highest number you see. Make sure you scroll down to see them all to choose the highest RP. My highest RP is:

RP118

Your number will be different, of course, but I use this as an example. I obviously don't want to chose RP62, because that restore point is months old, probably, and would cause me to have to reinstall all kinds of programs and drivers. I want the most recent GOOD restore point. To be safe, you might want to choose the second to most recent, because that will absolutely be a good restore point. But you can always repeat the process with BartPE if the first one doesn't work out by choosing a slightly older (lower) restore point.

So now, after clicking on the highest folder with RP in its name, my path would look like this:

"C:\System Volume Information\_restore{8021500D-3D7F-4A8D-8EAB-2F7F9C21092D}\RP118\"

Now, once I click on RP118, there are sub-folders inside that one, too. I'm only interested in one sub-folder: The "snapshot" sub-folder"

"C:\System Volume Information\_restore{8021500D-3D7F-4A8D-8EAB-2F7F9C21092D}\RP118\snapshot" is where I'm at by clicking on snapshot.

Inside the snapshot folder are backups of your registry "hives". We are only interested in one of these files (aka hives). The ONLY file we want to use in this folder is labeled "_REGISTRY_MACHINE_SYSTEM".

Don't do anything with that file right now. Just leave that A43 window open in the snapshot subfolder of your highest RPxx folder.

Now, move over to the second window/iteration/instance of A43 on the right. Here, we want to open the following folder:

"C:\WINDOWS\system32\config"

This folder is where your registry hives live, and this folder is where your corrupted System hive is.

In this folder, you will see most of the following files:

AppEvent.Evt
default
DEFAULT.LOG
default.sav
sam
SecEventEvt
security
SECURITY.LOG
software
SOFTWARE.LOG
software.sav
SysEvent.Evt
system (<--------- This is the file that needs to be replaced)
SYSTEM.LOG
system.sav

etc. etc.

The file named "system" (no file extension; just "system") is your corrupted system file.

Right click on that file, and choose "Rename". Rename the file to something like "system.bad". You can rename it to anything, really, but please just rename it to "system.bad" for now so Windows ignores it.

It takes a few seconds for A43 to complete this in BartPE. You can right-click with your mouse inside the folder and choose "Refresh" to make sure the file name was changed.

Now, lets' go back to the A43 window/iteration/instance on the left side; the one with your "snapshot" folder opened up.

Find the file "_REGISTRY_MACHINE_SYSTEM". You can either right-click and drag it over to the A43 window/iteration/instance on the right that's opened up to the ""C:\WINDOWS\system32\config" folder, or you can just right click on the file itself and then choose "Copy". Move the mouse over to the other A43 window (system32\config) and right-click on the folder window and choose "paste".

Either way, you should now see the file named _REGISTRY_MACHINE_SYSTEM in your C:\Windows\System32\Config folder, with the other files mentioned above, including system.bad.

Now, right-click on the _REGISTRY_MACHINE_SYSTEM file in the C:\Windows\System32\Config folder that you just copied/pasted, and choose "Rename".

Rename it to "system" (without the quotation marks!)

You've just replaced your corrupted system file with your backed up restore point system file.

Make sure it's simply named system with no file extension or periods or any of that. Just system

Now, you're done.

Exit out of A43. Reboot the PC, making sure that you remove the BartPE disc. All should be well with the world. If it's still bad, repeat the process above, but choose the second highest RPxx folder\snapshot sub-folder for the file.