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


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


Messages in this Thread

95,245 Postings in 12,014 Threads, 350 registered users, 49 users online (2 registered, 47 guests)
Index | Admin contact |   Forum Time: Jan 16, 2021 - 2:25 pm UTC  |  Hits:36,843,312  (7,244 Today )
RSS Feed