SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - How To: Run explorer.exe [shell] as an Administrator - Win7

(23 posts)
  • Started 1 year ago by elreaver
  • Latest reply from whs
  • Topic Viewed 5601 times

elreaver
elreaver
Posts: 36

I believe there is a legitimate need to run explorer in elevated privileges, for example to register or unregister WSC (Windows script component files) or to run Windows scripts elevated. I also need to use it for file management on remote servers, and it would be much easier than RDP directly into the server. Amirite?

Posted 1 year ago
Top
 
elreaver
elreaver
Posts: 36

Here is my solution however; it does involve making a change in the registry:
Rename the following key:

HK_CLASSES_ROOT\AppID\{CDCBCFCA-3CDC-436f-A4E2-0E02075250C2}\RunAs

to

HK_CLASSES_ROOT\AppID\{CDCBCFCA-3CDC-436f-A4E2-0E02075250C2}\_RunAs

You will likely have to go in as an administrator and take ownership of that registry key before you can modify it, as by default, only TrustedInstaller can modify it.

This will stop the mechanism that launches explorer.exe from always launching it as the current interactive user.

Accepted Answer · Posted 1 year ago
Top
 
whs
whs
Posts: 17584

That's going thru a lot of trouble for a non existing problem - in my book. But thanks for the info. Maybe that becomes fashionable.

Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!