Solved

factory restore on Hp G7

Posted on 2014-04-06
63
952 Views
Last Modified: 2014-04-18
Hello
i have a pavilion G7 here -works fine.
i have run a diag on the disk, and chkdsk on all partitions - all ok - no errors.
However, when i want ot make recovery media, it opens revery manager - but then runs forever without doing anything; i let it run for 45 minutes
here's the screen i get
 rest
oh yes - do not suggest to buy recovery media - i know that is a solution

any suggestions to get this going ? ? ? ?
0
Comment
Question by:nobus
  • 30
  • 15
  • 7
  • +3
63 Comments
 
LVL 87

Expert Comment

by:rindi
Comment Utility
Are you creating DVD's or a USB stick of your recovery media? If DVD's, maybe the drive is bad.

Another issue that might cause this (although I'd expect some error message), is that HP's utility only allows you to make one set of recovery media (as far as I know). If someone has made them previously, the count would now be more than one and so it would refuse to create another recovery media set.

A third cause could be that something on the recovery partition has changed and isn't original anymore.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Just checking ...

Which media are you backing up to?  Is it present?  Recovery manager should automatically detect the media and if valid will offer to create the recovery set to it.  If it is not present or valid the timer will keep spinning.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
i tried with usb - AND DVD - same hp x?y:?!! or how you'd call it
it recognised USB drive - and also DVD disc
just does not continue
also - when i select restore from partition; it accepts it- restarts the system - and restores nothing
any suggestions?
0
 
LVL 32

Expert Comment

by:willcomp
Comment Utility
Best guess is that the restore partition is missing or corrupt. Can you see files in the restore partition?
0
 
LVL 18

Expert Comment

by:web_tracker
Comment Utility
I have a feeling the recovery partition may be corrupt, try running your hdd regenerator software to see if it will repair the damage, it could be crucial files are on a sector that has gone bad. Or if you can run Chdsk on the recovery partition.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
as i said, i have run diag; chkdsk + (what i forgot) HDDRegenerator
these were the first things i tried - no errors
here the contents of the reovery partition
c
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
Then as I mentioned, something probably isn't original anymore, or the recovery media has already been made at an earlier time.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
If a disk set has already been made usually the Recovery Manager points that out on a separate screen.  When the disk set is created a flag is set in both the hidden partition and the active one (these can be reset though!).
0
 
LVL 18

Expert Comment

by:web_tracker
Comment Utility
That seems like a large recovery partition, but then HP is known for installing a lot of crapware as part of their manufacturers restore, I guess that is why it is requiring 3 dvds to create the recovery discs. It is possible that your drive does not like the media discs you are using, but then why does it not work on your usb devices?? It does say usb flash drive, and not a usb drive... Is it a flash drive that you are inserting and is it large enough...  Of course someone like you with lots of knowledge would look at these obvious things but it is sometimes over looked when we are looking for more complicated solutions. Since this is creating a large capacity recovery media over 20 gb, it can take a while to create backup media that large.... Does your usb flash drive have an led to show that it is working? If so observe if the led is flashing while the backup media is created same with the optical drive observe if the drive is spinning.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Looking at HP support this seems entirely down to HP's arbitary selection of accepted media providers (there's a media ID on the DVD/USB that tells Recovery manager who made the disk).  Try changing to one of the HP supported brands.

DVDs - see this thread (Maxell recommended)

USB sticks - see this thread (HP want you using their own but certainly not Sandisk!)

I can see why they want to stop you using cheap unbranded media given that really they only want you to make the one copy but if this is right they really should make this explicit rather than just let the Recovery Manger just sit there spinning!
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
I don't think the media manufacturer makes a difference. I've made recovery media on HP's that customers bought new and never had problems. I don't normally buy well known brands, but rather what is the cheapest.

Even if the utility only allows creating 1 set, that doesn't mean you can't do a DVD-DVD copy of the ones you made. I usually create one such "backup" copy for me for the case that a customer lost his set or didn't create it (they usually work for other PC's of the same manufacturer).
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Okay,

We do recovery's all the time on systems at the shop.  Are you trying to restore back to factory?  If so, you can look for .WIM or .SWM images on the recovery partition.  If those files are there, you may need to manually restore your Windows with imagex.exe to be able to burn the recovery DVD's again.

