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 10: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

141 views      
 

Messages in this Thread

 
95,039 Postings in 11,980 Threads, 349 registered users, 30 users online (0 registered, 30 guests)
Index | Admin contact |   Forum Time: Jul 5, 2020 - 5:46 am EDT  |  Hits:31,945,082  (6,035 Today )
RSS Feed