Results 1 to 10 of 15

Thread: Using Run as ...

Threaded View

  1. #14
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    I start to take this personally

    Since the junction point in discussion is a subfolder of the desktop,
    I don't think that the full path solves the problem. Anyway, try
    using explorer.exe rather than iexplorer.exe, with/without /n,/e,/root
    (I am guessing...)

    Code:
    runas /user:administrator "c:\windows\explorer.exe /n,/e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
    Note:[1]
    {20D04FE0-3AEA-1069-A2D8-08002B30309D} = My Computer
    {21EC2020-3AEA-1069-A2DD-08002B30309D} = Control Panel


    If this does not work, try a vbs-script (runas /user:administrator "wscript.exe c:\test.vbs"), like
    Code:
    Set oShell = WScript.CreateObject("WScript.Shell")
    oShell.Run "c:\windows\explorer.exe /n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"

    If one of them works, we will try understand why ...

    Cheers

    /edit: if none of them worked, try to start explorer.exe as administrator
    (runas /user:administrator c:\windows\explorer.exe), then fill the
    address bar with ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}


    [1] http://www.autohotkey.com/docs/misc/CLSID-List.htm
    Last edited by sec_ware; January 15th, 2008 at 06:04 PM.
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •