I'm running McAfee VirusScan on my clients and am trying to create special scan jobs on the clients to do full scans for viruses etc. I created the job with VirusScan and exported its associated registry entries to a file. Then we run a logon script that imports the job to each computer with the following command (so it will run automatically):

IF INGROUP("Domain Users")
SHELL "regedit.exe /s %logonserver%\netlogon\day.reg"
ENDIF

It functions correctly for me (administrator) but not for the regular “domain users” because they don’t obviously don’t have the appropriate permission. The day.reg file writes to the HKLM\Software\Network Associates key.

Is there away around this? Advice would be very much appreciated.