Solved

Cannot delete key in Registry

Posted on 2002-03-13
6
153 Views
Last Modified: 2010-04-13
I use Windows 2000 Pro. Going to the Registry with regedit, I cannot delete certain keys of a corrupted program that I need to reinstall. Clicking on the keys, I get "Cannot delete key. Error while deleting key". This occurs ONLY with this precise program. I can delete other keys without problem.
Can you help?
Thank you,
dbessis
0
Comment
Question by:dbessis
  • 2
  • 2
  • 2
6 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6862218
Have you tried booting into savemode and then trying to delete it. I am assuming you have uninstalled the program through Control Panel > Add/Remove Programs. Have you checked for virus's? You may need log on using the builtin administrator account to do the delete.


The Crazy One
0
 
LVL 11

Expert Comment

by:geoffryn
ID: 6862379
Also, you should check the permissions on the key.  You may need to take ownership of the offending key.
0
 

Author Comment

by:dbessis
ID: 6862604
I tried in Safe mode to no avail. I have no virus problem.
How do I check permission on a key? The program corresponding to the keys I want to delete has been completely uninstalled. I cannot reinstall it because it needs to delete the keys and cannot. I tried to delete the keys manually and cannot.
How do I take ownership on a key????
Thank you for your help,
dbessis
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 11

Accepted Solution

by:
geoffryn earned 100 total points
ID: 6862751
Use Regedt32.exe.  It will allow you to edit the permissions on registry key or take ownership
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6863125
I think geoff has what you need to do. Although I can't figure out why the builtin admin account can't delete the key. Did you login using builtin admin account. I am not talking about an assinged admin but the one that was there when Win2000 was installed. Also see if opening a command prompt and using the REG command helps you to delete these keys.

Registry Console Tool For Windows 2000 - version 2.0
Copyright (C) Microsoft Corp. 1981-1999.  All rights reserved

REG Operation [Parameter List]

  Operation  [ QUERY   | ADD    | DELETE  | COPY    |
               SAVE    | LOAD   | UNLOAD  | RESTORE |
               COMPARE | EXPORT | IMPORT ]

Return Code: (Except of REG COMPARE)

  0 - Succussful
  1 - Failed

For help on a specific operation type:

  REG Operation /?

Examples:

  REG QUERY /?
  REG ADD /?
  REG DELETE /?
  REG COPY /?
  REG SAVE /?
  REG RESTORE /?
  REG LOAD /?
  REG UNLOAD /?
  REG COMPARE /?
  REG EXPORT /?
  REG IMPORT /?
0
 

Author Comment

by:dbessis
ID: 6863179
I used geoffryn suggestion, changed the permissions and could delete the keys.
Thanks,
dbessis
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

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

20 Experts available now in Live!

Get 1:1 Help Now