How to take ownership on a registry branch from «TrustedInstaller» in Windows?

Who is «TrustedInstaller» in Windows?

Step 1

Run regedit and go to the branch (e.g. HKEY_CLASSES_ROOT\Directory\Background\shell\cmd).

Step 2

2023-04-28--02-23-17

Step 3

2023-04-28--02-24-39

Step 4

2023-04-28--02-25-31

Step 5

2023-04-28--02-26-08

Step 6

2023-04-28--02-26-52

Step 7

2023-04-28--02-28-04

Step 8

2023-04-29--00-53-54

Step 9

2023-04-29--00-56-17

Step 10

2023-04-28--02-29-51

Step 11

2023-04-28--02-30-37

How to take ownership of a file from «TrustedInstaller» in Windows?