Home >System Tutorial >Windows Series >Steps to obtain trustedinstaller permissions in WIN10 system
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.
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】.
#3. Change the file extension to reg.
4. If you are prompted with the revised question, don’t worry about it and just click OK.
5. Double-click trustedinstaller.reg, and it will prompt that the registry information has been added successfully.
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!