Hi all,

Strange problem here.

I'm building a Windows 7 x64 image in MDT 2013 standalone and have the 
following problem.
The Task Sequence runs fine, everything is good until near the end in the 
"State Restore" phase, right after the "Apply GPO Pack" (which doesn't do 
anything in my case) I would like to run two wsf scripts. (one is Nickolaj's 
WSUS cleanup script, the other Mikael's "image cleanup" script)

Both fail with "incorrect function", error 1.
The Task Sequence fails, I stay logged on as the same user, map the Deployment 
share again, set the scriptroot variable as MDT would and run the script with 
the same command and everything is fine, no errors.

I tried adding a reboot right before those two steps, didn't help. If I remove 
those two steps the Task Sequence completes successfully. 

Anybody seen this before? My workaround now will be to pause the TS and execute 
the scripts manually.

Cheers
David


Reply via email to