Of course, it would require the necessary user account credentials.

However, before you do, you must enable theSecondary Logon service, also referred to as RunAs.

This Windows service is responsible for allowing different apps and files to be run as different user.

Windows 11 10 Run As Different User

You cannot run an app/program as a different user that has no password configured.

However, it can not be implemented on Universal Windows Platform (UWP) applications.

For that, you must use thePowerShell methodshared below.

Run as different user from context menu

Run as different user from the context menu

Hold down the Shift key from the keyboard and then right-choose the file.

Click Run as different user from the context menu.

The file will now run from the other user account.

Enter user credentials

Enter user credentials

This method can be used in both the Command Prompt and the Run Command box.

To learn how to run a file as a different user using PowerShell, refer to thenext section below.

Here is how:

Use the following command in anelevated Command Promptor the Run Command box.

Confirm file is running from other user

Confirm file is running from another user account

Now enter the password for the user account and hit Enter.

However, it can be done using a single cmdlet.

it’s possible for you to also use this method to fire off the UWP system as another user.

Run as different user from Command Prompt

Run as different user from Command Prompt

Now enter the credentials for the user account.

The file will now be executed from the other user account.

To run a UWP app as a different user, you must first have the name of the app.

Enter the password for the user account to run as

Enter the password for the user account to run as

Simply running the shortcut will trigger the file from a specified user account every time.

Enter the complete location of the file prefixed with runas /user:[Username].

The syntax of the location will be something like this:

Click Next.

Run as different user from PowerShell

Run as different user from PowerShell

Set a name for the shortcut and click Finish.

The shortcut will now be created.

All you must do now is double-opt for shortcut to trigger the specified file with the specified user.

Enter user credentials2

Enter user credentials

Extract its contents.Extract RunAsTool

Run RunAsTool.exe or RunAsToolx64.exe (depending on your system architecture).

Enter theadministrator accountscredentials and click Apply.

For that, you must use thePowerShell methodshared above.

Get all application names using PowerShell

Get all application names using PowerShell

Some of these methods involved selecting the Run as different user from the context menu.

However, it may be possible that the option has been disabled deliberately.

you could thus fire up the Run as different user using the following steps.

Run UWP app as different user from PowerShell 1

Run UWP app as different user from PowerShell

Note:The process involves manual manipulation of the Windows Registry.

Misconfiguration of critical values in the systems registry could be fatal for your operating system.

Therefore, we insist that you create asystem restore pointbefore proceeding forward with the process.

Enter password for user account

Enter password for user account

Paste the following path in the navigation bar for quick navigation:

Double-tap the DWORD HideRunAsVerb.

Now restart the computer for the changes to take effect.

0

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Create a new shortcut

Create a new shortcut

Talk to us straight and get your questions answered right away

Enter file path with RunAs

Enter file path with RunAs

Name the shortcut

Name the shortcut

Enter the password

Enter the password

Enter administrative credentials for RunAsTool

Enter administrative credentials for RunAsTool

Drag and drop items into RunAsTool

Drag and drop items into RunAsTool

Open policy settings for Run as different user in Start menu

Open policy settings for “Run as different user” in Start menu

Enable the Run as different user option in Start menu

Enable the “Run as different user” option in Start menu

Run as different user enabled in Start menu

“Run as different user” enabled in Start menu

Quick navigation to Explorer registry key 1

Quick navigation to Explorer registry key

Open HideRunAsVerb

Open HideRunAsVerb

Change Value Data for HideRunAsVerb

Change Value Data for HideRunAsVerb

Change Value Data for EnableSecureCredentialPrompting

Change Value Data for EnableSecureCredentialPrompting

Download Windows 11 IoT Enterprise LTSC ISO

Startup folder in all versions of Windows

Download Windows 11 Version 24H2

source: www.itechtics.com