In Windows, users can use the Run as command to start an application or open a file as a different user or administrator. This is usually the case if you want to perform administrative tasks when you are logged on as a member of another group, such as the Users or Power Users group. Typically, the Run as command can be used to execute files with extensions such as .bat, .cmd, .exe, .msc, or .msi. It will allow you to run or execute a command with the same permissions and rights as the user you are running it as instead of the account you signed into Windows with. Below is how to use the Run as command in Windows 11.

Use the Run as command as different user or administrator in File Explorer

If you are signed into Windows as a regular user and want to execute a file or run a program as a different user, or an administrator, use the Run as command. Here’s how to do it in File Explorer. First, open File Explorer (Win + E) and locate the files or program executable you wish to run (.bat, .cmd, .exe, .msc, or .msi). Select the file, and hold down the SHIFT key on your keyboard. Right-click on the file and select Show more options. On the context menu, select Run as different user or Run as administrator. When prompted, enter the user you want to run as with the account password and click OK.

Launch apps as different user or administrator from the Taskbar

You can also run apps and other scripts as different user or administrator from the Taskbar. If the app has an icon or the task is open, hold down the SHIFT key, then right-click on the app’s icon, and select Run as different user or Run as administrator. Hold down the SHFIT key on your keyboard. Right-click on the app’s icon on the Taskbar. Select Run as different user or Run as administrator. When prompted, type in the account or administrator with the password you want to run as.

Run as different user or administrator from the command prompt

Another way to use the Run as command is via the Command Prompt or Windows PowerShell. To do that, first, open the Command Prompt or Windows Powershell. Then use the command format as below. Example: In a domain environment, you may use Users can also use the Run as command on the Start menu -> All apps list. Some apps will let you run as different user or administrator from the Start menu. However, the Windows Store app will not let you run as a different user. That should do it! Reference: https://learn.microsoft.com/en-us/troubleshoot/windows-server/shell-experience/use-run-as-start-app-admin Conclusion: This post showed you how to use the Run as command to run or execute a program or file as a different user or administrator. If you find any error above or have something to add, please use the comment form below.