Error in accessing system registry you may not have enough permissions to modify registry

I have just installed SQL2005 on a 64bit 2008 server.SSIS packages run fine for connections to SQL servers.

I have just installed SQL2005 on a 64bit 2008 server.SSIS packages run fine for connections to SQL servers.

However, I am exporting data to Oracle and hence have installed the Oracle 11g 32bit drivers which work fine on windows 2003 servers. When editing the package and connections I can connect to oracle fine, see the tables, manually build queries and do the
mappings etc.

However, when I try and run the package in debug mode, I get the following error.

[Execute SQL Task] Error: Failed to acquire connection «DSSLIVE». Connection may not be configured correctly or you may not have the right permissions on this connection.

I have read of some 64 bit problems, and applied the following workaround

«the inventory is forced to be installed in «Program Files (x86)». This is the part where things break. So after the installation, search for «OracleInventory» in the registry and change
it to another location without brackets and move the directory over.»

But this has not solved the problem.

I  got hold of a 64bit oracle 10g client, but when I try to install I get «Error in accessing system registry. You may not have enough permissions to modify registry. Installation cannot
continue»

My account is a member of the administration group. An even when I «run as» administrator, java(TM) 2 Platform Standard Edition binary has stopped workin»

Anybody done SSIS packages to Oracle from Windows 2008 server


IT Professional — Multi Tasker

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

При попытке зайти в библиотеки появляется вот такая ошибка
error accessing the system registry
Гугленье не помогло там всё через какие-то программы непонятные и не на русском. Кто сталкивался с такой проблемой. Что надо поправить?

Прикрепленные файлы

  • 1.png (43.25 КБ)

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

Игорь

Пользователь

Сообщений: 3621
Регистрация: 23.12.2012

#2

04.12.2017 16:29:28

в интернетах советуют вот что:

Цитата
Depending on the Windows OS you have (I have Windows 7 Enterprise), you might want to try giving administrator rights to the REGTLIB.EXE (located in C:Windws). Right click on the REGTLIB.EXE file. Select Properties from the pop-up menu. Then select the Compatiblity tab. On the Compatiblity tab, check/select the Run this program as Administrator checkbox. Click OK to save your changes. It might take take care of the problem for you. It worked for me. Good luck.
 

Андрей VG

Пользователь

Сообщений: 11878
Регистрация: 22.12.2012

Excel 2016, 365

Доброе время суток
Советовал бы перед тем chkdsk прогнать, мало ли может сбой какой был и в файловой системе ошибки.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

Игорь, спасибо, попробовал такой способ. Даже перезагрузился, но проблема осталась.
Андрей VG, возможно ли что после установки обновлений для Qffice или системы что-то поломалось? После прошлонедельных обновлений у меня с компом вообще бодяга какая-то творится. В центробновлений вообще нельзя попасть, всё зависает и потом даже папки не открываются ни одна, пишет что их нет. Помогает только перезагрузка. После перезагрузки всё нормально. Но если попытаться опять зайти в центр обновления опять всё намертво виснет.

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

Андрей VG

Пользователь

Сообщений: 11878
Регистрация: 22.12.2012

Excel 2016, 365

#5

04.12.2017 17:04:40

Цитата
Alemox написал:
или системы что-то поломалось?

Возможно. Допустим была нештатная перезагрузка — нажали reset.
Прогоните chkdsk c: /f (попросит отложить до следующей перезагрузки — подтвердите и перезагрузитесь).
Потом для страховки sfc /scannow
И то и другое из-под режима администратора.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

Андрей VG, проверил Chkdsk ничего не обнаружил.
Затем прогнал sfc /scannow
Выявил одну ошибку, которую он успешно исправил после перезагрузки. Починились папки и центр обновления. Excel всё в той же поре. Не работает. Буду дальше думать.

Прикрепленные файлы

  • Ошибка.png (34.48 КБ)

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

Андрей VG

Пользователь

Сообщений: 11878
Регистрация: 22.12.2012

Excel 2016, 365

#7

05.12.2017 08:48:07

Цитата
Alemox написал:
Починились папки и центр обновления.

