We have 10 Windows 2003 domains (1 root, 8 children, 1 grandchild) and 28
Windows 2003 Domain Controllers.

company.com (2 DCs)
childA.company.com (2 DCs)
grandchildA.childA.company.com (4 DCs)
childB.company.com (4 DCs)
childC.company.com (4 DCs)
childD.company.com (3 DCs)
childE.company.com (3 DCs)
childF.company.com (2 DCs)
childG.company.com (2 DCs)
childH.company.com (2 DCs)

At the end of this message is a script called MasterScript. MasterScript
causes each and every Domain Controller in the forest to locally run its own
local copy of a second script called SlaveScript. I run MasterScript from my
workstation, which is a member of ChildA.company.com, and I run it using
Enterprise Admin credentials from the root domain (company.com). Everything
works just fine except that in exactly 2 of the child domains (child C and
child F) none of the 6 Domain Controllers will locally run their local copy
of SlaveScript. When I locally log into each of the 6 problem Domain
Controllers using the same Enterprise Admin credentials, I can manually run
the local copy of SlaveScript and it works fine.
So it seems that the childC and childF domains (or at least their DCs) are
set to not allow remote script execution. What am I missing?





----------- MasterScript -------------------------
str_exeToRunRemotely = "WScript.exe " & Chr(34) & "C:\Program
Files\EventLogArchive\SlaveScript" & Chr(34)

For int_counterI = 1 To 28

' Connect to WMI
set obj_WMIService = GetObject("winmgmts://" & ary_str_DCs(int_counterI) &
"/root/cimv2")

' Obtain the Win32_Process class of object.
Set obj_process = obj_WMIService.Get("Win32_Process")
Set obj_program = obj_process.Methods_("Create").InParameters.SpawnInstance_
obj_program.CommandLine = str_exeToRunRemotely

' Execute the program now at the command line.
Set obj_shell = obj_WMIService.ExecMethod("Win32_Process", "Create",
obj_program)

Next
----------- MasterScript -------------------------