Question : How do I deploy Group Policy Preference Client Side Extensions for Windows XP

I want to take advantage of the Server 2008 group policy but all of the clients are Windows XP.  How can I download and deploy this to all the clients?  Will it require validation?

Answer : How do I deploy Group Policy Preference Client Side Extensions for Windows XP

Sigh.  That's not it either.

I think I've finally got it now.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
On Error Resume Next
 
strShare = "\\server\share"
strInstaller = strShare & "\Windows-en-US-KB943729.exe"
strLogFolder = strShare & "\logs"
 
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = WScript.CreateObject("WScript.Shell")
strComputerName = objShell.ExpandEnvironmentStrings("%computername%")
 
If Not objFSO.FolderExists(strSystemRoot & "\" & "$NtUninstallKB943729$") Then
    Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select Caption From Win32_OperatingSystem")
 
    For Each objItem in colItems
        If InStr(objItem.Caption, "Vista") Then
            blnVista = True
        End If
    Next
 
    If Not blnVista Then
        objShell.Run strInstaller & " /quiet /passive /norestart", 0, True
        
        If Not objFSO.FolderExists(strLogFolder) Then
            objFSO.CreateFolder strLogFolder
        End If
        
        Set objReport = objFSO.CreateTextFile(strLogFolder & "\" & strComputerName, True)
        objReport.Close
    End If
End If
Random Solutions  
 
programming4us programming4us