I am after some clarification to a problem I am experiencing with a script I have downloaded online made by Andrew Barnes. It does not work in MDT2012 U1 (or it doesn't for me anyway)
Has anyone used this and is there anything that has not been done below that should be considered?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hi All,
I am after some clarification to a problem I am experiencing with a script I have downloaded online made by Andrew Barnes. It does not work in MDT2012 U1 (or it doesn't for me anyway)
Has anyone used this and is there anything that has not been done below that should be considered?
Appreciate any assistance.
Script Location: http://gallery.technet.microsoft.com/scriptcenter/Add-the-current-computer-3759f02d
Process followed:
I downloaded the ZTIAddMember.wsf and placed into the deployment share under scripts folder.
I have created a new command line instance within a Task Sequence within MDT.
I have called the instance Add to Group.
The command cscript.exe "%SCRIPTROOT%\ZTIAddMember.wsf" has been added to 'Command Line' line
The Start in: is left empty.
I have enabled 'Run this step under the following account' with an account that has permissions to add to the security group.
Next step: I have opened the customsettings.ini file for this task and added ADGroup next to properties i.e. Properties=MyCustomProperty, ADGroup
Next step: I have opened the customsettings.ini file for this task and added..
ADGroup = LDAP://CN=Windows 7 - Group,OU=Subscription Groups,DC=<removed>,DC=uk
I then updated the deployment share.
What would I expect? MDT to deploy Windows, Add to the domain (it does) then add the computer account to this security group (it does not).
Share this post
Link to post
Share on other sites