On Windows 11, you can run commands using the āTrustedInstallerā account through Command Prompt, but you will need to use a third-party tool to make things easier, and in this guide, you will learn how. TrustedInstaller is a built-in user account available on Windows 11, 10, and older versions that includes specific privileges to help install, modify, and remove updates and other components.
Although you would typically use an Administrator account to perform elevated tasks, sometimes, when you have to change specific system files or settings, you will need permission from the TrustedInstaller account. Otherwise, you may get the āYou require permission from TrustedInstaller to make changes to this folderā error.
You could go through the steps to change the ownership of the component, but it will take more steps, and you may end up breaking some system configurations. If you have to run Command Prompt as TrustedInstaller to perform specific tasks, you can use a third-party tool like AdvancedRun to perform the task.
This guide will teach you the steps to launch Command Prompt with the TrustedInstaller account on Windows 11.
Run Command Prompt as TrustedInstaller on Windows 11
On Windows 11, if you must run a command with the āTrustedInstallerā rights, you will need to use a third-party tool, such as AdvancedRun.
Itās important to note that this is a third-party app, and itās offered as-is. Even though it works as advertised, you should only use it at your own risk.
Install AdvancedRun
To install the AdvacnedRun app, use these steps:
-
Open NirSoft website.
-
Click the Download AdvancedRun (64-bit) link (at the bottom of the page) and save the file on your computer.
-
Double-click the advancedrun-x64.zip file.
-
Click the Extract all button.
-
Click the Extract button.
Once you complete the steps, you can proceed to use the tool to run commands as a different user.
Run as TrustedInstaller
To run Command Prompt as a TrustedInstaller on Windows 11, use these steps:
-
Open File Explorer.
-
Open to the advancedrun-x64 folder.
-
Double-click the AdvancedRun.exe file to launch the app.
-
Select the Command Prompt option in the āRun Modeā setting.
Quick tip: You can also type cmd.exe in the āProgram to Runā setting to perform the same action.
-
Select the TrustedInstaller option in the āRun asā setting.
-
Click the Run button.
Once you complete the steps, you can use Command Prompt to run commands to change settings or perform specific actions requiring āTrustedInstallerā privileges.
Although the guide focuses on Command Prompt, you can also run PowerShell as TrustedInstaller from the āRun Modeā setting.
Source: Pureinfotech