Уже лучше. Есть возможность проверить доступ к Reference под другой учётной записью, которая ранее не использовалась на этом компьютере? Похоже слетели права доступа к реестру.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

Сейчас пытаюсь восстановить права с помощью утилиты

Process Monitor

, но пока разобраться не могу. Пишут что Flash плеер блокирует. Но я не нашёл его по ключам в реестре. Нашёл от Adobe Acrobata одголоски, но чего с этим делать пока не понял.

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

Виновника нашёл. Флешплеер. Теперь надо понять что надо прописать или изменить.

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

Мануал написал, но весит он 300 кБ.
Поэтому заливаю на файлообменник.
Кому интересно качайте пока есть возможность.
Ссылка в нижнем сообщении.

Изменено: Alemox08.05.2018 21:12:12

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

 

kukhmaster

Пользователь

Сообщений: 20
Регистрация: 16.04.2018

Поделитесь, пожалуйста, мануалом! Такая же проблема.

 

Alemox

Пользователь

Сообщений: 2183
Регистрация: 25.02.2013

#12

08.05.2018 21:10:46

Ссылка

Мастерство программиста не в том, чтобы писать программы, работающие без ошибок.
А в том, чтобы писать программы, работающие при любом количестве ошибок.

Some users are getting the “error accessing the registry” error when trying to merge a registry key on a Windows computer. Most affected users report that the issue occurred after they did a re-install of their Windows version and tried to open a .reg file. The issue is mostly encountered on Windows 7, Windows 8 and Windows 10.

Cannot import. Error accessing the registry

What is causing the “error accessing the registry” issue?

We researched this error message by looking at various user reports and the repair strategies that they used to either circumvent or resolve the issue entirely. Based on our investigations, there are a couple of common scenarios that will trigger this particular error message:

  • Registry File doesn’t have administrative privileges – This scenario is quite common with fresh Windows installs/reinstall. If Registry Editor hasn’t been opened before, it’s likely that the program doesn’t have the necessary permissions to merge the .reg file with your current registry.
  • System file corruption is causing the error – There are confirmed cases where this error appeared due to a suite of corrupted system files that were interfering with the importing abilities of the Registry Editor utility. If that’s the case, there are two confirmed solutions (system restore and repair install) that are known to resolve the issue.

If you’re struggling to resolve this particular error message, this article will provide you with a selection of verified troubleshooting steps. In the area that follows, you’ll discover several potential fixing methods that other users in a similar situation have used to get the issue resolved.

For the best results, follow the methods below in order until you discover a fix that is applicable to your current situation and manages to resolve the issue.

Method 1: Importing the registry file with administrator privileges

As several affected users have suggested, chances are that you’re dealing with a privilege issue. Most likely the Registry Editor utility doesn’t have enough permissions to merge the file yet. This is a fairly common thing with new Windows installations where the Registry Editor hasn’t been opened before.

Several users that were struggling to resolve the same error message have reported that the issue was finally resolved after they opened Registry Editor with Administrative privileges and use the Import menu to merge the files. Here’s a quick guide on how to do this:

  1. Press Windows key + R to open up a Run dialog box. Then, type “regedit” and press  Ctrl + Shift + Enter to open up Registry Editor with administrative privileges.
    Typing Regedit in Run to Open Registry Editor
  2. At the UAC (User Account Control) prompt, choose Yes to grant administrative privileges.
    Granting administrative permissions to Registry Editor
  3. Inside Registry Editor, go to File > Import using the ribbon bar at the top.
    Using the built-in Import menu of Registry Editor
  4. Use the Import menu to navigate to the location of the file that you’re trying to merge. Once you get there, select it and click Open to merge it with your current registry.
    Merging the key with the current registry

    Note: The same principle applies to those situations where you encounter the error when trying to import a .reg key automatically via a .bat file. In order for it to work, you’ll need to run it from an elevated CMD window – press Windows key + R, type “cmd” and press Ctrl + Shift + Enter to open a Command Prompt window with administrative privileges.

    This procedure should have successfully circumvented the “error accessing the registry” error. If you’re still getting the error or this method is not applicable to your current situation, move down to the next method below.

Method 2: Performing a System Restore

