Powershell script to add domain group to local Administrators Group RRS feed

  • Question

  • I have a script that adds a domain group to the local administrators group and it works great in 3 out of 4 of my task sequences.  All of my task sequences are identical. The only difference is the WIM used and I copy the Powershell command from the first task sequence into the next task sequence to ensure there aren't any typos.

    With the one task sequence I am having an issue with I have tried two different WIMs but I'm still getting this error.  Any help would be greatly appreciated.



    Friday, October 31, 2014 1:36 PM

All replies

  • First thing to verify is to see if the machine in question was properly joined to your domain when you ran the command.

    If you still need help, please copy your bdd.log and/or smsts.log file to a public site like OneDrive and share the link.

    Keith Garner - Principal Consultant [owner] -

    Friday, October 31, 2014 5:59 PM