This is just another post for the sake of my mental sanity because I’m always tired of looking up for this over and over again. While working on BizTalk Server projects, and in many other scenarios, we have to check if a specific user has access to specific resources in a file share or the file share itself, and we don’t want to disconnect (log off) from the machine and log on on the same machine using a different account. Sometimes, this account doesn’t have remote desktop access either.
So, the main question is: How to run Windows File Explorer as a different user?
There are several ways to accomplish this, but if you need to run File Explorer as a different user, the simplest way to accomplish that is by:
Open the File Explorer, normally as we usually do, and access the following folder:
C:Windows
Scroll down until you find the explorer.exe executable, or search for this file in the search field in the upper right corner.
Press the Shift key, and with the Shift key pressed, right-click on the explorer.exe file, and on the context menu, select Run as different user.
In the Windows Security window that appears, you need to specify the name and password of the user under whose account you want to run the application and click OK.
After this, a new File Explorer is open, running under the specified user account.
Any Windows user can run a program in his current session on behalf of another user using RunAs. This feature allows you to run any scripts (.bat, .cmd, .vbs, .ps1), executable files (.exe), or install applications (.msi, .cab) with the permissions of another user without the need to log off and log in on the machine with different users/credentials.
Hope you find this helpful! So, if you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego!
Author: Sandro Pereira
Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc.
He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.
View all posts by Sandro Pereira
This is just another post for the sake of my mental sanity because I hate that Microsoft will induce, based on my location, that I intend for the Azure Portal to have my beloved Portuguese as the default language!
Don’t get me wrong, I’m proud to be Portuguese, and I do love my native language, but technically speaking, I hate to translate technical names into Portuguese for several reasons:
Sometimes direct translations do not work properly, and in some cases, the names/concepts are strange:
A queue (service bus) in Portuguese is “Fila” but “Fila” can be in English a row, a line, or indeed a queue > and this one is simple.
But most importantly, if I try or need to search for documentation or issues regarding some services, most of the resources will be in English.
Also, because I do have multiple clients across the world, speaking with them and sharing the screen with them will be easier if everything is in English.
I usually have all the portals and tools in English, but every now and then, I need to create a new profile on my browser, and there you go. I will end up with the Azure Portal in Portuguese and fighting to remember where to change the language, which by the way, is quite simple to achieve :).
To change the language settings in the Azure portal:
Click the Settings menu in the global page header.
Click the Language & region tab. Of course, depending on the current language, you will get a different name. Mine is “Idioma + região” (Portuguese).
Use the drop-downs to choose your preferred language and regional format settings.
Click Apply, in my case “Aplicar“, to update your language and regional format settings.
Hope you find this helpful! So, if you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego!
Author: Sandro Pereira
Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc.
He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.
View all posts by Sandro Pereira