The image files for the most part are really the only thing that matter.  If you are also trying to recover, you can use Ultimate Boot CD to boot to the proper partition and try to run restore from there.

If you want instructions on how to do either of these, let me know and I can explain further.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
first - tx for participating all
it warns me i can only make  set of recovery media, and accepts that
yes it is a 64 GB flash stick (kingston)
DVD was Philips
Scott - i posted the contents - where can i find the wim or swm file???
i don't need to recover data
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Search for the files on the recovery drive. let me know if you find them.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
scott i posted the content -please tell me where to look - there are NO folders
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
As far as I know everything between and including "$RECYCLE.BIN" and "System Volume Information" are folders.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
rindi - you are probaly right  -however i can't open them see what i get when accessing themhpthe text is in dutch, but i'm sure you can translate the meaning?
it's a warning not to change anything
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
My dutch is a bit flaky (although in some ways I regard it as a mixture between Swiss German and English, Swiss German being my native language)...

Try booting from one of your knoppix CD's and then you will probably be able to access the folders in that partition.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
rindi - tx for the reminder !! i should have known that


Scott; you said " If those files are there, you may need to manually restore your Windows with imagex.exe to be able to burn the recovery DVD's again."

can you point me to an artitcle on how to do this?  or explain it a bit?
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
nobus,

If the only files you see are Recycling Bin and System Volume Information, then your recovery partition may have been wiped.  This might also explain why you can't create the disks.

Open up command prompt as administrator and go to the recovery drive.  Run dir /s *wim and see if you find any files.  If not, try dir /s *swm.

If you do find the files, here's how to recover manually.  Boot with a Windows disc so you can get to the Recovery Environment.

Go to the command prompt.  Then, go to your recovery drive.  If you cannot access it, you may need to run DISKPART and assign the appropriate partition a letter.  I prefer R as in recovery. :)

Exit DISKPART and go to R drive.  Go to the directory with your WIM or SWM files.  The next part you will need imagex.exe.  You can get this file from downloading the Windows AIK.  http://www.microsoft.com/en-us/download/details.aspx?id=5753

Copy either the x86 or x64 version of imagex.exe to the directory your WIM or SWM files are located in.  The version of imagex.exe you use is based on the bit of the Windows disc you ran, NOT windows itself.

Once you have done all this, my suggestion is to format the C drive by running the following command, format C: /fs:ntfs /q   NOTE:  It's always good to make a backup, so if you can make an image of your C: drive to restore if necessary, go for it. :)

Now we are ready to recover.  Go to the location you have copied imagex.exe to and where your WIM or SWM files are.  You will need to run one of two commands based on the files you have.

If you have WIM;
imagex.exe /apply "FILENAME.WIM" 1 C:\

If you have SWM:
imagex.exe /ref "FILENAME*.WIM" /apply "FILENAME1.WIM" 1 C:\

On the SWM command, you will have multiple SWM files split with different names.  So, if you have preinst.swm, preinst2.swm, preinst3.swm, etc, this is how the command would be.
imagex.exe /ref preinst*.swm /apply preinst.swm 1 C:\

Hopefully this helps!
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
scott; i'll try your suggestion - but it may take a day or 2 before i'm ready with it.
0
 
LVL 18

Expert Comment

by:web_tracker
Comment Utility
Wow that seems like a lot of work and time you are spending to resolve this problem you may have been better off just buying the recovery disc... although you knew that was one of your options and asked us not to suggest it. ;-)     I guess you are more for the challenge of creating your own backup media....   But some times our time is worth more than the cost of purchasing recovery media. Depending upon how much an hour you pay yourself.  This is really a puzzling case.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
yep - i know it takes time - but that's one thing i have plenty of
but persueing this - and bringing it to an end - is very educational - i always learn lots of things unknown before
and not to forget i like learning this way
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
ok - update
i found the wim file; so i'll try the reset; after making an image
i'll be back (who said that?) with results later
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Okay, keep us updated.  Hope it works for you, and remember, BACKUP, BACKUP, BACKUP! :)
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
no need  - there's nothing to backup (except the OS + key)
in fact i even asked a Q how to clear all previous user data ( i know i can make another user account, and delete the old) but imo there's still traces around then
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
i downloaded the WAIK iso, and opened it - but no imageex file found
do i really need to make the DVD ?

