Why can't I change Window 10 registry key?

12

2

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?

Miguel Hernandez

Posted 2015-10-15T03:05:03.903

Reputation: 129

What permissions do you have in the registry key ? Value that you are trying to add, is it a REG_DWORD ? – pun – 2015-10-15T03:10:07.637

Answers

18

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:

Insane

Posted 2015-10-15T03:05:03.903

Reputation: 2 599

1Thanks for answering, but I still have this problem, I did everything but I can't. – Miguel Hernandez – 2015-10-15T04:12:00.153

What do you mean did everything? Did you have full control? If not could you give yourself full control? Did you add yourself as owner? Do you get any different error message after setting yourself as an owner? – Insane – 2015-10-15T04:19:09.963

1I did everything you told me, I added myself as owner and I still get the same message – Miguel Hernandez – 2015-10-15T04:23:38.330

1Go here and continue from Step 4 and see if that works (you already did step 1-3). – Insane – 2015-10-15T04:32:02.873

You may also need to take ownership. – BillDOe – 2015-10-15T05:14:44.457

I suggested he take ownership in my answer. – Insane – 2015-10-15T05:15:14.903

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 – 2015-10-15T12:07:38.150

This didn't work for me either. – mythofechelon – 2017-09-22T22:29:55.247

1If 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 – 2017-11-30T22:21:52.630

@IanBoyd This is it. Thanks. To disable Forticlient I followed steps from https://social.technet.microsoft.com/Forums/windows/en-US/497efbc9-df48-4a0e-8174-b4fc1bc543ab/unable-to-stop-a-software-from-autostarting?forum=w8itprogeneral.

– Marc.2377 – 2019-05-03T18:18:44.617

-1

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.

Yahir Cano

Posted 2015-10-15T03:05:03.903

Reputation: 7

Welcome to Super User! On this Q&A site we try to provide good answers to questions people post. A part of this is including the answer in your post, instead of simply providing a link to another page that might answer the question. Please edit your answer to include the actual solution to the posted question.

– cascer1 – 2016-10-11T10:07:56.703

If the users account was not in the user group nothing would work. The well documented answer is correct – Ramhound – 2016-10-12T03:24:52.517