Many a time we've seen the "how do I perform my virus installation/upgrade" using Kix.That one I've got licked, but I've gota variation to the question.
I our login script I have Norton AntiVirus either install/update every time a user logs in. This is fine across the LAN, but is as slow as all hell for our remote users.
As such, I'm doing a registry check to see what version of updates the user has installed on their machine and trying to use GetFileTime to verify to correct version that they should have BEFORE running updates.
The script does:
$VSR = GetFileTime("\\TAUBAUNT01\NavNet32\NAVUP\NavDef4x\naveng32.dll")
$VSM = SUBSTR($VSR,1,4)+SUBSTR($VSR,6,2)+SUBSTR($VSR,9,2)
to find the VirusSourceResource (VSR and VirusSourceModified (VSM) giveing VSM in a data type format.
If I run this on my 98 or 95 machines locally, it returns the date correctly as 19990907, but when the exact same script is run from a domain controller, it returns "getfiletime" for the Source value which gets back to "GETFLEIM" as the modified value.
Hence, GetFiletime doesn't work from a domain controller.
Any got any ideas? I'm pretty confident/fluent with Kix, but this particular thing is driving me nuts!
I've even tried copying that particular file to the local machine upon lgin, and runnng the getfiletime from it, but it still returns the same value.