Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Restore OEM OS from base.wim in HP RECOVERY partition

15 Dec 2018   #1
iBenny

Windows 7 Home Premium 64 bit
 
 
Restore OEM OS from base.wim in HP RECOVERY partition

Hi everybody !

First visit in this forum. Hope you are more knowledgeable than three other one (HP amongst them) that failed soon to attempt a resolution...

My HP G62 / W7 Home Premium 64 jammed (maybe by interrupting a windows update) on every F8 modes with this error:

interactive logon process initialization has failed. please consult the event log for more details.

After that, I did an F11 to trigger the Recovery Manager and first did a file backup.

After that, I split the main partition in order to store the file backup and shuffled the partition at EOD (end of disk).

After that... NO more F11 was working and I was stucked. I reinstated the partitions to their OEM disposition to no avail; no more F11 available.

With a Hiren's USB stick (HBUS) I then tied in the mini 7 OS many attempts to tweak the BCDs in order to trigger the access the RECOVERY partition from the SYSTEM BCD but everything failed.

I decided to install a new instance of W7HP64 with my Windows 7 AIO installation DVD. Prior to that, I backed the RECOVERY partition in case the installation would mess with it. I red later on that I should also have baked the SYSTEM partition for it would be changed and that I could loose the F11 and/or the OEM recovery functions. After thoughts, I said to me that installing the same OS over itself should restore the recovery functions, F11 amongst them. So I thought; I was wrong.

All went ok for the new W7HP64 installation and... no OEM restoration could be triggered.

I red somewhere that I could access the RECOVERY partition by making it "Active", what I did, and after some tweaking of the RECOVERY BCD, I was able to get into it and see the Restore Manager RM:



The first option "Restauration du système Mircosoft" involves restoration points to an earlier state, what is not what we want.

The two other options involve the reformat of the "entire" HD ! as stated in the next information page, that is NOT what I want. I only want the WINDOWS partition to be reformatted and be restored to OEM (factory) condition with the base.wim image on the RECOVERY partition.. But If it formats the whole HD, how can it restore the RECOVERY partition itself ?

Anyway, after proceeding through the last option (It does the same anyway with the second option), an error message pops up saying that the restoration cannot be performed from the HD (if it does format it. this is understandable) and can only be performed with a restoration disk... that I don't have.

The question is this: since I booted from the RECOVERY partition, how comes I can't recover the WINDOWS partition without resorting to a restoration CD ? Everything needed to perform the recovery lies in the RECOVERY partition !!!

Laptop info :

Partitions:
1. (A) SYSTEM (no letter)
2. WINDOWS C:\
3. RECOVERY D:\
4. HP_TOOLS E:\

(A): active

"D:\Recovery\system32\Recovery\ReAgent.xml"
"D:\Recovery\WindowsRE\winre.wim" (271M, 1 partition)
"D:\Recovery\WindowsRE\boot.sdi"
"D:\boot\BCD"..... the recovery boot file
"D:\boot\boot.sdi"
"D:\EFI\Microsoft\Boot\BCD"
"D:\EFI\Microsoft\Recovery\BCD"
"D:\EFI\Microsoft\Boot\bootmgfw.efi"
"D:\system.sav\preload\base.wim" (3.2G, 4 partitions)
"D:\system.sav\FactoryUpdate\boot.wim" (246M, 1 partition)
"D:\system.sav\FactoryUpdate\BOOT.SDI"
" :\Boot\BCD"..... THE main boot file
"C:\boot\BCD"
"C:\Recovery\8bcc9453-faf9-11e8-8721-efb323ce4303\boot.sdi"
"C:\Recovery\8bcc9453-faf9-11e8-8721-efb323ce4303\Winre.wim" (162M, 1 partition)
"C:\Recovery\8bcc9457-faf9-11e8-8721-efb323ce4303\boot.sdi"
"C:\Recovery\8bcc9457-faf9-11e8-8721-efb323ce4303\Winre.wim" (162M, 1 partition)
"C:\Recovery\abe9fdd0-fb1f-11e8-a94f-86cbf4dd2403\boot.sdi"
"C:\Recovery\abe9fdd0-fb1f-11e8-a94f-86cbf4dd2403\Winre.wim" (162M, 1 partition)
"C:\Windows\Boot\EFI\bootmgfw.efi"
"C:\Windows\Boot\EFI\bootmgr.efi"
"C:\Windows\System32\Recovery\ReAgent.xml"

Thanks in advance for your involvement.

Best regards
iBenny


My System SpecsSystem Spec
.
15 Dec 2018   #2
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

You can apply the image from the base.wim to a partition using for example winntsetup.

If base.wim contains 2 images, use the larger one.

Winntsetup is included in my boot media.It is under the start menu \Install folder

17514x86.iso

17514x64-v9.iso
My System SpecsSystem Spec
15 Dec 2018   #3
iBenny

Windows 7 Home Premium 64 bit
 
 

Will try that SIW2

Base.wim contains 4 images and #4 is the fullest. There is also a fifth [Files] folder. What to do of it ? deploy it ? but where ?

Do you suggest to deploy on top of the existing OS of after a formatting ?

PS : I agree with your signature...

Best regards
iBenny
My System SpecsSystem Spec
.

15 Dec 2018   #4
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Probably image 4.

You can format the target partition before applying the image. Suggest you use the windows partition ( probably the largest partition on the hard disk) to apply the image
My System SpecsSystem Spec
15 Dec 2018   #5
iBenny

Windows 7 Home Premium 64 bit
 
 

