Updating McAfee Superdat Files
Novell Cool Solutions: Trench
By Michael Birkemose
Digg This -
Posted: 5 Jul 2004
PROBLEM: When you want to update your mcafee superdat files on workstations, you have to download the latest superdat.exe from mcafee website and rename the file to setup.exe.
With my solution you just have to power on a Windows workstation and login to a Novell server, nothing more. Here's how you do it.
With ZENworks for Desktops and the two files, update.bat and settings.txt, you can update your workstations with the latest sdat*.exe from nai.com ftp site.
- Create a user, call him vira, and a userpackage for the user vira.
Note: Vira should not be a member of any user group
- Make the userpackage execute the update.bat every time you want.
- Make a directory on the server where you will place the file update.bat and settings.txt
- The sdat*.exe will be saved in this directory
- The sdat*.exe file will be given the name setup.exe
- The old sdat*.exe file will be deleted.
- Make a userpackage for the group everyone in ZENworks for Desktops.
- Use the command: /server/volume/directory/setup.exe /silent /f
Note: the userpackage for everyone must be active on user login or by the time you select to update.
- You can also use a workstation package or a login script.
What will Happen
The workstation get the latest sdat*.exe when the users login or you can make the userpackage deliver the latest sdat*.exe at any time you want.
Update.bat @echo off cls REM Delete old sdat*.exe file. del *.exe /Q REM Download the latest sdat*.exe file from nai.com FTP site. ftp -s:settings.txt rem give the file the name setup.exe FOR %%M IN (*.exe) DO COPY %%M setup.exe rem copy setup.exe to the update directory del L:\antivira\setup.exe /q copy setup.exe L:\antivira Settings.txt open ftp.nai.com anonymous firstname.lastname@example.org cd /pub/antivirus/datfiles/4.x/ binary prompt n mget sdat*.* close quit
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com