Solved

Registry installation files

Posted on 2011-09-30
15
281 Views
Last Modified: 2013-11-05
Can anyone tell me where XP puts its installation files in the registry during a repair installation?

I need to disable the switch that makes it automatically restart after 34 minutes.

At the moment it is stuck in a cycle of "setup is now restarting" after it finishes loading the XP splash screen.

Safe mode also keeps resetting after loading as it says "setup cannot be run in safe mode".

The MBR is ok, and I have run a Chkdsk /r with no problems.

I really do not want to have to do a clean install as it seems it is just a temporary reset command written in to the start up files by the the installation process before being undone again on completion.

0
Comment
Question by:mmi02002
  • 6
  • 3
  • 3
  • +2
15 Comments
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 36892420
Just a quick and possibly off topic question: are you repairing using a CD that exactly matches the installation you are trying to fix?
(http:A_3218.html)
0
 

Assisted Solution

by:mmi02002
mmi02002 earned 0 total points
ID: 36892498
Yes it's the same one. I've used it before.
0
 
LVL 10

Expert Comment

by:Jim-R
ID: 36892631
These are the log files XP creates during setup.  Your answer is likely contained within the setupact.log.

setupact.log-This log file contains a list of actions in chronological order that occurred during the graphical installation phase, such as file copies and registry changes. The OS also stores setup error log entries in this file. XP writes the setupact.log file to the %systemroot% folder (e.g., c:\windows).


setuperr.log-This log file contains a list of errors that occurred during installation and their severity (this log file should be 0 bytes in size if no errors occurred during installation). XP writes the setuperr.log file to the %systemroot% folder.


comsetup.log-This log file contains installation information about Optional Component Manager and COM+ components. XP writes the comsetup.log file to the %systemroot% folder.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36892821
When you do an install from scratch, it uses a folder called ~!winnt for the extraction..... (going off memory.....). Not sure about a repair....

As soon as GUI mode setup starts, hit SHIFT+F10, and do a DIR to see if you can find what it is....

"I need to disable the switch that makes it automatically restart after 34 minutes."

Sounds more like a HW problem where it is failing to initialize a driver install. Its a BSOD basically..... Do you have an idea of what switch to flip? I don't know of one........

If you can disable ALL internal devices (modem/nic/sound), and unplug all peripherals, you might be able to get past that part.....




0
 

Assisted Solution

by:mmi02002
mmi02002 earned 0 total points
ID: 36893221
Jim-R thanks.

Plenty in that setupact.log. Lots of stop errors and GUI mode setup has started messages as you might expect.

Looks like my downfall was on the hdaudbus.sys driver not being found. I located and supplied the driver to get passed this during setup, but the setupact.log shows lots of USB type DLL, .SYS and .VXD files not found following this.

No indication of any registry entries for a restart though.  

Johnb67667, I think you are right. A quick search on Winn32.exe from the I386 folder indicates that the GUI setup routine kicks in once protected mode is established. I am unable to hit the shift F10 though, this function proves inoperative alas and has done all along.

I would suspect my system board USB hub drivers have gone awry and it will be a clean install. I will however disable in BIOS just to see before I give up totally. Also I'm going to due a search on the 'asms' process as the setupact.log mentions this too.

Thanks chaps, will keep question open for now.
0
 
LVL 10

Expert Comment

by:Jim-R
ID: 36893753
I'm going to due a search on the 'asms' process as the setupact.log mentions this too.
failed installtion D:\I386\asms.

A couple of people discussing this "asms" issue found that using a different install CD cured their install problem.

I didn't think it was the Win XP CD because I had used it before for my first installation on this computer. I tried to install Win XP 3 time’s with this CD and got the same results. I don't know why this happened but when I tried a new Windows XP Pro CD I had know problem and Window XP installed with out a hitch.
From Microsoft
"The file 'Asms' on Windows XP Professional CD-ROM is needed" error message when you install Windows XP
This issue may occur if the Setup program cannot communicate with the CD-ROM drive.
If you are not using a retail Windows XP CD-ROM with a hologram (for example, if you are using a burned CD-ROM)...,<snip>.... To verify this, start the computer by using Recovery Console, and then check the C:\$win_nt$.~ls folder. Look for the Asms folder. If the folder is missing or the files that it contains are zero bytes, the CD-ROM was not burned correctly.
0
 