Definitively image 4 ! I opened it and that's the Windows 7 Home Premium image...

Now, about WinNTsetup, in the bottom right section, I selected D: as "Mount installation drive" since it is the target drive to be recovered. Now, do I have to check something below like "drive letter assignment" or "mode" and select a mode ?
My System SpecsSystem Spec
15 Dec 2018   #6
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

In the bottom right section - Mount Installation drive C: ( This is the letter windows will have when you boot into it)

Select Location of Installation drive D: ( This is the letter of the partition you are applying the image TO )

Do not check "drive letter assignment", do not check "mode"

Click Setup

at the next window, just click OK
My System SpecsSystem Spec
16 Dec 2018   #7
iBenny

Windows 7 Home Premium 64 bit
 
 

Hi SIW2

With your EXCELLENT recovery CD, is there an app that can edit a wim image ? In the way of deleting a file and adding a file ? 7-Zip can open it but cannot delete, rename nor add a file...

Why the question ? because in the [1].xml file where all the parameters or the deployment is set, all the <Default> languages are set to en-EN instead of fr-FR. I managed to extract out that xml file and modified it, but can't get it back in to replace the current one.

Best regards
iBenny
My System SpecsSystem Spec
16 Dec 2018   #8
Paul Black

7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
 
 

Hi iBenny,

Welcome to SevenForums!

Quote   Quote: Originally Posted by iBenny View Post
With your EXCELLENT recovery CD, is there an app that can edit a wim image ? In the way of deleting a file and adding a file ? 7-Zip can open it but cannot delete, rename nor add a file...

Why the question ? because in the [1].xml file where all the parameters or the deployment is set, all the <Default> languages are set to en-EN instead of fr-FR. I managed to extract out that xml file and modified it, but can't get it back in to replace the current one.
You can achieve this by using DISM++ to mount the image, make the changes, save and un-mount the install.wim file therefore committing the changes made. You will obviously need to unzip the install.wim first with something like 7-Zip as you have previously mentioned!

I hope this helps!
My System SpecsSystem Spec
16 Dec 2018   #9
iBenny

Windows 7 Home Premium 64 bit
 
 

Hi Paul,

Welcome and thanks for dropping by...

Not sure if you understand the whole implication of your suggestion.

In my understanding (correct me if I'm wrong) :

1- DISM can surely deploy ("mount" in your Unix term?) an image;
2- 7-Zip can surely unzip an image;
3- Deploy and unzipping are not the same;

You ask two things here : #1 and #2 ! Not sure really of your scenario here... or I don't understand.

First you ask to deploy base.wim on a partition (formatted I presume). It will be in en-EN.

Next you ask to fix it ! Fix what ? Convert the OS in fr-FR, then repack it in an image to be redeployed on my Seven D:\ partition ? If I could convert the OS strait out of the bat like this in fr-FR, I should do it strait after a deployment directly to the Seven D:\ partition from the get go !

Or fix the [1].xml file ? Will the image deployment "spit" out the [1].xml somewhere to be tweaked ? Of course I already did extract it with 7-Zip, yes, but then, how do we re-image the deployed image (easy with DISM... ok), but how do we include the [1].xml in the process ? AND... in the deployment we did, only the sub-image #4 (out of 4 sub-images) was deployed. If we re-image that sole OS, won't the [1].xml instructions be all ****ed up and render the next deployment impossible since it deals with 4 sub-images and now tries to instruct to deploy a single image out of four when now there are no sub-images but only a single one ? In the case of no-sub images, no xml are needed for deployment !? or only to instruct about the default language pack to use; but then it's a quite trimmed down xml that is needed and I don't know how to correctly configure it... My turn to be UN-understandable isn't it ?

And I don't know the usefulness of unzipping base.wim after that. Or I messed up your instructions !!!

Best regards and ... sorry for not having understood.
iBenny
My System SpecsSystem Spec
17 Dec 2018   #10
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Did you check that the image contains multiple languages?
My System SpecsSystem Spec
Reply

 Restore OEM OS from base.wim in HP RECOVERY partition




Thread Tools




Similar help and support threads
Thread Forum
How Do I restore this Recovery Partition on my Dell
This is a picture of my dell recovery partition. its on a spare drive that was cloned. Also a picture of the my system details. F8 did not allow me access to this partion. nor did a win 7 pro install disk nor did any of the disk that came with dell computer make it work. Its there and I want...
Installation & Setup
Restore Win 7 from Win 8 Using OEM Recovery Partition
Hi, I have an Acer Aspire that came with Win7 Home Prem. x64 installed. I made the foolish decision to upgrade to Win 8 Pro on Oct 26th when it came out, and I like the idea, but the system just isn't useable to me, and my windows updates constantly fail. no fun. When I press F8 during...
Installation & Setup
create a bootable recovery partition to restore a pc. like oem's F11
I have been fixing PCs for friends and family for years, some of them are really good at screwing up an OS a only couple months after i install a fresh copy of xp or 7. i would like to be able to create a restore method simple for them to use to reset there machine back to my initial installed...
Installation & Setup
Restore vista using hp recovery partition
Hi All I have a hp laptop dv6615em, I don't have have recovery disks with me. Couple of months back I upgraded vista to window 7. Can I recover my laptop to factory setting window vista. When i press f11 or f10 key at booting time no recovery option comes. There is no hp recovery sign in laptop...
Backup and Restore
Restore recovery partition
just another question! i format my desktop and i accidentally format the RECOVERY drive how will i put recovery drive again?
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 06:05.
Twitter Facebook