[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

cannot delete key in loaded hive

Posted on 2006-11-29
15
Medium Priority
?
1,410 Views
Last Modified: 2012-06-21
I attempted to update some software. It said there is a registry key problem. Went to the software site and found the problem key name. Though my user has admin rights, I could not delete the problem key. Logged in as admin and still could not delete the key. Booted to XP on the backup partition. I have a second install of XP in a small partition to do backups and maintenence on the main install. I loaded the registry from my main system as a hive in the backup system. I still could not delete the problem key, even in a hive, when booted to another system. I have no other problems. Please advise how to delete this bad key. Thanks
0
Comment
Question by:dmcdivitt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
  • 2
  • +1
15 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18042586
Can you shed some light on where it's located?

Try this...
Right-click the key - choose permissions
Click Advanced
Click Add
Type Everyone
Click Full Control
Click OK
Click Replace permission entries on all child objects
Click OK
Click Yes
Click OK

Now, try to delete it.
Post the results.
0
 

Author Comment

by:dmcdivitt
ID: 18042845
It says it's unable to save permission changes, access is denied.

The key appears permanently stuck. I made a reg file and attempted importing, but that doesn't work, either.

The key is HKEY_CLASSES_ROOT\GetRight.Automation . It won't display, either.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18042867
and from a command-line?

reg query hkcr\GetRight.Automation <Enter>

produces what?

Can you export the key?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:dmcdivitt
ID: 18042901
From the command line is says: access is denied.

The key cannot be exported.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18042945
Try this:

reg query hkcr | find /i "getright" <Enter>

Another thing - applying the permissions, you may need to do it from the parent hive - HKey_Classes_Root - and push the permissions down to all subcontainers...
0
 

Author Comment

by:dmcdivitt
ID: 18043113
This is what the command returned:

HKEY_CLASSES_ROOT\.GetRight
Error:  Access is denied in the key HKEY_CLASSES_ROOT\GetRight.Automation
HKEY_CLASSES_ROOT\GetRight File List
HKEY_CLASSES_ROOT\GetRight.Automation
HKEY_CLASSES_ROOT\Ie2GetRight.Ie2GetRight
HKEY_CLASSES_ROOT\Ie2GetRight.Ie2GetRight.1

I tried changing permission at HKEY_CLASSES_ROOT by editing everyone. Full control was unchecked, then checked again, and apply clicked. Had the hourglass for a few seconds. Still no success in displaying or deleting the problem key.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18043151
Youch...I'm running out of ideas here... you don't want to fool around too much with the classes root hive, so it's not something that I'd recommend continually testing against without a way out.

Aside from saying you'd need a repair install, restore, or system restore function performed against it, I can't think of anything else that would resolve this for you...sorry... :(

Hopefully someone else has some ideas...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18045069
Nice one AmigoJack! ;^)
0
 

Author Comment

by:dmcdivitt
ID: 18047836
I tried RegDelNull and it says access denied.
0
 
LVL 12

Expert Comment

by:AmigoJack
ID: 18048107
the only thing i found is this :(
http://getright.invisionzone.com/index.php?showtopic=217&pid=4081&st=0&#

bartPE is quite simple and free, but it takes some time to create such a disc. the advantage is that you have an os that can run completely from cd.

very weird indeed :[ i hate hearing you cannot control the registry no matter what. can we really exclude issues like running processes/dlls that can protect the key? maybe getright lets windows load some driver at the startup. have you tried a safeboot?

0
 

Author Comment

by:dmcdivitt
ID: 18048964
I found the reference to bartPE already. Instead of using that I booted to the backup partition and loaded the problem registry as a hive. From there I would have the same capability as any other scheme. But the key still cannot be accessed, displayed, or deleted.

I dumped out the entire registry to a text file. The following is all that references getright.automation:

  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{4DA2C32A-4195-11D1-A9E1-00403320FCF2}]
  @="GetRight.Automation"

  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{4DA2C32A-4195-11D1-A9E1-00403320FCF2}\InprocServer32]
  @="C:\\Program Files\\GetRight\\XX2GR.DLL"

  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{4DA2C32A-4195-11D1-A9E1-00403320FCF2}\ProgId]
  @="GetRight.Automation"

I deleted them. But nothing from HKEY_CLASS_ROOT was written to the text file. I thought everything would be. XX2GR.DLL is given above, so I searched and deleted everything having that, including the key displayed above. When I reboot the key is there again. If I delete the key, how is it reappearing? Is the registry being restored from somewhere?

0
 

Author Comment

by:dmcdivitt
ID: 18065152
I resolved this issue. Can I get credit for it?

The following page has the solution:
http://forum.aumha.org/viewtopic.php?t=8125&sid=03331399bdd9d4348b0e47e864ca5f2a

I will go ahead and post details from the page.

Download SubInACL.exe from here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en

Create the file fix.cmd file where SubInACL.exe was installed. In the file put:
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=systems=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f

Go to cmd prompt. Chaqnge to the directory where SubInACL.exe was installed. Type fix.cmd.

The screen will run for awhile. Don't worry what it says. When it finally comes back to the cmd prompt the bad registry key will be unlocked.
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18065208
Thanx for posting that!  Good info for the future.
Please post for a PAQ/Refund in http:/Community_Support/askQuestion.jsp
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 18065429
Closed, 250 points refunded.
DarthMod
Community Support Moderator
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

650 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