Yes, you can run File Explorer as a different user, but it takes a workaround. A normal Explorer window reuses the shell that is already running under your account, so launching it again usually just opens another window under your own credentials.
There are two ways around that. You can hold Shift, right-click a program or shortcut, and choose the run-as-different-user option, which Windows 11 supports because it is a multi-user operating system [1]. Or you can start Explorer with the /separate switch, which runs it in a separate process using different credentials [2].
This article covers Windows 11 first, with Windows 10 notes where they matter. You will see when each method fits, so you can reach a folder as another account without signing out. Related reading: How to Launch File Explorer as Admin in Windows 11 and 10.
When does running Explorer as another user help?
Running Explorer under another account is worth it when you need that account’s permissions or profile without signing out of your own session. Four situations come up most often.
Testing access to a share or folder
If you need to know whether a specific user can reach a file share, or particular items inside it, you can test as that user. You don’t have to log off and sign back in on the same PC. Some accounts don’t even have remote desktop access, so signing in as them may not be possible at all. [3]
Doing admin work from a standard account
Some people sign in with a normal account, not as an Administrator or Power User. They then start a separate Explorer window with admin credentials only when a task needs it. [2] Because it is a separate process, your other Explorer windows stay under your everyday account. [2]
Apps tied to another user’s profile
Sometimes an application is configured under another user and keeps its settings in that user’s profile, which your account can’t access. Running it as that user starts it with the same settings. [4]
The same approach works for scripts, executables and installers. For example, you can install an app or open an MMC snap-in under the administrator account from an unprivileged session. [4]
How this differs from an elevated admin window
An elevated admin window still belongs to your own account; it only gains higher rights. Running as a different user switches to another account’s identity, using that account’s name and password. [4] Pick this option when the other account’s permissions or profile are what matter, not just extra rights for yourself.
What do you need before you start?
You need only two things: another account that already exists, and its sign-in details.
What the other account must provide
The username and password. Windows asks for both when you choose to run something as a different user. [5]
A password on the account. Running a program as another user works only if that account has a password. [4]
An account that exists. It can be a local account on this PC or a domain account. For a domain user, type the name in a domain format such as
user@domainorDOMAIN\user. [4]
For example, if a family PC has your standard account and a second account called Admin, keep Admin’s password handy before you begin.
Why you do not need to sign out
Windows 11 is a multi-user operating system, so you can run apps under different credentials without switching between accounts. [1] Your own session stays open while the other account’s app runs beside it. [5]
Windows 11 and Windows 10
The steps are mostly the same in both. Holding Shift while you right-click a file or shortcut shows the Run as different user option in each. [4] Windows 10 is past end of support, so Windows 11 is the better place to do this where you can.
One behind-the-scenes requirement applies to every method: the Secondary Log-on service (seclogon) must be running, because the Run As methods stop working if it is stopped. [4]
How do you use Shift and right-click to run as a different user?
Holding Shift while you right-click an app or shortcut is the quickest way to start it under a different account. Here is how it works on an executable in File Explorer.
Open File Explorer and find the executable (.exe) file or shortcut you want to run. [5]
Hold down the Shift key and right-click the file. [6]
In Windows 11, the menu may not list the option yet. Select Show more options while still holding Shift, then release the key. [5]
Select Run as different user from the menu. [5]
When prompted, type the username and password of the account you want to use, then click OK. [5]
The app opens under that account. Its title bar or behavior (for example, access to that account’s folders) shows it is running with the other credentials.
The same trick works on a pinned app in the taskbar. Hold Shift, right-click the icon, release Shift, then choose Run as different user. [5]
For example, if you are signed in as a standard user and a colleague’s account has access to a shared tool, you can start only that tool under their account. You do not need to sign out of your own session. [1]
Safety: Use only credentials you are authorized to use. Avoid changing or deleting files while the app runs under a more privileged account, because that account may be able to modify things your own account cannot touch.
How do you open a File Explorer window as another user?
The /separate switch makes Explorer start as its own process under the credentials you give it, so you get a real File Explorer window for the other account. [2] You launch it through runas, which you can type in a Command Prompt or put in a shortcut.
Open a Command Prompt.
Type the command below, replacing
myComputer\administratorwith the computer or domain and account you want to use:
runas /user:myComputer\administrator "explorer /separate"
The /user: part names the account, and the quoted text is the program to start, here Explorer with /separate. [2] 3. Enter that account’s password when prompted. 4. A new File Explorer window opens running as that user, separate from your normal one. [2] 5. Browse to the folder or file share you want to test. If the account lacks permission, Windows will refuse access, which is exactly what you wanted to find out. [3]
This is handy when you need to check whether a specific user can reach a resource on a file share without logging off and back on. [3]
Shortcut alternative
You can also hold Shift, right-click the explorer.exe file in the C:\Windows folder, and choose Run as different user, then enter the account name and password in the Windows Security window. [3] Because Explorer normally reuses the running shell, the /separate command above is the more dependable way to get a distinct window. [2]
Can you use the runas command instead?
Yes, runas is the command-line way to start a program under another user’s account, and it is a good fallback when the Shift-click menu is not available. The Run as command lets you run a program using the account of a different user, often an administrator. [7]
What runas can launch
The same approach works for programs (.exe), scripts (.bat), and even some installers (.msi). [7] Another guide adds other script and package types: .cmd, .vbs, .ps1 and .cab. [4] For example, you could install an app or open an MMC snap-in under an administrator account while you stay signed in to an unprivileged session. [4]
When it helps
The command is handy when the menu item is missing, because it does not depend on the right-click menu. [4] It also suits apps that store their settings in another user’s profile, which your current account cannot reach, but that must start with those settings. [4]
What has to be in place
Running a program as another user relies on the Secondary Log-on service (seclogon). If it is stopped, none of the Run as methods will work. [4] The target account also needs a password. [4]
For a domain user, enter the name in a domain-qualified format rather than just the short name. [4] The exact runas syntax is in Microsoft’s documentation for the runas command, so check the switches there before you build a command line.
If you only need a quick launch and the menu works, Shift and right-click is simpler. [4]
Common questions about running Explorer as another user
Is this the same as Run as administrator?
No. Run as administrator raises the permissions of a program while it stays under your own account. Run as different user starts the program under another account, with that account’s name and password. The other account is often an administrator, but it doesn’t have to be. [4]
Why does nothing seem to change in my existing window?
Explorer normally reuses the process that is already running, so a new window usually opens under your own account. The /separate switch runs Explorer in a separate process with different credentials. [2]
This command starts one Explorer instance under the administrator account without making all your other Explorer windows run in separate processes:
runas /user:myComputer\administrator "explorer /separate"
Here /user: names the account, and explorer /separate is the program that runs under it. [2]
What if Run as different user is missing?
First, make sure you hold Shift while you right-click the app or shortcut. That is how the menu item appears. [4]
If it still isn’t there, the Secondary Log-on service (seclogon) may be stopped. When it is stopped, none of the Run As methods work. [4] In that case, runas from a Command Prompt is the alternative. It depends on the same service, so it won’t help until the service is running again. [4]
Also, the account you want to use must have a password. [4]
Which method should you pick?
Pick by what you need to open. For an app or shortcut, hold Shift, right-click it, and choose Run as different user; it is the quickest route and needs no typing. [6]
For a real File Explorer window under another account, use the /separate switch, which runs Explorer in its own process with different credentials. [2] Your next step is to try it with the account you actually need, then browse to the folder in question. If you want an elevated window that keeps your own account instead, the overview on how to run a file as administrator in Windows 11 covers that.
