Run Explorer.Exe As A Different User

I struggled with an immensely annoying problem the other day when I simply couldn’t run Explorer.exe as another user. This was on a WinXP desktop which happened to have Internet Explorer 8 installed. It took me absolutely ages to find this answer posted by leereid, so I thought I’d share it with you.

If you’re running IE7 [or later] under WinXP, in order to run Windows Explorer with the runas command, it must be run as a separate process. There are a couple of ways to do this, but one that I recently found which is very slick is with the undocumented parameter /separate, like this:

runas /user:domain\username "explorer /separate"

Oh, and if you’ve got a space in your username, enter it as:

/user:"domain\user name"

Advertisements

About Colin Legg

RAD Developer Microsoft MVP - Excel 2009 - 2014
This entry was posted in Windows and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s