Home  >  Article  >  System Tutorial  >  How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

WBOY
WBOYforward
2024-03-27 19:06:15678browse

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:

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

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:

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissionsHow to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

3. Change the extension of the file to reg; as shown in the picture:

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

4. If you are prompted with the modified question, don’t worry about it, just click OK; as shown in the picture:

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

5. Double-click trustedinstaller.reg, and it will prompt that the registry information has been added successfully. as the picture shows:

How to obtain trustedinstaller permissions in win10 system_How to obtain trustedinstaller permissions

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!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete