User Experience - AD binding

raghdasi
New Contributor III

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)
96802a00a524421c9db6fdecbd88948f

1 REPLY 1

talkingmoose
Moderator
Moderator

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