WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:

  1. Files in use? Cannot overwrite files in use?

  2. Files marked read only?

  3. If the virus software is running it may be protecting its files from unauthorized modifications.

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

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

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