Link to home
Start Free TrialLog in
Avatar of AZCOM_IT
AZCOM_IT

asked on

XP Pro re-installation hangs with 27 minutes remaining at Completing Installation

Hi all.

Similar to a question posted by wilri01quite some time ago, I am attempting a repair install after swapping the HDD to new hardware for a client.

I cannot do a fresh install and need to retain the existing install as it contains software that I cannot re-install.  To cut a long story short the client does not have the installation source for this software, an oversight when the business was bought/sold.

I have disabled everything I can in the BIOS and removed any add-in cards, I have used alternate RAM.  I have disabled devices in Computer Management (Shift + F10 etc) and disabled any 3rd party services from within the recovery console (anti-virus and printers)

Doesn't matter what I do, it always hangs at 27 minutes.

I have inspected setupapi.log - that provided no useful information at all (to me), I have renamed the inf folder and catroot2 folders with no change.

I have tried a fresh install on another HDD and it gets past the 27 minute mark which I guess indicates an issue with the previous install, but as already advised, I need to keep the original install.

Has anyone got any ideas or insights, come across this problem before or even just another suggestion as to what I can try next?

I'm at wits end and the client wants their computer back.

TIA

Andrew.
Avatar of Desroches
Desroches
Flag of Canada image

i wouldn't do a repair when changing hard drive to new hardware. I think you would be more sucessfull using sysprep from microsoft. Put the hard drive back in the old computer and run sysprep. when the computer shutdowns, move it to the new hardware. It will of course ask you for your cd-key again so make sure you have that handy.
Avatar of johnb6767
Can you please post the setupact.log/setupapi.log/setupperr.log as well for us to peruse?
Avatar of marsilies
marsilies

It's likely hanging on new hardware on the new machine. Make sure any USB devices are unplugged except for keyboard and mouse.

This previous answer also offers a possible solution:
https://www.experts-exchange.com/questions/23769283/repair-hangs-stalls-stops-at-27-or-26-minutes-left-in-completing-installation.html


Also, instead of using a repair install, you could use a tool designed for hardware migration, like Paragon's Adaptive Restore. A lot of disc imaging products come with such a tool nowadays.
https://www.experts-exchange.com/Storage/Backup_Restore/A_2569-Migration-to-dissimilar-hardware-How-to-migrate-to-new-hardware-without-OS-reinstallation.html
May I ask what Anti-Virus product were you using on the HDD which is giving error. Is it possible to boot from the HDD, run the windows and uninstall any Anti-Virus, firewall you have and then try to install.

Sudeep
Avatar of AZCOM_IT

ASKER

Johnb6767, I have attached the files.

FYI, I started with the recovery console, deleted the setup*.log files and restarted the installation with debugging mode enabled and waited for it to hang.
I restarted the computer again, logged into the recovery console and copied the files to USB.

I hope that is suitable.

Marsilies, I have successfully used the repair install technique many times without incident.
I have had a look at Paragon software and downloaded their software.  I have retrieved the clients old hardware and will see if I can get it running on it - then I will try using the P2P process the provide.  Also, I have disabled as much of the new hardware as possible in the BIOS, including the USB devices, NIC and sound.

SSharma, the client uses Trend Micro Worry Free Business Security.  I have disabled the related services via the recovery consoles 'disable' command.

I will attempt a repair install on the old hardware, but it AFAIK had failed, hence the change of hardware.  Will report later on progress.

BTW, thanks everyone for your input, nice to know this support exists.
Oops, here are the files.  Setuperr.log is blank.
SETUPACT.LOG
SETUPAPI.LOG
First log.....

desk.cpl:  Returning 0xe000020e for function 0x17 and device PCI\VEN_8086&DEV_2E32&SUBSYS_D0001458&REV_03\3&13C0B0C5&0&10
desk.cpl:  Returning 0xe000020e for function 0x18 and device PCI\VEN_8086&DEV_2E32&SUBSYS_D0001458&REV_03\3&13C0B0C5&0&10
desk.cpl:  Returning 0xe000020e for function 0x15
C:\WINDOWS\system32\igfxrarb.lrc was not deleted because of the following error:
The system cannot find the file specified.

C:\WINDOWS\system32\igfxreng.lrc was not deleted because of the following error:
The system cannot find the file specified.

