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

How to obtain trustedinstaller permissions in win10 system

王林
王林forward
2023-12-28 11:36:132676browse

Many friends will need to modify files on their computers, but when modifying files, the trustedinstaller pop-up box will always pop up. Today I have brought you a detailed solution, let’s take a look.

How to obtain win10 trustedinstaller permissions:

1. Right-click a blank space on the desktop, click "New", and then click "Text Document".

win10 trustedinstaller权限获取方法

2. Double-click to open the document and enter the code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]@ ="Get TrustedInstaller permissions"

[HKEY_CLASSES_ROOT\*\shell\runas\command]@="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_ROOT\Directory\shell\ runas]@="Get TrustedInstaller permissions""NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]@="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"

win10 trustedinstaller权限获取方法

3. Then click the file in the upper left corner and select "Save As".

win10 trustedinstaller权限获取方法

4. After filling in the name, click "Save".

win10 trustedinstaller权限获取方法

5. Change the suffix of the document to .reg on the desktop.

win10 trustedinstaller权限获取方法

6. Click Yes to modify.

win10 trustedinstaller权限获取方法

7. Double-click the reg file to import it into the registry. Click "Yes" to start the import.

win10 trustedinstaller权限获取方法

8. After the import is successful, click "Yes" again.

win10 trustedinstaller权限获取方法

9. Finally, right-click the file and the "Get TrustedInstaller Permissions" option will appear.

win10 trustedinstaller权限获取方法

The above is the detailed content of How 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:somode.com. If there is any infringement, please contact admin@php.cn delete