Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 2007

The Trick to Accessing Remote Files with Explorer.exe

RSS
Subscribe to Windows IT Pro | See More Internet Explorer (IE) Articles Here | Reprints
Or get the Monthly Online Pass—only $5.95 a month!

Windows IT professionals often have two accounts: a limited-privilege user account that they use to log on to their own computers and a high-privilege account that they use to log on to users' computers for maintenance or troubleshooting purposes. When Windows IT professionals need to use the high-privilege account, they can use the Runas command with Windows Explorer. However, a registry edit is needed to make it work.


In his Reader to Reader article “Access Remote Files with iexplore.exe” (InstantDoc ID 95445, June 2007), Serge Bédard mentions that his company’s IT staff members have two accounts: a limited-privilege account that they use to log on to their own computers and a high-privilege account that they use to log on to users’ computers for maintenance or troubleshooting purposes. Not wanting to constantly use the Net Use command to create a special connection, Serge discovered that he could use the Runas command with Internet Explorer (IE) 6.0 to access to computers under the high-privilege account. He mentioned that he had tried using the Runas command with Windows Explorer (explorer.exe), but it didn’t work.

You can use the Runas command with Windows Explorer, but you first need to make a registry edit. Here are the steps to follow:

  1. Under the Start menu, select Run and enter the command runas /user:domain\username regedit where domain\username is the high-privilege account you want to log on with. Click OK. In the command-shell window that appears, enter the relevant password and press Enter. The registry editor will appear and will be running under the high-privilege account.
  2. In the registry editor, navigate to the HKEY_CURRENT_USER\Software\Microsoft Windows\CurrentVersion\Explorer Advanced key. In the SeparateProcess entry, change the value from 0 to 1. I’ve noticed that this key is missing on some clients. If it’s missing, you can safely create the key. Close the registry editor.
  3. Under the Start menu, select Run and enter the command

runas /user:domain\username explorer.exe

where domain\username is the high-privilege account you want to log on with. Click OK. In the command-shell window that appears, enter the relevant password and press Enter. Presto—you should have a Windows Explorer window that’s running under the high-privilege account. In this window, you can access files on the target remote computers.

If desired, you can place a shortcut to Windows Explorer on your desktop (i.e., the desktop mapped to your limited-privilege user account). To do so, paste a shortcut to C:\%WINDIR%\explorer.exe on your desktop. Right-click the shortcut and click Properties. On the Shortcut tab, click Advanced and select the Run with different credentials check box. Click OK twice. Now when you double-click the shortcut, you’re presented with the Run As dialog box that lets you run Windows Explorer under the current logon account or a different account. This is where you’d use the high-privilege account.

Using the Runas command with Windows Explorer is preferable to using the Runas command with IE because, as Serge points out, the Runas command works with IE 6.0 but not IE 7.0. Although I’ve only used the Runas command with Windows Explorer on Windows XP, this fix will likely work on other OSs as well. If you try this fix on other OSs, be sure to try it on a test machine first. Thanks to Aaron Margosis for his help with creating this fix.

— Simon Drake, Network Administrator, Barnett Waddingham

End of Article



Reader Comments
Very useful tip.

philjw November 27, 2007 (Article Rating: )


Useful, but why do I have refresh / F5 every second to see changes to the file/folder structure?!?!?

Sammyc53 December 07, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

Common .pst File Questions

Sue Mosher addresses some of the inevitable questions that Outlook users eventually ask about Personal Folders (.pst) files. ...


Related Articles Let Users Install Software Without Giving Them Administrator Rights

Dealing with the Least Privilege Security Principle

PsExec

Switching Users in the Current Logon Session

Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Disaster Recovery and Backup

A Guide to Windows Certification and Public Keys

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing