Fixed a Bug in MDT 2013 automatically move computers to the right OU.

On December 2010 i wrote an article: automatically move computers to the right OU.
In 2012 1 this was an issue: MDT 2012 settings per task sequence 

In this is still a issue:

How to fix:

I changed file and it work again Glimlach

1. Edit DeployWiz_SelectTS.vbs
2. Add after R0;Dim sTemplate”
Dim sCmd
Set Oshell = createObject(R0;Wscript.shell”)
3. Add before R0;End Function” (bottom of page)
sCmd = R0;wscript.exe “”” & oUtility.ScriptDir & “\ZTIGather.wsf”””
oItem = oSHell.Run(sCmd, , true)

Download DeployWiz_SelectTS2013.7z

Translate »
%d bloggers like this: