How to Fix Registry Permission Errors in Windows 10 and 11


A registry permission error appears when Windows or an app tries to change a registry key, but the account it runs under does not have the rights to do it. You might see it while you install a program, change a value in Registry Editor, or run an uninstaller. Most cases come down to a few causes, and you can check them in a safe order without touching anything risky. This guide covers write, open and access errors on Windows 10 and Windows 11.
Last reviewed: November 24, 2026. We checked the Windows 10 support dates against Microsoft's support pages. None of the steps was run on a real PC for this article, so check each result on your own machine.
Quick answer
The short version
- Confirm that you are signed in as an administrator, under Settings > Accounts.
- Restart the PC, then run the installer or app as administrator.
- Export a backup of the key before you change anything.
- Change permissions only on keys that belong to your own third-party app, and only after that backup.
- Never change permissions on Windows system keys, and stop if the steps do not work.
Contents
What a registry permission error means
The registry is Windows' central settings database. Each setting lives in a key, and each key has a list of accounts and groups that may read or change it. When the account you are using is not on that list with the right rights, Windows refuses the change. That refusal is what you see as a registry permission error. Some older apps get a per-user copy instead of a refusal, a separate effect explained in registry virtualization and VirtualStore.
Not every registry error is a permission problem. A damaged registry can also cause strange messages. If you suspect damage rather than rights, read our guide on corrupted registry repair for Windows instead. For a wider list of warning signs, see the page on registry problems, symptoms and causes.
It helps to know how the registry is organised. The guide to registry hives, keys and values explains why some keys belong to Windows itself and others belong to the apps you install. Keys that belong to Windows are the ones you should be most careful with, and we come back to them in the safety sections below.
Symptoms and causes
Use the table to match what you see with the most likely cause. We describe the Registry Editor messages as commonly reported text, because we could not confirm Microsoft's exact wording on the pages we read. Your message may differ slightly.
| Symptom | Likely cause | Where to start |
|---|---|---|
| Registry Editor says it cannot edit a value and mentions an error writing its new contents | A standard user account, or a key owned by SYSTEM or TrustedInstaller | Confirm administrator rights, then look at the key's permissions |
| Registry Editor cannot import a file and mentions an error accessing the registry | The file touches keys that your account cannot write | Back up first, then run Registry Editor as administrator |
| Access is denied when you open or save a key | A protected key, or a policy or security tool blocking the change | Check your account rights, then note any security prompt you see |
| An installer stops with Windows Installer error 1402 or 1406 | The installer cannot open or write a key during setup | Restart the PC, then run the installer as administrator |
| The change works for one user account but not another | The two accounts have different rights to the same key | Sign in with an administrator account and try again |
Keep in mind that the same message can have more than one cause. Work through the steps in order rather than jumping to the most drastic fix. Many readers find that the first two steps solve the problem on their own. If the message you see is a DCOM warning in Event Viewer, it is usually safe to ignore, and DCOM event ID 10016 in Windows 11 explains why, so there is no need to change permissions by hand.
Decision tree: where to begin
Start at the top of this tree and follow the branch that matches your situation.
- Did the error appear during an install or an update?
- Yes: confirm administrator rights, then run the installer as administrator.
- Still failing: make a backup, then look at the key's permissions without changing them.
- No: did the error appear while you edited a key in Registry Editor?
- Yes: check whether the key belongs to Windows. If it does, stop and read the section on when to stop.
- No: look for a policy or security software message, then review the table above.
- Yes: confirm administrator rights, then run the installer as administrator.
If Registry Editor will not open at all, that is a different problem and is outside this guide. The same goes for a message that says an administrator has turned off Registry Editor.
Step diagram
The route below shows the full order at a glance. Each step is explained in detail in the fix steps section.
- Confirm that you are an administrator
- Restart the PC
- Run the installer or app as administrator
- Back up the key you want to change
- Look at the key's permissions, without changing them
- Change permissions only for keys of your own app, if still needed
- Stop and get help if the error remains
Fix steps
Work through these steps in order. Do not skip the backup step. Each step has a 'You should see' check so you know whether it worked, and an 'If this fails' note for the next move. The registry and permission steps (Steps 4 to 6) are general advice: we did not confirm them on a Microsoft page, so check each menu name against your own version of Windows.
Step 1: Confirm you are an administrator
Open Settings, then go to Accounts and select Your info. Look at the account type under your name. It should say Administrator. If it says Standard user, you cannot change most system keys, even if you know the password for another account.
You should see: the word Administrator under your account name.
If this fails: sign in with an administrator account on the same PC, or ask the person who manages the PC to make your account an administrator. If you see some settings are managed by your organization, a policy is the likely cause. Then go to step 2.
Step 2: Restart the PC
A restart clears locks that a running program may hold on a key. Save your work, restart the PC, sign in again, and retry the action that caused the error. Many installer problems disappear after a clean start, especially after an update that did not finish.
You should see: the installer or change completes, or the error message is different from before.
If this fails: move on to step 3. Keep the exact error text and the name of the key or file, because you may need it later.
Step 3: Run the installer or app as administrator
Right-click the setup file or the app shortcut, then choose Run as administrator. Confirm the prompt that appears. This gives the program the rights of an administrator for that run only, so your normal account rights do not change.
You should see: a User Account Control prompt, then the setup continues without the error.
If this fails: security software may be blocking the program. Note any prompt from that software and continue to the backup step. Do not turn off your security software to get around it. If you suspect malware, check for malware and registry entries safely first.
Step 4: Back up the key before you change anything
Open Registry Editor, select the key you need, then choose File and Export. Save the file to a safe place with a clear name and the date. The exported file is a .reg file that you can double-click later to restore the key's values (check a .reg file before running it first). Importing that file overwrites the key's current values with the saved ones, so import it only to undo a change. A .reg file does not save permissions or owners. For a fuller safety net, follow our guide to backing up a Windows PC with a system image. You can also compare four ways to back up the registry before you start.
HKEY_CURRENT_USER\Software\ExampleApp
You should see: a .reg file in the folder you chose. Open it in Notepad to confirm it contains the key name.
If this fails: do not make any edits. Choose a different folder with enough free space, or stop here and ask for help.
Back up first. Every change in the next steps can break an app or Windows if it goes wrong. Export the key, check that the file exists, and only then continue. Never skip this step.
Step 5: Look at the key's permissions without changing them
In Registry Editor, right-click the key and choose Permissions. Look at the list of groups and accounts, and at which ones have Full control, Read or Special permissions. Then select Advanced to see the owner. Close the window with Cancel so that nothing is saved.
You should see: a list of accounts, and an owner name at the top of the Advanced window. Look only. The purpose of this step is to understand the problem.
If this fails: if the Permissions window itself will not open, stop here. That usually means the key is protected, and changing it is not safe without expert help.
Step 6: Change permissions only for your own app's keys, if needed
Export the key first (see Step 4). Do not continue without a backup. Also write down the key's current owner and permissions from Step 5, or take a screenshot. A .reg file saves values but not permissions, so this note is how you undo a permission change.
Only do this when the key clearly belongs to a third-party app you installed, the backup from step 4 exists, and the app still fails after the earlier steps. Never change permissions on HKLM SOFTWARE, HKLM SYSTEM, SAM, SECURITY, or any key owned by TrustedInstaller. Those keys belong to Windows, and a wrong change can stop the PC from starting.
HKEY_LOCAL_MACHINE\SOFTWARE\ExampleApp
You should see: your account or the Administrators group listed with the rights the app needs, and the app now saves its settings without the error.
If this fails: stop changing permissions. Double-click your exported .reg file to restore the earlier values (importing overwrites the current values), set back the permissions you noted, restart the PC, and then read the section on when to stop.
Examples
Here are three common situations. They are general examples, not reports from a real PC, so compare them with what you see on your own machine.
Example 1: an installer fails on a standard account. A reader signs in with a standard account and runs a setup file. The installer stops with Windows Installer error 1406. The fix is to sign in as an administrator, or to run the setup as administrator. Restarting the PC first can also clear a stuck installer. If you install apps often, our guide to uninstalling programs completely on Windows helps when an old install is still in the way. If the message says the Windows Installer service could not be accessed, read our guide to the Windows Installer service could not be accessed error. Installer permission errors with other codes, such as 2503 and 2502, are covered in our guide to Windows Installer error 2503 and 2502.
Example 2: a value in an app's own key cannot be saved. An administrator tries to change a setting that an app keeps under its own key in HKCU. The Registry Editor message says it cannot write the value. The key is owned by the user, and the app is not running. Export the key first, as in Step 4. If the change goes wrong, double-click that .reg file to put the old values back (this overwrites the current values), then restart the PC. If the value still reverts after a restart, read our guide to registry changes that are not saving or reverting after a restart. If Windows reports that it cannot access the specified device, path or file, read our guide to Windows cannot access the specified device.
Example 3: a Windows key refuses every change. Someone tries to edit a value under a Windows key and sees Access is denied, even as an administrator. This is the case where the key is protected or owned by TrustedInstaller. The safe answer is to stop. Do not change the owner or permissions. Instead, read the next section and consider whether a system file check fits the problem.
When to stop
Stop and do not continue with permission changes if any of these apply to you.
- The key is under HKLM SOFTWARE, HKLM SYSTEM, SAM or SECURITY, or it is owned by TrustedInstaller.
- You are not sure which app owns the key.
- The error remains after the restart, the administrator check and the run-as-administrator step.
- A security or policy message says the change is blocked for your protection.
- The PC has started to behave strangely since your last change.
When you stop, restore any value you changed from your .reg backup, reset any permissions you noted in Step 6, restart the PC, and check that Windows starts normally. If a registry cleaner made the change, see our guide to undoing registry cleaner changes. For problems with Windows files, running SFC and DISM to repair system files is the next step to try. If the PC has changed in a way you cannot explain, using System Restore can return Windows to an earlier point. If none of this helps, ask a professional repair service for help. Bring your error text, the key name and your backup file.
A note for Windows 10 users
The steps in this guide work the same on Windows 10 and Windows 11, but the support situation is different. Microsoft's Windows 10 support page says support ended on October 14, 2025. Consumer Extended Security Updates, or ESU, are listed as available until October 12, 2027, for devices that meet the requirements. ESU provides security updates only, not new features or general technical help. If you are unsure what this means for your PC, browse our PC repair guides for steps that suit your version of Windows.
If you are on Windows 10 and the registry error keeps coming back, check whether your PC is enrolled in ESU before you change anything else. A pending update can also cause installer errors, so finish any updates before you retry the install.
For help choosing the right step on your own PC, the Repair Assistant can point you to the next guide to read.
Frequently asked questions
Basic questions
What does a registry permission error mean?
It means Windows refused a change to a registry key because the account making the change does not have the right permissions. The problem is about rights, not about broken data. Checking your account type and running the app as administrator usually shows whether rights are the cause.
Do I need to be an administrator to edit the registry?
For most keys, yes. A standard user can change settings under their own user key, but not keys that belong to the whole PC. If you see an error on a PC-wide key, confirm your account type first. Then read the steps above before trying anything else.
Is it safe to change permissions on a registry key?
It can be safe for a key that belongs to your own third-party app, if you have exported a backup first. It is not safe for Windows system keys or keys owned by TrustedInstaller. When in doubt, leave the permissions as they are and stop.
Why does the error appear only during installation?
Installers often write many keys in a short time, and they may run under a different account than you expect. A setup that does not run as administrator can be refused a key it needs. Running the setup as administrator and restarting the PC first solves many of these cases.
Going further
Can restarting the PC fix a registry permission error?
Sometimes. A restart releases locks that a running program may hold on a key, and it clears a stuck installer. If the error comes back the same way after a restart, the cause is more likely to be rights than a lock, so move on to the administrator and backup steps in this guide.
Why is a key owned by TrustedInstaller?
TrustedInstaller is a Windows component that manages protected system files and keys. Keys it owns are part of Windows itself. You should not change their owner or permissions, because a wrong change can stop Windows from updating or starting correctly. Leave those keys alone.
Should I use a registry cleaner to fix this?
No. A registry cleaner does not fix permission problems, and it can remove keys that your apps need. Before you consider any tool, read our notes on what registry cleaner errors really mean so you know what those tools can and cannot do.
When should I ask for professional help?
Ask for help if the error remains after all the steps, if a Windows key refuses every change, or if your PC has started to misbehave after a registry change. Bring the exact error text, the key name and your exported backup file. Keep your backup until the problem is solved.