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.
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.