Hi everyone
We use AD here on Windows 2003 DC's totally patched.
All our workstations are XP totally patched.
I use a computer GPO (calling a startup script) to install antivirus software (if it is not already installed). I use the following vb script to do this
' * Set the current parameter with value of SCS Installation
Current_SCS = """{0698cecb-9072-47b1-aea1-94ca350989b8}"""
' * Find Out version installed to this computer
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Product where IdentifyingNumber =" & Current_SCS ,,48)
' * If latest version of scsc installed then quit
For Each objItem in colItems
' * Correct version installed quit
wscript.quit
next
Otherwise continue and install Symantec AV
etc etc etc
When I disable this GPO (calling vbscript above) the boot up process speeds up dramatically (when enabled the boot up can take 5-10 minutes, when disabled 30 seconds. By boot up I mean the time it takes from powering on to the moment I see the Ctrl+Alt+Del screen)
Can someone tell me why the piece of code above is slowing things down. Maybe perhaps doing this in a GPO is daft, I'd appreciate if someone could advise.
Many many thanks
We use AD here on Windows 2003 DC's totally patched.
All our workstations are XP totally patched.
I use a computer GPO (calling a startup script) to install antivirus software (if it is not already installed). I use the following vb script to do this
' * Set the current parameter with value of SCS Installation
Current_SCS = """{0698cecb-9072-47b1-aea1-94ca350989b8}"""
' * Find Out version installed to this computer
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Product where IdentifyingNumber =" & Current_SCS ,,48)
' * If latest version of scsc installed then quit
For Each objItem in colItems
' * Correct version installed quit
wscript.quit
next
Otherwise continue and install Symantec AV
etc etc etc
When I disable this GPO (calling vbscript above) the boot up process speeds up dramatically (when enabled the boot up can take 5-10 minutes, when disabled 30 seconds. By boot up I mean the time it takes from powering on to the moment I see the Ctrl+Alt+Del screen)
Can someone tell me why the piece of code above is slowing things down. Maybe perhaps doing this in a GPO is daft, I'd appreciate if someone could advise.
Many many thanks