ZTree.com  | ZEN  | About...  

 Index   Back

[Tip] Admin vs NonAdmin - Alternative strategy - try NirCmd   [Tip]

By: Tim Rude       
Date: Jun 27,2020 at 13:34
In Response to: [Tip] Admin vs NonAdmin - Alternative strategy with external utilities (Laurent Duchastel)

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

Handy tip!

However, you could use the free 45k utility NirCmd.exe to do both of your F9 shortcuts. Plus your ZTree sYstem shortcut wouldn't have to be run from an already admin-elevated instance of ZTree since NirCmd can elevate it and run it as System all in one go.

F9 command line for your M (adMin) shortcut:

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

F9 command line for Y (sYstem) shortcut:

"#ZTTools\nircmd\nircmd.exe" elevatecmd runassystem "#ZTHome\ztw64.exe" /T"**SYSTEM MODE** " %2:%3

NirCmd (from the great Nir Sofer) is available from here:
https://www.nirsoft.net/utils/nircmd.html

91 views      
 

Messages in this Thread

 
95,039 Postings in 11,980 Threads, 349 registered users, 39 users online (1 registered, 38 guests)
Index | Admin contact |   Forum Time: Jul 5, 2020 - 7:11 am EDT  |  Hits:31,946,883  (7,836 Today )
RSS Feed