Run Explorer as TI

Discussion in 'Scripting' started by Thomas Dubreuil, Nov 9, 2018.

  1. DirtyAngelicaSecured

    Mar 30, 2020
    101
    17
    10
    Could you update this tool with the latest build of NSudo 8.0?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    620
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    Run_Explorer_as_TI with NSudoLC 8.0 works OK but with error message:
     

    Attached Files:

  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,770
    340
    It's expected behavior when File Explorer is ran as system account (TrustedInstaller)
    not particulary related to NSudoL
     
  5. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    OK, thanks
     
  6. tracit99

    tracit99 MDL Senior Member

    Oct 17, 2014
    278
    105
    10
    No longer working in W10 19041.450.
    [​IMG]
     
  7. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    Still working for me in 19041.450 without error
     
  8. tracit99

    tracit99 MDL Senior Member

    Oct 17, 2014
    278
    105
    10
    Disregard my previous post. I restored a previous image and all is well.
     
  9. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    Explorer as TI message appears:
    Folder Desktop is unavailable.png
    I suppose TI normally doesn't have a desktop as it is not a user account.
    Fix: just create the systemprofile subfolder "Desktop"
     
  10. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    620
    10
    Right, these are referenced location for system account folders, and expected they do not exist.

    Not sure if it could have appeared after changing explorer.exe
    /root,
    to
    /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
    or vice versa :confused:

    But finally it might be better to change script to open explorer in C: drive instead of "This PC" no ?
    (simply replacing by explorer.exe "%systemdrive%" )
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    It might be more correct, but I prefer "This PC". Nothing wrong with that.
     
  12. DirtyAngelicaSecured

    Mar 30, 2020
    101
    17
    10
    Could the OP re-upload the latest version or update OP links?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,693
    60
    #34 AveYo, Sep 26, 2021
    Last edited: Sep 27, 2021
    xinso-ed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    Seems the scripts needs an update for usage in Windows 11.
    Not working anymore.
     
  15. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    620
    10
    #36 Thomas Dubreuil, Oct 21, 2021
    Last edited: Oct 21, 2021
    (OP)
    Since MS made changes to Explorer in Windows 11, they might also have changed registry keys and/or explorer behaviour... :(
    You might try adding the /NOUACCHECK parameter see if it works (like C:\Windows\explorer.exe /NOUACCHECK /root, )

    btw I just created a repository for the script...https://github.com/Thdub/RunExplorerAsTrustedInstaller
    and a new .exe with latest NSudo (8.2) https://github.com/Thdub/RunExplorerAsTrustedInstaller/releases

    And an "All in One" script, with NSudo embedded (extracting such tiny file is still way faster than Powershell alternatives)
    https://github.com/Thdub/RunExplorerAsTrustedInstaller/blob/main/RunExplorerAsTI-AIO.bat
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,693
    60
    #37 AveYo, Oct 21, 2021
    Last edited: Jan 28, 2022
    xinxo-ed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Jans

    Jans MDL Novice

    Oct 17, 2009
    20
    2
    0
    Thank you for the new script Thomas.
    Seems to work perfect now in Win11.
    I prefer to use the "RunExplorerAsTrustedInstaller.bat" because I than can easily replace NSudoLC.exe when a new NSudo is released.
     
  18. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,734
    5,179
    120
    Delay of 60 seconds until start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...