How to use registry editing to add file ownership to Windows 10 explorer
This article mainly introduces how to use registry editing to add file ownership to Windows 10 Explorer, the article is very detailed, has a certain reference value, interested friends must read it!
Windows registry file editing
Assuming that you have performed due diligence and backed up and created a restore point, the process begins by typing "regedit" in the Cortana search box on the windows 10 desktop. Click or click the registry editor key in the search results to start the application, as shown in figure A.
Navigate to this key (figure B):
Computer\ HKEY_CLASSES_ROOT\ *\ shell
Right-click "shell" and select New | key and name it "runas". Double-click the Default value under the runas key you just created, assign it the value "Take Ownership", and then click OK to complete the process (figure C).
Right-click the runas key you created again, and select New | string value. Name the string "NoWorkingDirectory" and leave its value blank, as shown in figure D.
Right-click the runas key you created again, and select New | Type this time and name it "command". As before, double-click the default value in the command key you just created and change its value to this command (figure E):
Cmd.exe / c takeown / f\ "% 1\" & & icacls\ "% 1\" / grant administrators:F
Figure E.
Click OK to complete the process, then right-click the command key you created and select New | string value. Name the string "IsolatedCommand" and change its default value to the same command above, as shown in figure F.
Figure F.
Click OK to complete the process, and then exit the Registry Editor. This change should take effect immediately, but restarting windows 10 ensures that the change is activated.
Now, when you right-click a file from Windows File Explorer, you will see the Take Ownership project (figure G) in the context menu, saving your itinerary through multiple property settings screens.
The above is all the contents of the article "how to use Registry Editing to add File ownership to Windows 10 Explorer". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!