Home >System Tutorial >Windows Series >Steps to obtain trustedinstaller permissions in WIN10 system

Steps to obtain trustedinstaller permissions in WIN10 system

PHPz
PHPzforward
2024-03-27 23:01:081231browse

php editor Xigua provides the steps for obtaining trustedinstaller permissions in Win10 system. This process involves several key operations, including how to enable administrator rights, modify the registry, and add permissions. These steps will help users successfully obtain trustedinstaller permissions and solve related problems. If you are also looking for help in this area, you may wish to follow the guidance of PHP editor Xigua to achieve this goal!

1. Create a new text file on the desktop.

Steps to obtain trustedinstaller permissions in WIN10 system

2. Rename the file to trustedinstaller.txt, and copy and paste the following code into 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】.

Steps to obtain trustedinstaller permissions in WIN10 systemSteps to obtain trustedinstaller permissions in WIN10 system

#3. Change the file extension to reg.

Steps to obtain trustedinstaller permissions in WIN10 system

4. If you are prompted with the revised question, don’t worry about it and just click OK.

Steps to obtain trustedinstaller permissions in WIN10 system

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

Steps to obtain trustedinstaller permissions in WIN10 system

The above is the detailed content of Steps to obtain trustedinstaller permissions in WIN10 system. 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