

To start the Notepad.exe under the administrator account, run this command: Open the command prompt (or the Run window by pressing Win+R). The runas command also lets you to save the user’s password to the Windows Credential Manager so that you don’t have to enter it every time.


You can use the Windows built-in cli tool runas.exe to run apps applications as a different user from the command prompt. Using the RunAs Command to Run a Program as Another User from CMD If there is no Run as different user option in the File Explorer context menu, open the Local Group Policy Editor ( gpedit.msc) and make sure that the Require trusted path for credential entry policy is disabled (or not configured) in Computer Configuration -> Administrative Templates -> Windows Components -> Credential User Interface. “Run As Different User” Option is Missing in Windows 10 Open the Task Manager and make sure that the application is running under the specified user account. Using RunAs for a user with an empty password won’t work. Running the program on behalf of different user is possible if the account has a password. If you need to specify a domain user, one of the following formats of the name is used: or DomainName\UserName. In the next window, specify the name and password of the user under whose account you want to run the application and click OK. If the menu item “ Run as different user” is missing, see the next section. Select Run as different user in the context menu. Just find an application (or a shortcut) you want to start, press the Shift key and right-click on it. The easiest way to run an application on behalf of another user is to use the Windows File Explorer GUI. Get-Service seclogon How to Run an App as Different User from File Explorer? You can check that the service is started with the following PowerShell command: If this service is stopped, all of the described RunAs methods won’t work. The Secondary Log-on service (seclogon ) is responsible for the ability to run programs as different user in Windows. In Windows 10 there are several ways to run a program/process on behalf of another user. The opportunity to run a program as a different user may be useful when an application is configured under another user (and stores its settings in another user’s profile, which the current user cannot access), but it must be started with the same settings in another user’s session. cab) with another user (usually elevated) privileges.įor example, you can use the RunAs to install apps or run MMC snap-ins under the administrator account in an unprivileged user session. ps1), an executable (.exe) or an application installation (.msi. In all supported Windows versions it is possible to run applications on behalf of another user ( Run As) in the current session.