If you’ve just started getting this error message out of the blue (you didn’t perform a Windows reinstall recently), it’s possible that a system file has become corrupted and is preventing the merging operation from completing.

In this particular case, users finding themselves in a similar situation have managed to get the issue resolved by using the System Restore wizard to revert the machine to a previous point in time (when registry operations were functioning properly).

Using an older system restore point will return your machine state to how it was when the backup was created. This will fix any errors that might have appeared during that time, but will also get rid of any applications and user settings that you installed or created during that time.

Here’s a quick guide on using the System Restore wizard:

  1. Press Windows key + R to open up a Run dialog box. Then, type “rstrui” and press Enter to open the System Restore wizard.
  2. Once you get to the first System Restore screen, you will be asked whether you want to use the recommended restore point. Change the toggle to Choose a different restore point and hit Next to continue.
  3. Choose a system restore point from the list and hit Next to proceed.
  4. Hit Finish to finalize the restoring process. After a short while, your computer will restart and the old state will be restored.
  5. Once the next startup is complete, try to merge/import the file again and see if the error message has been resolved.

Restoring the machine state to a previous point using System Restore

If you’re still encountering the “error accessing the registry” error, move down to the next method below.

Method 3: Performing a repair install

If you’ve come this far without a result, it’s very likely that you’re encountering this issue because of system file corruption. Most likely, a system file or service that is used during the registry importing process is corrupted and can no longer be accessed.

Several users that have been struggling with precisely the same error have reported that the issue was finally resolved after they performed a repair install.

A repair install is a non-destructive procedure that will refresh all Windows components without touching any of your personal files or applications. It does roughly the same thing as a clean install, but leaves your applications, user preferences and personal files out of the equation.

If you decide to do a repair install, you can follow the instructions present in this article (here).

Photo of Kevin Arrows

