THE SCRIPT WOULD NOT WORK AS A LOGON SCRIPT AS IT WAS TIMING OUT NO MATTER WHAT SETTINGS I USED.
What I did was amend our current logon script with the following lines:-
Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\UNC PATH\BBUntangle-AD.*" , "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\", OverwriteExisting
As I had already test the script on running directly on a PC I knew it was good so what I was doing was copying the logon script to the All Users Startup folder. This will run the script after login thus preventing the timeout issue. I do have a small niggle in that it is popping up warnings on users PC but I can live with that for the moment.
If anyone has a better solution please let me know.
Hope this Helps