How to run Command Prompt as TrustedInstaller on Windows 11

Here's a quick way to run commands and change settings as TrustedInstaller on Windows 11.

Command Prompt as TrustedInstaller
Command Prompt as TrustedInstaller

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:

  1. Open NirSoft website.

  2. Click the Download AdvancedRun (64-bit) link (at the bottom of the page) and save the file on your computer.

    AdvancedRun download

  3. Double-click the advancedrun-x64.zip file.

  4. Click the Extract all button.

  5. Click the Extract button.

    Unzip AdvancedRun

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:

  1. Open File Explorer.

  2. Open to the advancedrun-x64 folder.

  3. Double-click the AdvancedRun.exe file to launch the app.

  4. 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.
  5. Select the TrustedInstaller option in the “Run as” setting.

    Command Prompt as TrustedInstaller

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

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 14 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].