Run Explorer as TI

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

  1. DirtyAngelicaSecured

    Mar 30, 2020
    100
    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
    358
    601
    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
    12,945
    62,779
    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
    358
    601
    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
    100
    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. (\_/)^(\_/)

    (\_/)^(\_/) MDL Member

    May 31, 2020
    1,587
    1,332
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    #34 BAU, Sep 26, 2021
    Last edited: Sep 27, 2021
    xinso-ed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Jans

    Jans MDL Novice

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

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    358
    601
    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...
  17. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    RunAsTI.bat ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. 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.
     
  19. The.Rock

    The.Rock MDL Addicted

    Feb 2, 2011
    583
    739
    30
    Delay of 60 seconds until start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...