13

I want to change a Windows 7 Registry key in

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced - Hidden

I ran regedit as administrator. But when I was trying to modify that key, it doesn't allow me to change and reports error as

Cannot edit: error writing the value's new contents

So why can't I change the registry key even in administrator mode? How to solve this problem in Windows 10?

1
  • What permissions do you have in the registry key ? Value that you are trying to add, is it a REG_DWORD ?
    – clhy
    Commented Oct 15, 2015 at 3:10

3 Answers 3

19

Interesting. I'm on Windows 10 Pro x64 and I can edit the value.

Right click on Advanced and choose "Permissions".

Click your user name and make sure you have full permissions:

If you don't, try allowing yourself full control (if the boxes are available).

If they're greyed out like in my screenshot, but you don't have full access, you can try to take ownership of the object by clicking Advanced

Then next to Owner click Change:

Type your username into the box and then press Check Names. Press Okay, then before you press Okay again make sure the following is selected:

10
  • 1
    Thanks for answering, but I still have this problem, I did everything but I can't. Commented Oct 15, 2015 at 4:12
  • 1
    I did everything you told me, I added myself as owner and I still get the same message Commented Oct 15, 2015 at 4:23
  • 1
    Go here and continue from Step 4 and see if that works (you already did step 1-3).
    – Insane
    Commented Oct 15, 2015 at 4:32
  • 2
    @MiguelHernandez - Provide us more information. Provided us screenshots of the permissions you currently have set on the key. This is the correct answer, I assume, after you did this you restarted?
    – Ramhound
    Commented Oct 15, 2015 at 12:07
  • 1
    If you're confused what he means when he says he did everything and it didn't work: try installing Forti anti-virus, then try to take control, grant yourself full control, and change the Start option of FA_Scheduler from 3 (auto-start) to 2 (manual start). You'll notice that taking ownership, and giving yourself full control has no effect.
    – Ian Boyd
    Commented Nov 30, 2017 at 22:21
0

If you are logged in with a Microsoft account (usually this happens when you have a local user, then you try to log in into the Windows Store).

You can add your Microsoft account into the users group by right click the registry you want to change, then permissions, and click in the advanced option.

Next to the listed owner you can add your Microsoft account (click on change and then use your e-mail), so this account can take ownership of any file.

2
-1

Search for Regedit under C:\windows Once you find it, right click on it and run as administrator. Enter credentials for administrator if needed...

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Oct 6, 2021 at 13:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .