php Xiaobian Yuzai teaches you how to obtain trustedinstaller permissions in win10 system, allowing you to easily implement customized settings for system operations. In this article, we will share the detailed operation method for obtaining trustedinstaller permissions to help you solve permission problems during system setup and make your operation more convenient and efficient.
1. First create a new text file on the desktop; as shown in the figure:
2. Rename the file to trustedinstaller.txt, copy and paste the following code into In notepad.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@=[Get TrustedInstaller permission]
[HKEY_CLASSES_ROOT*shellrunascommand]
@=【cmd.exe /c takeown /f 】%1【 && icacls 】%1【 /grant administrators:F】
【IsolatedCommand】=【cmd.exe /c takeown /f 】% 1【 && icacls 】%1【 /grant administrators:F】
[HKEY_CLASSES_ROOTDirectoryshellrunas]
@=【Get TrustedInstaller permission】
【NoWorkingDirectory】=【】[HKEY_CLASSES_ROOTDirectoryshellrunascommand ]
@=【cmd.exe /c takeown /f 】%1【 /r /d y && icacls 】%1【 /grant administrators:F /t】
【IsolatedCommand】= 【cmd.exe /c takeown /f 】%1【 /r /d y && icacls 】%1【 /grant administrators:F /t】As shown in the picture:
3. Change the extension of the file to reg; as shown in the picture:
4. If you are prompted with the modified question, don’t worry about it, just click OK; as shown in the picture:
5. Double-click trustedinstaller.reg, and it will prompt that the registry information has been added successfully. as the picture shows:
The above is the detailed content of How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions. For more information, please follow other related articles on the PHP Chinese website!