Sep 16, 2010 at 5:03 PM
Edited Sep 16, 2010 at 5:39 PM
Ha Ha, this is crazy, I just had the same problem and thought I post here to get help and the first thing i see is your post!
Sorry for the hijack, but since we have the same problem maybe we can share thread :-)
Errormessage when started from TaskSequence:
The operating system reported error 2147942487: The parameter is incorrect.
This is my script(relevant parts of it atleast):
iRetVal = Failure
sGroupname = "name-of-group"
' Create the web service instance
Set oService = New WebService
oService.iniFile = "Customsettings.ini"
oService.SectionName = "AddComputerToGroup"
oEnvironment.Item("Groupname") = sGroupname
' Make the web service call
Set oXML = oService.Query
If oXML Is Nothing then
oLogging.CreateEntry "Unable to call AddComputerToGroup web service.", LogTypeWarning
oXML.setProperty "SelectionNamespaces", "xmlns:mk='http://maikkoster.com/Deployment'"
If UCase(oXML.SelectSingleNode("mk:boolean").Text) = "TRUE" Then
iRetVal = Success
This is my customsettings.ini in the MDTFiles SCCMPacket:
And as always, I am on a tight schedule so any help is really appreciated !