Error 1404 Could Not Delete Key Software Classes

Error 1404 Could Not Delete Key Software Classes Rating: 4,1/5 9314 reviews
  1. Space Bar Key
Active1 year, 3 months ago

That is very interesting. I would try to login to the Admin account and do some cleaning. Once you have everything removed, including leftover files and entries, then try to reinstall while still logged on as the Admin.

I am trying to delete a registry key in regedit and keep getting this error:

Cannot delete (keyname): Error while deleting key.

I am an admin and have checked the permissions for the key and all parent and child keys. I have full control but the same error still shows.

Not

Any help is appreciated.

bwDraco
37.7k37 gold badges143 silver badges179 bronze badges
KriiKrii
2382 gold badges3 silver badges10 bronze badges

5 Answers

Space Bar Key

You probably have to take ownership before you can delete the key. Right click on the key and click 'Permissions...', then Add. Type in your username then 'Check Names'. Click OK. Then Click Advanced and then the Owner tab. Highlight your username and hit OK. You should now be able to check Full Control under the Allow column and from there actually delete the key.

Edit:You can also check the 'Advanced' permissions with the list of 'Permission entries' to see if there are any 'Deny' types preventing deletion.

BillDOeBillDOe
1,2332 gold badges11 silver badges29 bronze badges

I have found the answer. There was a driver preventing the deletion. I used the notepad backdoor to delete it (has not been tested on OS subsequent to Windows 7).

Note: If you already have a Windows Recovery drive, you can delete the driver by booting from the drive, opening the Command Prompt, and deleting it using some simple Batch commands (or starting notepad and navigating with an interface from Open on the file menu).

Directions:

  1. Restart your computer.
  2. When you see the Starting Windows screen, force shutdown your computer.
  3. Start your computer.
  4. You should see a menu with a Launch Startup Repair (recommended) option. Select this.
  5. Startup Repair will now start. You will shortly see a window saying Do you want to restore your computer using System Restore?. Click cancel.
  6. Wait until another window pops up (this may take a while) that says Startup Repair cannot repair this computer automatically. Click on the View problem details drop-down.
  7. Scroll down to the last link (it should be a text file) and click on it.
  8. Once in notepad, click Open from the file menu. From there you have full access to your computer.
Error 1404 Could Not Delete Key Software Classes

For deleting a driver, navigate to C:WindowsSystem32drivers and delete the driver you want.

If you know Batch, navigate to C:WidnowsSystem32 and right click on cmd.exe. Click Run as administrator.

KriiKrii
2382 gold badges3 silver badges10 bronze badges

I had a similar issue today when trying to kill/disable the service SBSCore. (which requires changes to the reg before the service itself can be disabled.) What it comes down to is that you might have the right permissions in place, but as long as that registry is running, that key/value might be locked in place.

In order to unlock the registry, I had to use Sysinternals: Process Explorer and Right Click > Suspend the exactable that had the key locked. Suspending the app made sure that it was malleable (since it releases the locks that it had) but also doesn't force the app to reload and possibly reset/repair the key value while you're working on it.

In Process Explorer, you can use Ctrl+F and search using the program location, program name, or DLL to find which apps are using it. Double Click to jump back to the main ProcEx window with the program highlighted and selected for you. Suspend it and then make your changes.

Besides that, the only other thing of note is to make sure that you have the parent regkey permissions update the child regkeys. Just adding the permissions per key won't mean you have 100% access to everything under it.

The work around for me came from here: How to disable SBS 2003 to 2008/2011 migration grace time period expiration

NBN-AlexNBN-Alex

You could run Safe Mode and there open the regedit and try to delete the keys. If the keys were created by the program that was uninstalled, then try to recover to the point before uninstalling (better - before installing). After that use the methode mentioned above.

Key
GeorgeGeorge

psexec -i -d -s c:windowsregedit.exe

get file from here & unzip in path and run command above

BubbaBubba

Not the answer you're looking for? Browse other questions tagged windowspermissionsregedit or ask your own question.

Posted :