If that is the case you will need to remove these 4 lines from the DoAntiVirus function:
Code:

$LSD = @LServer + "\Netlogon"
If Exist("$LSD\patches.kix")
Call "$LSD\patches.kix"
EndIf



after doing that, how does the script run, is it as expected?
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)