Find out Who Installed Office XP via NAL
Novell Cool Solutions: Trench
By Paul McLean
Digg This -
Posted: 11 Aug 2004
PROBLEM: We wanted to know who had installed Office XP via a NAL shortcut delivered by ZENworks.
SOLUTION: I created a batch file that was called from the login script and got it to output usernames to a text file. One text file for yes (installed) and one text file for no (not installed).
@ECHO OFF CLS C: IF EXIST C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE10\EXCEL.EXE ECHO %USERNAME% TYPE > H:\YES.TXT IF NOT EXIST C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE10\EXCEL.EXE ECHO %USERNAME% TYPE > H:\NO.TXT EXIT
If you have any questions you may contact Paul at email@example.com
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com