C:\WINDOWS\system32\igfxrfrc.lrc was not deleted because of the following error:
The system cannot find the file specified.

C:\WINDOWS\system32\igfxres.dll was not deleted because of the following error:
The system cannot find the file specified.

Intel Video Driver files.....
Hmmm, I thought so too, but.... on the weekend I put in a crappy PCI video card and attempted the install again, no joy.  I then tried a PCIe video card (this time it disabled the on board adapter) and still no go.

This evening I managed to get the old machine working (a very old machine and it was a dodgy RAM chips which now makes it even slower) and attempted a repair install.  Still hung at 27 minutes.  Damn.

Unfortunately I am stuck with a repair install and as I have not had issues with them before I didn't bother ghosting the HDD.  I have an image taken when this all FUBARed, so I am stuck with half an install and alwasy start re-installing windows.


I didnt see a while lot in the second log.. Search for "DENIED", didnt find anything......

Laste entry......

#E361 An unsigned or incorrectly signed file "D:\i386\wmicvalu.xs_" will be installed (Policy=Ignore). Error 0x800b0100: No signature was present in the subject.

Maybe you have a bad install disk?
Any chance the machine was in a somewhat workable state for the ciritcal apps at least functioning, to turn this into a VM?
Hi Johnb6767, I have used 2 install disks, XPSP2 and XPSP3 and they both installed with the same result.

I am stuck in the install loop, everytime I start I get the 'setup is restarting....' message.  Now that I have returned the HDD to the original hardware I would like to revert to the original install.

I did a quick google last night for cancelling setup and stop install etc but, I found one or two posts about the RC and bootcfg /rebuild but nothing worked to my satisfaction.

I have a .gho image of the install, I will see what VMWare makes of it.

Thanks for your time and help.  If you think of anything else I'd appreciate it if you post it.
I have done it successfully with a bit of offline regiastry editing, and of course I didnt document the process... Way to go me.....  :)

Do they both stop at the same spot in the setupapi.logfile?
Aaaarrgh.
I restored the ghost image to a VMware partition and re-ran the repair install
Grrrr, stopped at 27 minutes again.

I will tackle it again in the morning, I've had quite enough of it today, and post the setup*.log from the VM then.

Johnb6767, if you ever figure out what you did to kill a restart of the install I'd appreciate it significantly.
If anyone is interested, the *.log files from the VM.

Cheers.
setupact.log
and this one.
setupapi.log
Last entries are both

#-336 Copying file "D:\i386\wmicvalu.xs_" to "C:\WINDOWS\system32\WBEM\wmiclivalueformat.xsl" via temporary file "C:\WINDOWS\system32\WBEM\SETE8.tmp".
#E361 An unsigned or incorrectly signed file "D:\i386\wmicvalu.xs_" will be installed (Policy=Ignore). Error 0x800b0100: No signature was present in the subject

Corrupt WBEM respository in the existing OS perhaps?

Rename c:\Windows\System32\WBEM\Repository to Repository-Old, and see if it continues...

When you are in setup, hit SHIFT+F10 (Maybe F12), and you can get a command prompt. Might be able to do this before you hit 27 minutes......
'fraid not.

Renamed the folder as suggested, same result.

I guess what I want to know is what is the installation doing from the time you enter the product key to the end of the installation.  I know it is all mystical requiring no user intervention, but someone must know the steps and process it undertakes.  Knowing that might help identify the hurdle.

I have posted a message on a MS forum asking that, I'll see that that reveals.

Thanks again for your help.
NP...

It does alot of expanding, setting up services, adding features, building the registry etc.... Never tried to follow the process that closely.....
I don't want to follow it that closely either, but that is the only way I will figure it out.

I'm guessing now it is likely to be a permissions error or some other obscure thing (registration of a COM+ or dll) that it can't get past that stops it dead.
Just had a brain fart, did this on a RIS I am doing, and gave good info.....

When in GUI Mode Setup, hit SHIFT+F10, for the cmd prompt.

CD System32
taskmgr.exe

Look at the processes.... See anything besides setup.exe using CPU? Might get some insight as to what it is doing



