Sunday, January 16, 2011

Using runas with IE8

We currently run IE6. Our helpdesk people routinely start admin sessions of Windows Explorer by

  1. Right-clicking the IE6 shortcut on the quicklaunch bar,
  2. Selecting "Run as...",
  3. Entering admin account details
  4. Browsing to C:\
  5. Bingo - admin session to the file system

Now, we're planning an upgrade to IE8. On our test machines, if we try to repeat the above process, everything works until we browse to C:. The Explorer session pops up in a second window, but it's not running under an admin session! It's running as the logged on user.

Do our guys just have to learn the cmd runas command and get used to it, or is there a way around this?

  • It's about time your guys found, installed, and used ShellRunAs from Microsoft Sysinternals.

    All they would then need to do is right-click on Windows Explorer, and choose Run as different user


    ShellRunAs by Sysinternals

    From Izzy
  • On windows xp you can also write: runas /user:machine\administrator "explorer.exe /separate

    where you substitute machine with actual machine name or domain name and administrator with any administrator account.

    On Vista this trick does not work since /separate switch isn't supported anymore. You can still use RUNAS, but you need to know the actual path to executable.

    From imagodei
  • Some good answers, but it's easier than I thought:

    Go to the hidden folder c:\windows\ie8, and look for iexplore.exe - this should be the IE6 executable. Runas works the 'old' way on this file.

  • Hi, we are planning to upgrade from IE6 to Ie8 and facing same issue. Also tried above solution C:\windows\ie8 but doesn't work. Any idea?

    From NonTechie

0 comments:

Post a Comment