8
Following on from this question about opening file explorer as a different user, I've tried navigating to C:\Windows
, shift+right-clicking explorer.exe
and clicking "Run as different user". When I enter the login details of the user, I get 2 successive error messages, both of which say
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item
If I try the login details of the account that's currently logged in, it works, but the other doesn't. This is the case for both accounts (admins) on my PC.
Edit
There has been some confusion in the comments. I'm trying to follow the accepted answer in the question linked above, and it's not working. Some people are saying it can't be done, so it's odd that there is an accepted answer with 3 upvotes
@BlueBerry-Vignesh4303 Users on my PC have both Read and Read & Execute permissions for
explorer.exe
– binaryfunt – 2016-09-22T11:05:10.657My general thought it would be since explorer[already a parallel explorer process running at existing user]is common directory which is common for both which serves exploration of files in windows directory so it might not be accessible by another user,is the same result while executing any other microsoft programs like cmd.exe? – BlueBerry - Vignesh4303 – 2016-09-22T11:12:19.333
@BlueBerry-Vignesh4303 I can open
cmd.exe
just fine as another user. If the linked question's accepted answer (3 upvotes) says do what I tried to do to run explorer as a different user, it ought to work – binaryfunt – 2016-09-22T11:15:29.553If you can open cmd just fine, from there type
start .
and it should open an explorer as that user. – LPChip – 2016-09-22T11:17:23.070@LPChip I get the same error message if I try that, and it says
Access denied
on the newline (normal cmd prompt can still open explorer as current account) – binaryfunt – 2016-09-22T11:37:24.603You can't have
explorer.exe
open as another user. If you want to do it that way killexplorer.exe
using the task manager and start it as a different user afterwards. Generally it's not such a goo idea. What use case do you have that would make you do this? – Seth – 2016-09-22T12:41:27.677@Seth Then why has the linked question got 2 upvotes and an accepted answer with 3 upvotes if you can't do it? The reason I'm trying to do it is a long story – binaryfunt – 2016-09-22T12:47:21.687
I don't know? You'd have to ask the original person why he accepted it as the solution. What I can tell you that it works if you try to run it as an Administrator. So you're probably lacking privileges. As
explorer
drives a lot of things it can be quite complicated. There might be a better solution to your original problem or it could be easier to use a third party file explorer. – Seth – 2016-09-22T13:05:27.860@Seth Have you tried the steps I've tried? Do you also get this error? – binaryfunt – 2016-09-22T13:11:56.177
Yes I did if I try to run it as a normal user using the "Run as different" user option. If I use "Run as Administrator" it works, as long as I supply some credentials that have administrative privileges. – Seth – 2016-09-22T13:22:30.913
@BinaryFunt - If you can't tell us what problem your trying to solve. We can't help you solve it in a way that is possible. Typically you would have to end the current explorer.exe process, in order to start it, with elevated permissions. I say elevated permissions because running it as a different user, logically, does not appear to be any different. The fact you are "right clicking" stuff tells me explorer.exe is already running. – Ramhound – 2016-09-22T18:56:01.080
@Ramhound I had thought it would be entirely possible to run explorer as a different user based on the linked question. So the problem is why it won't work. – binaryfunt – 2016-09-22T20:45:22.077
How you are trying to do it, won't work, you can't run explorer as another user with explorer already running. – Ramhound – 2016-09-22T20:47:04.650
I believe the answer by John Eisbrener explaining why you can't is the correct answer to this question.
– James Jenkins – 2017-10-24T13:58:42.463Possible duplicate of How to launch Windows Explorer with the privileges of a different domain user?
– G-Man Says 'Reinstate Monica' – 2018-01-19T02:53:19.127@G-Man That seems to be more about network share. If anything, my question is a duplicate of Runas Windows Explorer in Windows 7 actually (the question linked in the one you've linked)
– binaryfunt – 2018-01-19T11:39:19.827