• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to get full control of a registry key (as Admin) if the access is denied?

Joined
Dec 19, 2023
Messages
6 (0.01/day)
Location
Berlin
System Name Dell Alienware M17xR3 I Windows 10 Home 22H2 OS Build 19045.3803
Processor Intel(R) Core(TM) i7-2960XM
Motherboard M17xR3 (CPU1)
Cooling Air cooling
Memory 8 GB DDR3
Video Card(s) NVIDIA GeForce GTX 880M
Storage Kingston SSD SATA III Drive 240 GB
Display(s) 1920x1080
Case Alienware Notebook
Audio Device(s) NVIDIA HD Audio
Power Supply Dell 330W Power Supply
Mouse Logitech MX Master 2S
Keyboard native
Hi,

I am currently battling with a registry permission. If anyone can help, it would be great.
What's the deal:

I am running an all the way smooth Windows 10 Home system. To make it perfect I need to eliminate a little error and follow these troubleshooting instructions to do so: https://www.makeuseof.com/tag/fix-distributedcom-error-10016-windows/

The first step of the 2. method in this troubleshooting guide says I have to grant "full control" permission for one registry entry: \HKEY_CLASSES_ROOT\CLSID\{key} for Administrators group which I myself actually belong to as I am the one and only system administrator. Unfortunately and curiously as Windows always is, I am of course unable to save the changes I am trying to make, because I keep getting an error message by Windows Security saying: "Unable to save changes on {key} Access denied". Don't say the guys coded this that way weren't smart asses. Anyway. Currently only "TrustedInstaller" and "ALL APPLICATION PACKAGES" users do have the full control permission on that specific key.

So I am wondering if there is a working solution to get it done, especially as there is no mention about denied access issues in the above troubleshooting article?! The only workaround I know is no smart one - to take over the ownership of the key in the first place and save the changes in the second. However, there is a big drawback associated with this method - once I take the ownership of the key I can't delegate the ownership back to its origin TrustedInstaller anymore. So this is a very dirty solution if it is one at all, because the permission upgrade is intended, but the ownership change is not!
Reg_Owner.png

Any idea how to grant the full control without taking the ownership of the key?
 
Joined
Feb 6, 2020
Messages
314 (0.16/day)
Location
Elsewhere, USA
Processor AMD R7 9800X3D
Motherboard Gigabyte B850M Gamering X Wifi
Cooling Thermalright Phantom Spirit (7 pipe)
Memory Flare X 16GB x2 6000 MT/s 28-36-36-96
Video Card(s) Sapphire RX 9070 XT Pulse (-100mV, -15% PL)
Storage WD SN850X 2 TB
Display(s) Acer XV340CK x2
Case Lian Li A3 black, mesh, woodgrain
Power Supply Corsair RM750e (2025)
Software ZorinOS Pro
There's a bunch of run as trusted installer github pages. I don't know of a built in method within windows.
 
Joined
Dec 19, 2023
Messages
6 (0.01/day)
Location
Berlin
System Name Dell Alienware M17xR3 I Windows 10 Home 22H2 OS Build 19045.3803
Processor Intel(R) Core(TM) i7-2960XM
Motherboard M17xR3 (CPU1)
Cooling Air cooling
Memory 8 GB DDR3
Video Card(s) NVIDIA GeForce GTX 880M
Storage Kingston SSD SATA III Drive 240 GB
Display(s) 1920x1080
Case Alienware Notebook
Audio Device(s) NVIDIA HD Audio
Power Supply Dell 330W Power Supply
Mouse Logitech MX Master 2S
Keyboard native
Thanks! Can you get more detailed/specific regarding your approach, actually I only understood the second sentence. :)
 
Joined
Feb 6, 2021
Messages
3,104 (2.01/day)
Location
Germany
Processor AMD Ryzen 9 9950X3D
Motherboard ASRock B850M PRO-A
Cooling Corsair Nautilus 360 RS
Memory 2x32GB Kingston Fury Beast 6000 CL30
Video Card(s) PowerColor Hellhound RX 9070 XT
Storage 1TB Samsung 990 Pro, 2TB Samsung 990 Pro, 4TB Samsung 990 Pro
Display(s) LG 27GS95QE-B, MSI G272QPF E2
Case Lian Li DAN Case A3 Black Wood Edition
Audio Device(s) Bose Companion Series 2 III, Sennheiser GSP600 and HD599 SE - Creative Soundblaster X4
Power Supply Corsair RM1000X ATX 3.1
Mouse Razer Deathadder V3
Keyboard Razer Black Widow V3 TKL
VR HMD Oculus Rift S
Normally you change the owner by adding your username or if logged in into your MS account your email address to the"owners".
Then you add it again to the "Principal" and give yourself full access.
At least that's how it works for most of the restricted MS folders.
 
Joined
Dec 19, 2023
Messages
6 (0.01/day)
Location
Berlin
System Name Dell Alienware M17xR3 I Windows 10 Home 22H2 OS Build 19045.3803
Processor Intel(R) Core(TM) i7-2960XM
Motherboard M17xR3 (CPU1)
Cooling Air cooling
Memory 8 GB DDR3
Video Card(s) NVIDIA GeForce GTX 880M
Storage Kingston SSD SATA III Drive 240 GB
Display(s) 1920x1080
Case Alienware Notebook
Audio Device(s) NVIDIA HD Audio
Power Supply Dell 330W Power Supply
Mouse Logitech MX Master 2S
Keyboard native
I know how to change the owner, but it's not what I am asking for - I can't go the way to change the owner for the reason that it is first - not my goal and secondly I'm not gonna make it this way back. As I said - if you change the owner you can't undo that. On top of that, the next troubleshooting step fails anyway if I change the owner. So I ask you for a workaround. Nobody said it would be easy one.
 
Joined
Feb 6, 2020
Messages
314 (0.16/day)
Location
Elsewhere, USA
Processor AMD R7 9800X3D
Motherboard Gigabyte B850M Gamering X Wifi
Cooling Thermalright Phantom Spirit (7 pipe)
Memory Flare X 16GB x2 6000 MT/s 28-36-36-96
Video Card(s) Sapphire RX 9070 XT Pulse (-100mV, -15% PL)
Storage WD SN850X 2 TB
Display(s) Acer XV340CK x2
Case Lian Li A3 black, mesh, woodgrain
Power Supply Corsair RM750e (2025)
Software ZorinOS Pro
Thanks! Can you get more detailed/specific regarding your approach, actually I only understood the second sentence. :)
I'm not sure the exact method, but this allows you to run a cmd as trusted installer. Once there you can use reg.exe like

Reg add <something>

This would require some research on the exact modification you want. Here is a reg commands list.

You might get lucky and run regedit from the cmd once run as trusted installer.

As always, registry editing is caveat emptor and you need to export before editing to be safe.
 
Joined
Dec 19, 2023
Messages
6 (0.01/day)
Location
Berlin
System Name Dell Alienware M17xR3 I Windows 10 Home 22H2 OS Build 19045.3803
Processor Intel(R) Core(TM) i7-2960XM
Motherboard M17xR3 (CPU1)
Cooling Air cooling
Memory 8 GB DDR3
Video Card(s) NVIDIA GeForce GTX 880M
Storage Kingston SSD SATA III Drive 240 GB
Display(s) 1920x1080
Case Alienware Notebook
Audio Device(s) NVIDIA HD Audio
Power Supply Dell 330W Power Supply
Mouse Logitech MX Master 2S
Keyboard native
RunAsTrustedInstaller is a great tool, it does what it promises and it does exactly what I need! Jackpot.
@kilo : Thank you bro!
 
Top