Kevin Arrows

Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

  • Home
  • VBForums
  • Visual Basic
  • Visual Basic 6 and Earlier
  • [RESOLVED] Sudden «Error accessing the system registry»

  1. Nov 2nd, 2008, 09:58 AM


    #1

    FSPH is offline

    Thread Starter


    Member


    Resolved [RESOLVED] Sudden «Error accessing the system registry»

    Hello there,

    my VB 6 (SP6) model ran smoothly until this morning when I suddenly got the message «Error accessing the system registry». When I tried to run my model on another computer, I got the same error message. So the sudden appearance of this problem seems to be related to my model (rather than the VB 6 (SP6) installation on my computers that run on Vista).

    Would you have any idea how to proceed?

    Thank you for your help.


  2. Nov 2nd, 2008, 06:30 PM


    #2

    Darkbob is offline


    Hyperactive Member


    Re: Sudden «Error accessing the system registry»

    I have that happen under Vista now and again. I just close the IDE then open it back up again. It usually works on the 2nd try. No idea why.

    —DB


  3. Nov 2nd, 2008, 06:40 PM


    #3

    FSPH is offline

    Thread Starter


    Member


    Re: Sudden «Error accessing the system registry»

    I did that this morning without any effect. In fact, I shut down the computer and re-tried it right afterwards, again without any success.

    A few hours later I restarted the computer again, and then it worked. My problem may have had to do with the time switch last night (in Canada) from summer to regular time. At least that’s the only thing that changed to my knowledge.


  4. Dec 31st, 2008, 08:31 AM


    #4

    danne is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    Hi there,
    You may try the following,

    Select the Microsoft Visual Basic 6.0 shortcut from the Start menu and right-click on it. Select Properties, and the property sheet for the shortcut will be displayed. Next, click on the Compatibility tab. It is recommended that you make the following changes:
    1. Enable compatibility mode and select Windows XP (Service Pack 2) …..
    2. Check the «Disable visual themes» option …..
    3. Check the «Disable desktop composition» option…..
    4. Check the «Run this program as an administrator» option

    Click on OK to save the changes. When you run Visual Basic, a User Account Control (UAC) dialog will be displayed, asking you to confirm that you wish to execute the program. This is because it’s now running with elevated privileges. You may also get a message that the color scheme has been changed to Windows Vista Basic. The Aero interface will be temporarily disabled until you close the IDE, which will resolve the performance issues with the form designer.

    Regards


  5. Feb 12th, 2009, 05:07 AM


    #5

    athar_anis is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    hi
    Try performing these two tasks..

    1) Instead of installing vb6 again, try reinstalling Crystal Reports.
    2) Click Start, Programs, Microsoft Visual Basic 6 and Right Click The Visual Basic 6 Shortcut Icon. A Menu Will be shown.
    Now Click Run As…

    A Pop up box will appear asking you which User account do you want to use to run Visual Basic.
    Keep it to ‘Current User’ and remove the check from ‘Protect My Computer and data from unauthorized program activity’

    This should help. Try this out…
    Regards
    Athar Anis


  6. Nov 6th, 2009, 02:15 PM


    #6

    Jelly J is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    I know this is an old post — but I thought it deserved a revival…

    Okay new to the board, and I normally do not comment on programming sites — I just bear it all on my own lol …BUT I’ve been battling with this error on and off for the past year. For the most part, I’ve figured out what to do and have it resolved…however, it just happened again — and I couldn’t for the life of me remember what I did last time to sort it out.

    I just tried the below, and from what I do remember of what I did last time — this was simplier and faster, and it worked beautifully! There’s at least hald a dozen ‘fixes’ out there for this but no one responds with what actually works or if someone else tried it…So danne, fantastic post — It works! YOU are a genious.
    Now I have no valid excuse for delaying the next version of this app…
    back to coding

    Thanks again.

    Quote Originally Posted by danne
    View Post

    Hi there,
    You may try the following,

    Select the Microsoft Visual Basic 6.0 shortcut from the Start menu and right-click on it. Select Properties, and the property sheet for the shortcut will be displayed. Next, click on the Compatibility tab. It is recommended that you make the following changes:
    1. Enable compatibility mode and select Windows XP (Service Pack 2) …..
    2. Check the «Disable visual themes» option …..
    3. Check the «Disable desktop composition» option…..
    4. Check the «Run this program as an administrator» option

    Click on OK to save the changes. When you run Visual Basic, a User Account Control (UAC) dialog will be displayed, asking you to confirm that you wish to execute the program. This is because it’s now running with elevated privileges. You may also get a message that the color scheme has been changed to Windows Vista Basic. The Aero interface will be temporarily disabled until you close the IDE, which will resolve the performance issues with the form designer.

    Regards


  7. Nov 11th, 2009, 09:52 AM


    #7

    Smile Re: [RESOLVED] Sudden «Error accessing the system registry»

    Another update:

    iTunes (and other apps yet to come) may also cause this problem in Win7.

    This is because it runs a service which creates registry keys under the SYSTEM account.

    When VB tries to enumerate the keys under HKCRTypeLib it fails and gives the error because the user running VB6.EXE (even if it set to run as administrator) does not automatically have READ rights to the key. At that point you get the «Error accessing the system registry» dialog.

    To workaround/fix this:

    1. Download Procmon and PsExec from sysinternals.

    2. Run Procmon and add a «ProcessName» filter with VB6.EXE as the process name.

    3. Then Select Project->References. And the error dialog should pop up.

    4. Switch to procmon and scroll to the end of the events list — you’re looking for the last «ACCESS_DENIED» message for opening a registry key under HKCRTypeLib.

    5. Thats the first key you need to change permissions on — so you’ll need to run regedit in the same account context that the keys were created in — the SYSTEM account. to do this install psexec on the windows PATH somewhere then run:

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

    (obviously change the path if yours is different)

    this will run regedit through the SYSTEM account.

    *You can verify that even the administrator account does NOT have permission to edit these keys by running regedit through a Start->Run dialog as this elevates the priv’ level to administrator.*

    6. Find the key you identified in step 4 — right click it and select Permissions.

    7. Find the current logged on user that you use to run VB6 with and add them with full control to the permissions list.

    8. Repeat steps 3-7 because there may be more keys that exhibit this behaviour, until the Project->References dialog appears in VB6 without error.

    You could also open the .vbp in notepad to see the references if you’re stuck and dont have time to do the above…..

    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]


  8. Feb 1st, 2013, 08:27 AM


    #8

    Fredejohnmark is offline


    Registered User


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    There is no need of installing other software like Crystal Reports or changing the registry, the only simple and permanent solution is to go to start menu then right click Microsoft Visual Basic 6 then select properties and click Compatibility from the dialog box that appears then check «Run this program as an administrator» under privilege level……… Hope that works. For more visit www.fredomondi.webs.com


  9. Mar 11th, 2013, 08:40 AM


    #9

    JerryEng is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    Thanks. Been running into the same issue. Had been manually registering OCX’s to clear the problem until today. Checked the «Run this program as an administrator» option to get past the error.


  10. Sep 22nd, 2017, 07:45 AM


    #10

    GrayWag is offline


    New Member


    Resolved Re: [RESOLVED] Sudden «Error accessing the system registry»

    Quote Originally Posted by crispin
    View Post

    Another update:

    iTunes (and other apps yet to come) may also cause this problem in Win7.

    This is because it runs a service which creates registry keys under the SYSTEM account.

    When VB tries to enumerate the keys under HKCRTypeLib it fails and gives the error because the user running VB6.EXE (even if it set to run as administrator) does not automatically have READ rights to the key. At that point you get the «Error accessing the system registry» dialog.

    To workaround/fix this:

    1. Download Procmon and PsExec from sysinternals.

    2. Run Procmon and add a «ProcessName» filter with VB6.EXE as the process name.

    3. Then Select Project->References. And the error dialog should pop up.

    4. Switch to procmon and scroll to the end of the events list — you’re looking for the last «ACCESS_DENIED» message for opening a registry key under HKCRTypeLib.

    5. Thats the first key you need to change permissions on — so you’ll need to run regedit in the same account context that the keys were created in — the SYSTEM account. to do this install psexec on the windows PATH somewhere then run:

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

    (obviously change the path if yours is different)

    this will run regedit through the SYSTEM account.

    *You can verify that even the administrator account does NOT have permission to edit these keys by running regedit through a Start->Run dialog as this elevates the priv’ level to administrator.*

    6. Find the key you identified in step 4 — right click it and select Permissions.

    7. Find the current logged on user that you use to run VB6 with and add them with full control to the permissions list.

    8. Repeat steps 3-7 because there may be more keys that exhibit this behaviour, until the Project->References dialog appears in VB6 without error.

    You could also open the .vbp in notepad to see the references if you’re stuck and dont have time to do the above…..

    Crispin — Yours is the only solution that worked. Thank you.


  11. Mar 15th, 2019, 08:26 AM


    #11

    fabiops is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    This worked for me on Windows 7.

    Thanks !

    Quote Originally Posted by danne
    View Post

    Hi there,
    You may try the following,

    Select the Microsoft Visual Basic 6.0 shortcut from the Start menu and right-click on it. Select Properties, and the property sheet for the shortcut will be displayed. Next, click on the Compatibility tab. It is recommended that you make the following changes:
    1. Enable compatibility mode and select Windows XP (Service Pack 2) …..
    2. Check the «Disable visual themes» option …..
    3. Check the «Disable desktop composition» option…..
    4. Check the «Run this program as an administrator» option

    Click on OK to save the changes. When you run Visual Basic, a User Account Control (UAC) dialog will be displayed, asking you to confirm that you wish to execute the program. This is because it’s now running with elevated privileges. You may also get a message that the color scheme has been changed to Windows Vista Basic. The Aero interface will be temporarily disabled until you close the IDE, which will resolve the performance issues with the form designer.

    Regards


  12. May 22nd, 2021, 07:43 PM


    #12

    sneakers is offline


    Addicted Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    I went to Start, Microsoft Visual Studio then right clicked on the VB6 shortcut and selected run as administrator. Now it works. Thanks.


  13. Aug 31st, 2022, 12:48 PM


    #13

    JuanjoHxq is offline


    New Member


    Re: [RESOLVED] Sudden «Error accessing the system registry»

    Muchas gracias Crispin por tomarte el tiempo de explicarlo, me quedo muy claro, sigo soportando un proyecto de Visual Basic 6.0 y tu ayuda fue de mucha utilidad.

    Gracias de nuevo y saludos desde M�xico


  • Home
  • VBForums
  • Visual Basic
  • Visual Basic 6 and Earlier
  • [RESOLVED] Sudden «Error accessing the system registry»


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules


