FileCopy Failure with McAfee Virus Files
Keywords:
Question:
I'm trying to copy virus scanner updates from a network server to a desktop and get a "file copy error"
message on NT. It mounts the drive and fails on the copy.
AddExtender("WWNET34I.DLL")
netAddDrive(@default,@default,"\\storm\export\software","V:",@false)
DirChange ("v:\users\virus")
FileCopy ("v:\users\virus\*.*","c:\program files\Mcafee\VirusScan NT\*.*", @FALSE)
netCancelCon("V:",@true,@true)
Answer:
- Files in use? Cannot overwrite files in use?
- Files marked read only?
- If the virus software is running it may be protecting its files from unauthorized modifications.
- Are you able to perform this process manually ? McAfee is reputed to be a real ?!**!?*?!* to upgrade,
so as mentioned, you may be running into a problem with files that are in use.
- Check out the MV.EXE utility in the NT resource kit, as this allows you to specify files to be copied
during a reboot when the targets are not "in use".
You would need to copy your upgrade files into a temporary directory and then runhidewait MV.EXE
with the right parameters to force a copy and delete at the next reboot.
An INTCONTROL 66 or 67 can then force a reboot (Can't remember which one).
- I am not so sure about the NT version, BUT McAfee for the last 3 revisions of the 4.x series has been
plagued by a bug in which even when McAfee is shut down, several files are still locked by the system.
Their "solution" is to disable McAfee and reboot the PC. Then those files can be copied. This problem
cropped up when they switched to 4.x engine, which is a frankenstein conglomerate of McAfee and
Dr.Solomon's engine. They claim they are working on it. Since they mirror the same kind of engine for
NT, I would only assume it would have the same difficulty. My answer was to use WInBatch and
IniWritePvt into a WinInit.ini file, and copy the files to the McAfee directory as *.new. Then on reboot,
Windows renames the files for me automagically.
Article ID: W13064
Filename: FileCopy Failure with McAfee Virus Files.txt
File Created: 2001:03:01:14:42:28
Last Updated: 2001:03:01:14:42:28