Hi.  The usual suspects I'm afraid; csrss, lsass, services, setup, smss, spoolsv, svchost, taskmgr and winlogon.
I did notice msdtc.exe fire up at 28 minutes just before the 27 minute mark.
Even when I killed msdtc, it still hangs.
Will do a quick bit of research on msdtc.exe
CPU usage for setup.exe hits 99% too, don'tk now if that helps.
disabling or renaming msdtc.exe made no difference either.
"CPU usage for setup.exe hits 99% too, don'tk now if that helps."

This might be a bit tricky.....

Pull the drive out and copy Process Explorer to the System32 directory. Next time it starts to hose, hit the Task Manager and launch procexp.exe, and lets see if we can get more details on the threads involved with the .exe...

Double click the msdtc.exe, and go to the Threads Tab. Note which one is using the CPU, and double click it, and post the contents here.....

Also, may not be able to end it forcibly, but since it is a service, the following might stop it....

"net stop MSDTC"

Also, are you 100% sure this HDD is in good shape?

Note the logs of the system you put it into, for any DISK/NTFS errors....

Or in the cmd prompt.... A read only chkdsk.....

chkdsk <enter>, with no switches....
I'm currently running the setup in a VM, so the HDD is as good as a VM can make it.  This is also my workstation and I don't have any issues.

I'm on holidays, so at the moment I'm running the install in a VM on my workstation and home and tinkering with it via RWW over my 3G (mobile phone) connection - gotta love computers.

I will see if I can get procexp on to the disk and if I can see which thread is getting it to 100% - it might take me a few days - it might have to wait till I'm back on Sunday.
NP. As an aside, I recently had tyo trash a VM due to horrible NTFS errors, where the MFT was corrupted.... Remember thinking, wasnt virtualization supposed to make things easier?
Well, Process Explorer has not helped.  I am no closer to finding the hiccup.

When it hangs (or locks), the thread in setup.exe using the most CPU is OCMANAGE.dll, a little over 10% (even though Task Manager indicates that setup is using 100% of CPU).

One thread, highlighted in red is MSVCRT.dll!endthreadex, I assume it is trying to kill.

The thread list of setup.exe contains all the usual suspects; kernel32.dll, ole32.dll, crypt32.dll, netapi32.dll, userenv.dll, ntdll.dll, netapi32.dll as well as mqutil.dll, syssetup.dll and ocmanage.dll and setup.exe.

The State of setup.exe is Wait:WrUserRequest - is setup attempting to display a dialog for input?

Don't know if that is too much or too little info to help.
"(even though Task Manager indicates that setup is using 100% of CPU)."

What did Process Explorer show for the DPCs and Interupts?

"One thread, highlighted in red is MSVCRT.dll!endthreadex, I assume it is trying to kill."

Should be a C++ Runtime File.....

Im at  a loss...... Im gonna review a few of my logs on an install, to see whats immediately following where yours stop....

ASKER CERTIFIED SOLUTION
Avatar of johnb6767
johnb6767
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi johnb6767, I took some of your advice.

I did a fresh install and saved the logs.  I then tried the repair install again and saved the logs.
I haven't had a chance to review or compare them yet.  
Both setuperr.log files were empty.

FYI.
setupact.hang.log
setupact.new.log
setupapi.hang.log
setupapi.new.log
Hi Johnb6767.

I diffed the files and still none the wiser.  I was almost ready to give up when....
I remembered I made a ghost image of the HDD 2 years ago (just in case the HDD crashed) so I retrieved the DVD.  Wouldn't you know it, the disk had errors.
Miraculously I managed to get the image of the DVD onto my laptop and I successfully 'restored' the computer to 2 years ago, successfully repair installed the O/S and copied the necessary data from a new image I had taken when all this started.

Still have no idea why it stopped at 27 minutes remaining, don't think we ever will, most posts I found, the users ended up doing a clean install.  Sorry to anyone who was looking for a solution.

Johnb6767, full marks to you for your assistance and patience and a few ideas I would not have thought of.

No real solution, Johnb6767 deserves some kudos for his time, patience, advice and ideas.
i used the shift F10...cd c:
taskmgr.exe
then started ending tasks on all svchost  services...i think i had 3...
when the 3rd one was killed, the CD spun up and it moved past.
Tonyc92012's advice helped me in the same situation, thanks!