Click Here to Expand Forum to Full Width

Easy steps to have complete Registry access

by Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies… read more


Updated on January 19, 2023

Reviewed by
Alex Serban

Alex Serban

After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server… read more

  • You may experience Regedit cannot edit error that will block your Windows Registry. 
  • You may need to edit your registry for various system issues, but you must know the process. 
  • A practical method to repair this occurring issue is to use the Advanced Security settings.

can't edit registry windows 10

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

You found this article because you can’t edit the Registry in Windows 10. So, here is all you need to know.

The Registry is a database that stores Windows operating systems and application settings. Sometimes, you need to change those values manually.

Can’t edit Registry is an error you’ll face when you try to edit a key in Registry but cannot edit the registry.

This unpleasing issue can affect your operating system and stop necessary processes, including that you cannot create value error writing to the registry.

Why can I not edit the registry?

In some cases, users may be unable to make changes to the Registry. This could happen because of a host of reasons, including the following:

  • Lack of permissions – The user account may not have the necessary permissions to access and edit the registry.
  • Group Policy restrictions – An administrator may have implemented group policy restrictions that prevent certain users from editing the registry.
  • Third-party software – Third-party software may have been installed that blocks access to the registry for security reasons.
  • Malware – Malware or other malicious software may have infected the system and prevented access to the registry.
  • System protection – The system may have been set up with a feature such as System Protection that prevents changes to the registry.

