Jump to content


  • 0
Mattster

Andrew Barnes - ZTIAddMember.wsf script help

Question

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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

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.