Skip to main content
Question

User Experience - AD binding

  • April 6, 2020
  • 1 reply
  • 11 views

Forum|alt.badge.img+6

Hello All,

I am wondering if there is a command line through terminal or shell script to enabling "Create Mobile account on Login" and "Force Local Home Directory on Startup Disk". I know we can do this through Configuration profile but I am looking for alternatives in case if i need it.

I found some commends for enabling "Create Mobile Account on Login" but not for "Force Local Home Directory on Startup Disk".

sudo dsconfigad -mobile enable -mobileconfirm -disable

or

/System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -h

Any Help appreciated in advance. (I like to achieve the end result as screenshot)

1 reply

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • April 6, 2020

Have a look at the dsconfigad command line tool. In Terminal, enter man dsconfigad and press return for details.