Before you follow the step-by-step guide to gain permission, you should know that editing the Registry is a very dangerous thing to do.

You can break your computer if you edit it without knowing precisely what to do. You must create a restore point, backup your Registry, and edit with extreme caution to not cause corrupt registry errors.

So now, if you can’t edit the Registry on Windows 10, let us consider a valid solution.

What should I do if I can’t edit the Registry on Windows 10?

  1. Search for Regedit in Start and right-click on it, and from the menu, you should click on Run as administrator.
    can't edit registry windows 10
  2. Navigate to the folder you want to edit.
  3. Right-click on the folder and then click on Permissions.
  4. The Permissions window will open; click on the Advanced button near the bottom-right corner.
    can't edit registry windows 10
  5. At the top of the window, you’ll see Owner:  [name], where [name] is most likely the name of the program that created the folder. Click on the Change Link.
    can't edit registry windows 10
  6. In the Select User or Group form, under Enter the object name to select, provide your username on that computer or your Microsoft email address if it is associated with your computer. You then have to click on Check Names.
  7. Click OK on the Select User or Group window and the Advanced Security Settings window.
  8. Before closing the Permissions Window, select Users from the Group or user names list and check the box under allow for Full Control. After that, close the window by clicking OK.

If you can’t edit the Registry on Windows 10, you should have full access to the folder after these steps. More specifically, the current user has full control.

If you use more than one user on your computer, you must repeat these steps every time you access a folder that a program or the other user owns.

Plus, you can change the Registry keys or folder owner to yourself. This will allow you to edit, delete, or insert keys in the folder.

The only downfall of this method is that you have to repeat the steps for each folder you want to edit.

Read more about this topic

  • How to view Registry files without importing in Windows 10
  • Error Accessing the Registry
  • 10 Best Registry Cleaner Tools for Windows
  • How to change default font in Windows 10 Registry Editor

In this article, we explained what Registry is and why you face a can’t edit Registry error. Note that you must be logged into the device as an administrator; if not, these steps will not work.

We looked at how you can fix it by gaining full access to the folder you want to edit and manipulating it as you wish.

Lastly, tell us in the comments section if this method worked for you.

newsletter icon

Newsletter

Понравилась статья? Поделить с друзьями:
  • Error in a uploading bitrix
  • Error impossible constraint in asm
  • Error importing repomd xml for base damaged repomd xml file
  • Error importing hplip modules is hplip installed
  • Error implicit declaration of function itoa