Accepted Solution

by:
mmi02002 earned 0 total points
ID: 36896060
Found it!!

The Setup restart switch is written into the following hive of the registry:

HKey_Local_Machine\System\Setup.

Then change the "RestartSetup" key from 1 to 0.

Also change the "SystemSetupInProgress" and "UpgradeInProgress" keys from 1 to 0.

This then enables Windows to load back under the NTLDR conditions and fire up the kernal for what use this may be. Either that or Safe Mode can now be invoked without getting stuck in the setup/restart routine. Again not sure what good this is.

Will b*gger around a bit more and see where I get.

No sign of $Win_nt$~log folder btw. I checked using Erd Commander. The installation CD I'm using incidentally is a slipstreamed SP2 CD.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 36897699
and the previous operating system was sp2?  you should make a sp3 disk
0
 

Author Closing Comment

by:mmi02002
ID: 36960669
Solved my own question.
0
 

Author Comment

by:mmi02002
ID: 36935620
No one else came anywhere near answering my question.

I found the answer for myself which I have stated clearly and precisely under ID # 36896060.

I have no desire to share the points with any of the other commenters as all they did was lead me down a false path and cause me to waste more time exploring other incorrect avenues. Harsh I know, and I appreciate their attempts, but it is still nevertheless frustrating as I don't sell myself as an expert displaying whatever level of rank I have acheived and boast thousands of points.

If I am not allowed to award myself my own points then fair enough, but I would still like my resolution to be logged for future use as it is still an exact and bona fide solution.

Thanks

MMi02002



0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 36935669
Not harsh at all, and a really useful addition to the database of solutions for a Windows feature that is really very poorly documented elsewhere.  Thanks for sharing it.

FWIW currently Experts don't really have an option on how their avatars showing points gained are displayed.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36936533
Also, in all fairness to the experts commenting, you were asking for something that doesnt exist.

"I need to disable the switch that makes it automatically restart after 34 minutes."

That doesnt exist. The values you removed are whats used to cancel a repair install. Doesnt do anything for a 34 minute reboot, as the reboot is either a hardware/driver/registry error....

If the question was asked "How to cancel a Windows Repair Install", that would have been a lot more of a direct answer.

Not trying to argue, but I do think it was a bit harsh in your closing comment. Thats not a good way to have the volunteer experts want to help you in future....

$.02
0
 
LVL 10

Expert Comment

by:Jim-R
ID: 36936570
I found the answer for myself

Excellent

I have no desire to share the points with any of the other commenters

You shouldn't have to

all they did was lead me down a false path and cause me to waste more time exploring other incorrect avenues

unintentional, I'm sure.

I appreciate their attempts

Thank you for that.  I do try my best to help.

I don't sell myself as an expert displaying whatever level of rank I have acheived

None of us here do.  Experts Exchange sells us.  We are all volunteers and our ranking and points shown is beyond our control.  These things are basically our only reward for helping here.

If I am not allowed to award myself my own points...

None of us are allowed to award points, only answer questions.  Points are only awarded by questioners like yourself

I would still like my resolution to be logged for future use as it is still an exact and bona fide solution.

So it will be.  I'm sure we all thank you for that, even though we can't award you points for doing so.

Thank you for using Experts Exchange!
0
 

Author Comment

by:mmi02002
ID: 37023500
Thanks everyone for some very reasonable and understanding comments re. my conclusion comments.

I stand enlightened on the virtues of this great knowledge base particulalry with Johnb67667's comments

"If the question was asked "How to cancel a Windows Repair Install", that would have been a lot more of a direct answer".

A very important point. Had I not been so wrapped up in the problem at the time then perhaps I may have articulated it more accurately. However, this was my best attempt in the heat of the moment when up against a deadline.

Nevertheless, such kindly explanations have helped me appreciate further quite what a fine device this  web site is. THANKS TO ALL FOR YOUR SUPPORT!!!

MM
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 37051806
:)

Catch ya next time.....
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

18 Experts available now in Live!

Get 1:1 Help Now