Discussion in 'Scripting' started by Thomas Dubreuil, Nov 9, 2018.
Could you update this tool with the latest build of NSudo 8.0?
Changes : updated with NSudoLC 8.0
Run_Explorer_as_TI with NSudoLC 8.0 works OK but with error message:
It's expected behavior when File Explorer is ran as system account (TrustedInstaller)
not particulary related to NSudoL
No longer working in W10 19041.450.
Still working for me in 19041.450 without error
Disregard my previous post. I restored a previous image and all is well.
Explorer as TI message appears:
I suppose TI normally doesn't have a desktop as it is not a user account.
Fix: just create the systemprofile subfolder "Desktop"
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
or vice versa
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%" )
It might be more correct, but I prefer "This PC". Nothing wrong with that.
Could the OP re-upload the latest version or update OP links?
His Repo on Github as Follows :
Seems the scripts needs an update for usage in Windows 11.
Not working anymore.
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)
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.
Delay of 60 seconds until start