How to fix
“Unable to delete all specified values” Registry Editor error
on Windows
Resolve the "Unable to delete all specified values" error in Windows 10 or 11 quickly with our expert-tested solutions. Fixed in minutes!
What causes How to fix “Unable to delete all specified values” Registry Editor error in Windows?
- Permission issues with the Registry key
- Restrictions set by IT administrators in corporate environments
- Registry keys owned by system processes or services
- Read-only or non-deletable permissions on certain keys
- Antivirus programs or security tools blocking changes
Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.
I was trying to modify the registry because I had issues with the Photos app, and I received an error "Unable to delete all specified values." I am now stuck with issues with both the Photos app and Registry Editor... Anything I could do to resolve this?
Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and its installed applications. Advanced users often access the Registry Editor to tweak settings that are not accessible via the standard user interface.
However, editing the Windows Registry is not without its risks. An incorrect modification can destabilize the system or make it unbootable, necessitating technical expertise to fix the issues. Therefore, it's essential to proceed with caution, back up the Registry, and follow reliable instructions when making changes.
One error that users sometimes encounter while trying to edit or delete keys in the Windows Registry is the "Unable to delete all specified values" message. This error typically arises due to permission issues. When an account does not have the required permissions to alter a particular Registry key, the system will block the action and display this error message.
In corporate environments, restrictions on Registry access may be set by IT administrators to prevent unauthorized changes to system configurations. Similarly, certain keys could be owned by system processes or services, and altering them could be restricted.
Even if you are the administrator on the machine, certain Registry keys may have permissions set that make them read-only or non-deletable. If you try to delete or edit these keys without the appropriate permissions, the system will prevent you from doing so, resulting in the "Unable to delete all specified values" error. It's also worth noting that antivirus programs or other security tools may also prevent changes to certain Registry keys, viewing them as potential security risks.

Solutions typically involve changing permissions for the affected keys, disabling third-party security software temporarily, or using command-line tools to perform the action. These steps are outlined in the instructions below this article.
For a broader approach to resolving not just this but also other potential Windows issues, using a [d1] PC repair tool can be effective. While it may not directly resolve this specific error, it offers a convenient way to automatically address multiple system issues in a quick and efficient manner.
Fix 1. Run Registry Editor as administrator
Running the Registry Editor with administrative privileges ensures that you have the highest level of access possible, reducing the chances of encountering permission issues.
- In Windows search, type in regedit.
- Right-click on Registry Editor and select Run as administrator.
- User Account Control will show up and ask whether you want to allow changes - click Yes.
- Attempt to modify registry entries again.

Fix 2. Change Registry key permissions
If your account lacks permission to modify a Registry key, you can manually adjust the permissions to gain the required access.
- Open Registry Editor as an administrator.
- Navigate to the Registry key you want to delete or modify.
- Right-click on the key, choose Permissions and go to the Security tab.
- At the bottom, check the Permissions for section.
- Untick the Deny checkmark.
- Click Apply and OK.

Fix 3. Use Command Prompt
Command Prompt can sometimes bypass the typical UI constraints, providing a different avenue for editing the Registry.
- Type cmd in Windows search.
- Right-click on Command Prompt and select Run as administrator.
- When the UAC window shows up, click Yes.
- Type reg delete [Registry Key Path] /f and press Enter.
- Replace [Registry Key Path] with the full path of the Registry key you're trying to delete.
- Confirm any prompts that appear.

Fix 4. Temporarily disable antivirus software
Antivirus or security software may block changes to certain Registry keys as a safety measure.
- Locate your antivirus software in the system tray at the bottom right corner of the screen.
- Right-click on it and look for an option like Disable protection temporarily.
- Choose the time frame for which you want to disable it.
- Perform the Registry operation and then re-enable the antivirus software.
Fix 5. Boot into Safe Mode
Booting into Safe Mode minimizes the number of running processes and services, which could allow you to delete a stubborn Registry key.
- Restart your computer.
- Press F8 (or another button) repeatedly before the Windows logo appears to open the Advanced Boot Options menu.
- Select Safe Mode and press Enter.
- Once in Safe Mode, open the Registry Editor.
- Navigate to the troublesome Registry key and attempt to delete or modify it.

Bottom line
To fix the 'Unable to delete all specified values' error, you can change permissions for the affected keys, disable third-party security software temporarily, or use command-line tools. If these solutions do not resolve the issue, further technical assistance may be required.
Frequently asked questions
This error typically occurs due to insufficient permissions or when the registry key is being used by a running process. Ensuring you have administrative privileges can help resolve this issue.
You can right-click the registry key, select 'Permissions,' and adjust the settings to give your user account full control. Alternatively, you may need to take ownership of the key before making changes.
Yes, but it is crucial to back up the registry before making any changes, as incorrect modifications can lead to system instability in Windows 10 or Windows 11.




Report an issue
What's wrong with this guide? We review every report and update or remove content.
Report received — thank you. We'll review and fix it.
You need a free account to submit a report.
Be the first to comment