Fix: Not all data was successfully written to the registry

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
0 Comments
Download PDF
Affiliate Disclosure

  • The Windows registry is a library of values that are vital for the functioning of your PC.
  • The guide below will cover the Not all data was successfully written to the registry error.
  • To learn more about this aspect of the Windows OS, check out our Windows Registry Hub.
  • If you need more fixes, you can find them in our dedicated Windows 10 Errors page.
not all data was successfully written to the registry

When you try to carry out some operations on the Windows Registry, you get an error that says not all data was successfully written to the registry. Some keys are open by the system or other processes.

Examples of registry operations that can bring up this error are merging, importing, or restoring a file in the registry.

Ad

Many permissions are involved, and it’s possible that (even though you made the backup, for example), you have insufficient permissions to perform the desired operation.


What do I do when I get the registry data writing error?

1. Try again in Safe Mode

  1. Press the Windows key and click on the Power button to reveal the shutdown options.
  2. The next step is to click Restart but to enter the Advanced Troubleshooting Tools utility, hold SHIFT while clicking Restart.
  3. Your PC will now restart and take you to the Advanced Troubleshooting Tools utility. Next, click on Troubleshoot to continue.
  4. On the following screen, click Advanced options.
  5. Now click the Startup Settings (Windows Startup Settings on older Windows versions).
  6. Finally, hit Restart and press 4 to Enable Safe Mode.
    • For older Windows versions, you have to wait till the PC restarts before selecting the Safe Mode option.use safe mode to fix not all data was successfully written to the registry error

Now, the computer boots with no drivers loaded. Attempt the registry operation once more to see if it still throws the not all data was successfully written to the registry error.


2. Change the registry key permissions

  1. Press the Windows key + R to open the Run dialog box.
  2. Enter Regedit and hit Enter to open the Windows Registry Editor.
  3. Navigate to the key of interest, right-click on it, and select Permissions.
  4. Click Advanced and click on the Change link beside the Owner label.change registry owner not all data was successfully written to the registry
  5. On the next screen, type your user account name or Administrator and hit Check names.
  6. The user account name or Administrator you entered on the last step will now change to the full system name.
  7. Finally, hit OK to save.

Here, we changed the owner of the registry key to allow Administrator users to perform critical tasks on the registry.


3. Perform a repair upgrade on you Windows

  1. Download the Windows media creation tool.
  2. To begin the installation, accept the Windows license terms.
  3. Next, click on Create installation media for another PC.
  4. On the next screen, choose your language, architecture (32-bits or 64-bits), and Windows 10 version.
  5. The screen that follows is where you select the media for the installation.
    • Click on the ISO option for the system to begin downloading the corresponding ISO for your Windows version.
  6. When the download completes, open the folder containing the file and switch to the Manage tab of Windows Explorer.
  7. Click Mount to mount the ISO file.
  8. Go to the mounted drive, open it, and double-click Setup.
  9. To begin the installation, accept the Windows license terms.
  10. Here, on the Change what to keep screen, select Keep personal files and apps.
  11. Hit Install. This takes a while to complete; so, you may need to wait on this screen for a while.
  12. On completion of the installation, sign in and finish up the process.

These steps solve the not all data was successfully written to the registry error by repair upgrading your system. However, this method reverts your computer to a state with no latest updates installed.

To keep your updates and not lose them, make sure that your PC stays connected to the internet in the course of the upgrade.

The error that says not all data was successfully written to the registry can pop up on different scenarios. Most users encounter the issue when attempting to merge or import a file into a directory.

The general solution is to change the ownership of the file to either yourself or the Administrator. However, before doing that, we recommended that you try performing the registry operation again, but in Safe Mode.


FAQ: Learn more about Windows registries

  • What is Windows registry?

Windows Registry is a database in Windows OS that stores information, settings, options, and other values for hardware and software.

  • Can I fix Windows registries?

Yes you can, the fast way is via the use of third-party registry fixers.

  • Does Microsoft endorse registry editors?

Unfortunately, no. Microsoft deems the use of third-party registry editors to be useless.

Ad

Ad
Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!