Solved

How to delete corrupt registry key in XP?

Posted on 2009-04-07
13
533 Views
Last Modified: 2012-08-14
Hi,

I'm trying to install a program on my FD's laptop but it keeps getting stuck and throwing 1402 error message about a particular registry key. From looking around it appears that i need to delete this corrupt key and then the install will go through ok. The only problem is that I've been unable to do this. It wont let me take ownership of the key even when logged in as Administrator in safe mode (throws an error). I've also tried running ccleaner without any joy. Can some kind person tell me how to get rid of a corrupt registry key when all else fails?

-Lenny
0
Comment
Question by:Mad_Lenny
  • 7
  • 6
13 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 24093140
Mad_Lenny--You did not identity the "particular registry key" or the program and file involved.  The following may help or if not give us more detail about the key and program/file in your case.
http://www.computing.net/answers/windows-xp/update-error-1402-corrupt-registr/92419.html
http://74.125.95.132/search?q=cache:WPSO-yEnZjUJ:digital.ni.com/public.nsf/allkb/7A99E891BDCBE3A88625715700516EE6+1402+error+corrupt+registry+key&cd=6&hl=en&ct=clnk&gl=us
0
 

Author Comment

by:Mad_Lenny
ID: 24094924
Thanks jcimarron,

My user isnt in until later on so i cant tell you the registry key at the moment. I've tried most of the steps in the links except for the chkdsk /f command. Will provide info and let you know what happens once i get hold of the laptop later on.

-Lenny
0
 

Author Comment

by:Mad_Lenny
ID: 24096320
...chkdsk /f did not work either.

the exact message is:

"Error 1402. Could not open key:
UNKNOWN\CLSID\{CD761E49-7F1E-44BA-B669-B56998E3C9E9}\ProgID.
 Verify that you have sufficient access to that key, or contact your support personnel."

when i try and take ownership of this key i get:

"Unable to save permission chnages on ProgID.
Access is denied"

-Lenny
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24098509
Mad_Lenny--Hmm...I cannot identify that CLSID with a program.  Using Registry Editor (regedit.exe) Edit|Find, can you?
Can you modify that Registry key to disable it?  (do a back up first)  Perhaps then you will be able to delete, but maybe the modified key will not cause the error message.
Do you have Windows Installer "Started" in Services?
0
 

Author Comment

by:Mad_Lenny
ID: 24098939
Hi RC,

(the program is an Epicor component), i am able to find the correct key in the Registry Editor but I'm unable to delete it or take ownership of it even though i'm logged in as admin (same in safe mode).

I've also tried running the XP repair process booting from the cd, but had no joy. I've had to give the user his laptop back now to do some work....will have another look tomorrow. I'm really hoping i dont have to do a rebuild to fix this (Epicor's helpful suggestion!).

-Lenny
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24100728
Mad_Lenny--So you are saying the client wants to keep the Epicor software involved?  Did you try to modify/disable that key?  If you back it up first, you could easily restore after trying to install the other program
Have you looked in here
http://support.epicor.com/  ?
P.S.  If the client does not want to keep the Epicor software you could try to uninstall it entirely, either from Add/Remove or by using RevoUninstaller.  The latter is very good about removing involved Registry keys.
http://www.revouninstaller.com/   
And if the client has the installation program, the program could be reinstalled.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:Mad_Lenny
ID: 24105331
Hi JC (even!)

the client has epicor loaded on his machine, in order to use one of the web components he browses via IE to one of the reports (on the epicorserver) which he wants to run. He clicks on it and then at this point he is prompted to ok the installation of the required component. So far, so good, but about 90% of the way through the install it throws up the error above; i am able to find the correct key in the Registry Editor but I'm unable to delete, disable, modify or take ownership of it even when logged in as admin (same in safe mode).

the solution is apparently to delete the corrupt key and rerun the install, at which point I'm told the installation will go through, no questions asked....so it all boils down to how can i get rid of this corrupt key (now known by the code name: "mugabe") without having to go nuclear and rebuild the entire laptop? (which admittedly i could have done by now, but its the principle!!!!)

suggestions welcome,

-Lenny  
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24111271
Mad_Lenny--One way to delete the problem key would be to delete the program with which it is associated.  Then hopefully a reinstall of the program would not result in a corrupt key.
But have you tried to disable/modify that key to see if that allows the desired installation to proceed?
0
 

Author Comment

by:Mad_Lenny
ID: 24183064
that's the problem - I am unable to delete/disable/modify or take control of the offending registry key
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24199720
0
 

Author Comment

by:Mad_Lenny
ID: 24202356
Yes,

when i try and take ownership of this key i get:

"Unable to save permission chnages on ProgID.
Access is denied"

-Lenny
0
 

Accepted Solution

by:
Mad_Lenny earned 0 total points
ID: 24699100
Well, gave up banging my head against this particular brick wall - I resolved the problem by installing Windows 7rc....it's like I've given the users' old laptop the elixir of youth, think I'll be upgrading to Win7 as fast as I used to downgrade to xp.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 24703330
Mad_Lenny--If you pleased the customer, that is what counts.  :)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Old version of iTunes download 4 119
Upgrade or retire 8 96
netsh interface ip show interface in Windows XP 4 118
How to stop a Microsoft scheduled Windows 10 upgrade 16 114
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

14 Experts available now in Live!

Get 1:1 Help Now