ZTree.com  | ZEN  | About...  

 Index   Back

[Tip] Admin vs NonAdmin - Alternative strategy with external utilities   [Tip]

By: Laurent Duchastel     Montréal, Québec  
Date: Jun 27,2020 at 14:43
In Response to: [Tip] Admin vs NonAdmin (Tim Rude)

I prefer to run ZTree with normal privileges on daily basis, but from time to time, I need admin privileges or even higher system privileges. I prefer to launch new ZTree instances for these needs.

Here two F9 scripts I use very often. With customized shortcut (here respectively M and Y), they are only three keystrokes away, from within ZTree.

You can change ZTree parameters to your taste. Here, title of instance is changed to reflect upper privileges mode and current directory of previous ZTree instance is set as default of the new instance (to continue from where I was before).


::M ZTree AdMin
:: Free 5k utility at http://code.kliu.org/misc/elevate/

"#ZTTools\elevate\elevate64.exe" -c "#ZTHome\ztw64.exe" /T"**ADMIN MODE** " %2:%3


and


::Y ZTree sYstem (Launch from ZTree already elevated Admin)
:: Free powerful 370Kb utility at https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
:: Tip source: Liviu (2014-12-06) http://www.ztw3.com/forum/forum_entry.php?id=118412

:: Requires ZTree to be already with Admin privileges to work

"#ZTTools\psexec64.exe" -d -s -i "#ZTHome\ztw64.exe" /T"**SYSTEM MODE** " %2:%3


Note that System privileges allow to access or delete directories which are otherwise blocked even in admin mode.


Laurent Duchastel

981 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 48 users online (0 registered, 48 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 7:49 am UTC  |  Hits:62,397,116  (11,902 Today )
RSS Feed