Startup Script not completed before login
I have a startup script that uninstalls mcafee:
objShell.Run ("C:\PROGRA~1\McAfee\MANAGE~1\Agent\myinx /Script=C:\PROGRA~1\McAfee\MANAGE~1\VScan\vsasap.in x /Section=DefaultUninstall /quiet")
It works on its own.
It also gives me a dialog box "do you wish to uninstall mcafee etc" if ran without /quiet switch running as a startup script. This suggests it works in the startup script.
But it does not appear to work properly, as a startup script. I previously had a similair script to uninstall google toolbar, this worked fine, but was slightly different as it was written:
objshell.run """C:\Program Files\Google\Google Toolbar\Component\GoogleToolbarManager_9DE96A29E72 1D90A.exe""/uninstall" ,,True
like i said though the script does perform the job if ran whilst logged in.
Also as i said, if ran without /quiet, in the startup script, i can see the dialog box
Am not sure why this would happen.
I have tried various settings in gpmc like stated here: Scripts Extension Tools and Settings: Group Policy
Run logon scripts synchronously
Run startup scripts visible
It appears that the script process is not being completed. Or its not working, but with waht i stated earlier things seem to be running ok in some respects.