Get Last Distributed Time for NAL Apps
Novell Cool Solutions: Trench
By Tommy Mikkelsen
|
Digg This -
Slashdot This
Posted: 28 Jan 2002 |
Current version: ZENworks for Desktops 3.2
If you have ever needed to find out when an app was last distributed to a workstation, but discovered too late that you didn't have logging turned on, you're going to love this free tool.
Try NalTime. Simply run it from the workstation in question, and you'll get the time the app was last distributed.
FileName: naltime.exe
FileSize: 488Kb
File Owner: Tommy Mikkelsen
E-Mail: tom@support.organisator.dk
Updated on: 23 Jan 2002
Description: Just run it
Price: FreeWare
Update
At the request of Nils Winkler from Germany, I've updated NALTime with some new functions. It can now run in stealth-mode, and generate a file containing all NAL-Apps from a workstation, as well as the time they where distributed. It can also force the time-format into either US or UK time format, in case your network spans the globe.
Download
Download naltime.exe
Usage
How to use it:
NALTime.exe U z:\naltime\ UK
This will run NALTime in stealth mode, and generate a file called z:\naltime\<MAC-Address>.txt in UK timeformat.
Using NALTime with a ZEN Policy
Here's Nils' explanation of how he uses NALTime with a ZEN-Policy....COOOOOOL !!!!!
Nils wrote: I have a ZEN user policy triggered by the user login which runs a little batch job:
-----------------
SET SERVERDIR=\\Server\Data\Stat
%SERVERDIR%\Tools\NalTime.exe U %SERVERDIR%\Files\NalTime\ US
-----------------
With this I fill my Files\NALTime directory very quickly.
Sometimes I start another batch job which generates some statistics about our NAL applications:
-----------------
@ECHO OFF
SET SERVERDIR=\\Server\Data\Stat
SET STRING=NALTime
FINDSTR.EXE /I "TREE" %SERVERDIR%\Files\%STRING%\*.TXT >%TEMP%\%STRING%.txt
%SERVERDIR%\Tools\Replace.exe "\\Server\Data\Stat\Files\%STRING%\" ""
%TEMP%\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe ".txt:{qt}TREE{qt}," " " %TEMP%
\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe "{qt}." "{qt}" %TEMP%\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe "{qt},{qt}" " " %TEMP%\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe "{qt}" "" %TEMP%\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe ".ourorg" "" %TEMP%\%STRING%.txt /I
%SERVERDIR%\Tools\Replace.exe " AT " " " %TEMP%\%STRING%.txt /I
ECHO Computer Application Date Time>%SERVERDIR%\%STRING%.txt
TYPE %TEMP%\%STRING%.txt >>%SERVERDIR%\%STRING%.txt
DEL %TEMP%\%STRING%.txt
:Ende ECHO Finished.
-----------------
Replace.exe is the Replace Commander (http://bobby.mydis.org/download/).
With these two batch jobs I get a really nice file with all the applications ever started by our users. Unfortunately, there are a lot of dead keys because some apps have been deleted / replaced / moved in NDS. But with Excel I can use the Pivot table to get a sorted overview and I can hide these old apps.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

