Deployment Solution

 View Only
  • 1.  Adding Computer to AD Domain Group after AD Domain Join

    Posted Apr 15, 2016 02:21 PM

    Hello!  New to Altiris 6.9 Deployment Solution. Need assistance with instructions for using Altiris to script add a newly domain joined computer account to a common domain security group. Target Domain Group for all machines is CN=NAP Client Computers,OU=Groups,OU=CMH,OU=Companies,DC=corp,DC=int.  Any assistance is appreciated!



  • 2.  RE: Adding Computer to AD Domain Group after AD Domain Join

    Posted Apr 15, 2016 08:14 PM
    If you have netdom on your machines you can use this and just plug in your variables.
    
    cmd /c netdom join %COMPUTERNAME% /domain:azure.microsoft.com /OU:OU=ManagedDesktops,DC=azu,DC=microsoft,DC=com /userd:\adjoin_svc /passwordd:123


  • 3.  RE: Adding Computer to AD Domain Group after AD Domain Join

    Posted Apr 21, 2016 06:14 PM

    Thank you for the suggestion.  However, I am trying to add a computer to a GROUP not an OU.  Our existing workflow will properly add the machine account to the domain without issue.  The intent of this request is to add the domain machine account to an AD group that later acts as a filter for security permissions.



  • 4.  RE: Adding Computer to AD Domain Group after AD Domain Join

    Posted Apr 23, 2016 03:53 PM

    So just add that group in the OU block before with quotes to encapsulate the space in the group name.



  • 5.  RE: Adding Computer to AD Domain Group after AD Domain Join

    Posted Apr 28, 2016 01:24 AM

    These might help (simple command line script tasks, which can be run from embedded scripts):

    https://technet.microsoft.com/en-gb/library/bb680367.aspx

    Net localgroup <group> <domain name>\<computer name>$ /ADD

    And if you prefer PowerShell:

    https://technet.microsoft.com/en-gb/library/ee617210.aspx

    -BBC