also - yousaid to format c:    -  then go to the recovery and execute the imagex file
how can i startup and do this?  i tried from an elevated cmd prompt
but i only got a virus popup

plse advise
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
The file should be in %SYSTEMDRIVE%\Program Files\Windows AIK\Tools\amd64 or x86 depending on which version you are looking for.

I will also upload the imagex.exe files in a zip file for you.

You will need to change the file extension.  Take off the .txt.
imagex.zip
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
ok - thanks for the file
can you answer my other question? (i believe we're thru then)
------
- yousaid to format c:    -  then go to the recovery and execute the imagex file
how can i startup and do this?
---
FYI - i tried from within windows -  from DARTS, and from Knoppix cd
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
You need to boot to the Windows Recovery Environment.  You can get to this with a Windows CD.  You will need the appropriate bit of Windows to get to the command prompt though.  You boot the disc, then select Repair Your Computer.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
ok - i'll surely try that
it is strange it did not work with DARTS = PE environment
and since the wim file name is boot.wim, the command should be:
imagex.exe /apply "boot.wim" 1 D:\

correct?  - that is with quotes, ad the OS PART = d:
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 91

Author Comment

by:nobus
Comment Utility
ok here is what happened  - it started and showed this screen
ri'm sure the recovery would take longer than 3 minutes?

also  after booting to windows, i get a screen about a bad oobe image or something like that?

i'm restoring the partition right now, so i can restart again
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
You are right nobus,

It should take longer than 3 minutes to run.  The reason for this is you have the BOOT.WIM, which is actually a WIM file that contains the Windows Recovery Environment.

Go to your E: drive and run the following commands.

dir /s *wim
dir /s *swm

Your files should be at least 1GB in size if you find any.

If that doesn't find anything, try these commands.

dir /s *wim /ah
dir /s *swm /ah

That is in case the files are hidden.  If all else fails to find anything, run this last command.

dir /s /os
dir /s /os /ah

That will show all files on the drive, smallest size first.  Let me know what you find.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
thereb is only 1 wim file, 286 Mb as you can see :
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Search on the root E: drive instead of in the FactoryUpdate folder.  For example, in a Compaq I'm working on, the *WIM files are in E:\preload\
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
at your request - i found :
wim
so how can i proceed?

btw - tx for sitting this out ! it is appreciated!
0
 
LVL 8

Assisted Solution

by:Scott Thompson
Scott Thompson earned 400 total points
Comment Utility
Okay, the BASE.WIM file is what we need.  The command you should have to run from the preload folder is the following (once you have the correct imagex.exe in it)

imagex.exe /apply base.wim 1 C:\

It should take about 20 minutes or so.  Then reboot.  If it doesn't reboot into the fresh install of Windows, put back in the Windows disc and choose startup repair to fix the BCD.

BTW, not a problem sticking with you on this.  I HATE installing from disc, so I have had a lot of experience getting Windows back from the recovery partition.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
Scott - one more Q if you don't mind
in your command, what is the meaning of the 1 after base.wim ?
imagex and apply is clear, and also the file; but what is the 1 doing there?

it started well
but later i got errors
err
any ideas about these?
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Did you format the D: drive first so there are no files remaining?  Also, did you boot off a Windows disc, and not use the Recovery Environment on the HDD?

The 1 stands for 'Use the first image in the image file'.  Apparently you can have multiple images in a WIM.
0
 
LVL 18

Expert Comment

by:web_tracker
Comment Utility
I see that you are taking self portraits and posting them on the expert exchange site, is that allowed.  JK    (i just saw your reflection on one of the pictures you took) .
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
answers:
web- tracker - no, that's not me, i use imaging software - a ghost, as they say  ;=))
Scott :
first - the original disk was a 750 Gb; i moved this to a 500 GB ; does this matter?
second, - no, i did not erase the partition - but i'll restart it after adeleting the files
and third,- i used a DARTS disk (= PE environment)

do i understand you correct that the OTHER wim files are for the other partitions?
eg boot= Boot partition, Base = System, WinRE = Recovery, and WinUCRD = Tools
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
That sounds about right for the WIM files.  The size of the hard drive should not affect the recovery.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
ok - i deleted the files from partition with dban - took hours
then i must format it - again hours - still running
i'll post when i can run the command again

**is there a better way yo delete all files from the partition?

maybe from command prompt -  delete *.* or such?
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Honestly, I just use the following command

format C: /fs:ntfs /q

Just so I can get it done quick.  Obviously change your switches or drive letters accordingly.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
ah - quick format that is - i'll keep that in mind
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
Scott -  congratulations !  the recovery ran a full 100 %
then rebooted - applying registry settings; preparing pc for first use, etc...
but then i got an error (see screen) about missing scripts for installing drivers, software, etc..
and it gives only an ok button, after which it reboots every time.
e
Can you help witht htis?
i intend then to close this Q, and start a new one
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Looks like HP have included a sysprep script which is erroring out because the restore isn't being done through the route they expected.  Looking at the .vbs it's trying to call this may simply be a post restore cleanup.  As you've no data to lose at this point can I suggest a workaround which is to again slave the drive to another machine and then either look for the sysprep .xml or either copy the .vbs script if you can find it into the path listed in the error - or simply create a .vbs file in notepad that does nothing but contain a commented out line and just acts as a placeholder that the clean up script can call and move on.  You've probably looked up HideCMD but it basically closes out an active command window without user intervention.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
masq -  it reports an error on each item in the top screen : drivers, software etc..
comments?
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
I've not used imagex for a very long time (Vista) so I can only give you guesses but looks like there should be a series of scripts that run on the first reboot to copy drivers etc into the correct locations.  My guess would be if you can explore the install and find a collection of .vbs files they all ought to be in the location the installer is looking & for some reason the path is wrong.  I'd try moving the scripts or at least copying them to that path.  It's only a guess though!!
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
i'llhave a look into it
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Yes, sometimes this happens on HP machines.  What I would do is now that you have restored the main partition, you should be able to successfully boot to the recovery partition and restore using the HP Recovery Wizard.  This should eliminate the script issues.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
then it does not restore - it simply reboots into windows when i select restore from within windows -or from the bios recovery option (F11 key)
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
Can you F8 to go to Repair Your Computer?

If not, use a disc such as UBCD.
http://www.ultimatebootcd.com/download.html

From here you can go to HDD, Boot, Smart BootManager.  Go down to the HDD partitions and select one to boot from.  Hopefully you will select and get into the recovery environment designed by HP to do the HP Recovery Wizard.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
sorry - Scott; disregard my latest  post.
it should read :
the OS does not run, as indicated; i only get the OK button; after which it reboots.
i also noted that the oS is now windows 7 Home Basic, not Premium? ? ?

i'll try your suggestion Scott
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 100 total points
Comment Utility
You previously asked

"what is the meaning of the 1 after base.wim"

As was explained later, a wim image can hold the different editions of the OS (Windows 7 really uses the same image file from home starter up to ultimate, or home basic to ultimate if it is the 64 bit version. The enterprise version on the other hand is too different and not valid for this.

Probably you need to change your extraction command for imagex to a "2" to get to the home premium edition (a "3" would probably get you Windows 7 pro, and a "4" Windows 7 Ultimate).
0
 
LVL 91

Accepted Solution

by:
nobus earned 0 total points
Comment Utility
rindi - thanks i'll try that !
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
I'm not 100% sure, but I think "imagex /info base.wim" would show you more details about the file, and probably also which number corresponds to which edition.
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
oh yes - and the othe rnumbers 2,3 4 only restore another  HP partition, but not a windows version
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
nobus, what version of Windows is listed on the HP CoA sticker?  Any chance the owner has used an Anytime Upgrade key to move it from the factory installed Home Basic to Home Premium?
0
 
LVL 8

Expert Comment

by:Scott Thompson
Comment Utility
If this is not in the USA, such as I believe it was German, Windows 7 Home Basic was a default that it might have.

http://en.wikipedia.org/wiki/Windows_7_editions
0
 
LVL 91

Author Comment

by:nobus
Comment Utility
COA : Home Premium
and no - not German, but Dutch
0
 
LVL 91

Author Closing Comment

by:nobus
Comment Utility
i sure wish i could give you each 5000 points.
so i close this Q and continue  -
 if i have more Q regarding this in my follow -up Q here : **to be posted **
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Let’s list some of the technologies that enable smooth teleworking. 
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now