Calling webservices from Windows PE from Media deployment (USB)

Jul 30, 2013 at 9:43 AM
Edited Jul 30, 2013 at 9:46 AM
Hello,

I've got a problem with getting the webservices working on a deployment from USB in PE. This is a media that is created with MDT2012.

I made a separate task sequence which is almost the same as the original (which is working with webservices). It has to do two things, one is removing some AD group memberships and moving the existing computer to the staging ou.

Both scripts I used come from here and are working on a normal network deployment, but when it's being run from the USB drive, it just sort of "skips" the two TS.

The media has it's own customsettings and bootstrap, which is the same as the network deployment, just the deployroot variable deleted.

The two scripts I'm using are:

cscript.exe %ScriptRoot%\ZTI_ExecuteWebservice.wsf /wsSection:RemoveComputerMembership /wsProcessLists:True

cscript.exe %ScriptRoot%\ZTI_ExecuteWebservice.wsf /wsSection:MoveToStage

With the following (removed most info) in customsettings/bootstrap:

[Settings]
Priority=Init,Default
Properties=ADGroup(*),StagingOU

[Init]
ADGroup001=Group001
ADGroup002=Group002
ADGroup003=Group003

[Default]
StagingOU=LDAP://OU=Computers,DC=domain,DC=com

[MoveToStage]
WebService=http://server/mdt/ad.asmx/MoveComputerToOU
Parameters=OSDComputerName,StagingOU
OSDComputerName=ComputerName
StagingOU=OUPath

[RemoveComputerMembership]
WebService=http://server/mdt/ad.asmx/RemoveComputerFromGroup
Parameters=ADGroup,OSDComputerName
ADGroup=Groupname
OSDComputerName=Computername

It somehow looks like it just can't connect, even though the computer does get a lease to communicate with the server/webservices.

Does someone have an idea how this problem occurs and of course how to solve this?