August 29

How to Fix Mac Sierra “network accounts are unavailable”

Problem: A mac computer running mac os sierra can not have domain user log into the system. It displays “Network accounts are unavailable” 

Solutions:

I have tried to follow Timothy’s blog to troubleshoot this problem, but none of them works.

One “trick way” to get this problem fixed is to manually create mobile account.

1  follow Timothy’s steps to rebind macs to Active Directory first.

2 open terminal, run the following command:

Sudo  /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount –v –p samplpassword –n sampledomainusername

Here is more info about this command.

3 reboot Mac, this will fix the”network account are unavailable” problem. I tried this method on two macs, it all worked.

This command above doesn’t work  anymore. 

Here are the new steps,

1  rebind macs to Active Directory first.

2  log in as test1 user and create a mobile  account by press “create” button as show in the picture below.

Here is the link from apple

Please let me know if you find a working solution.

 

 

If none of above works, a temporary way to fix this issue (only if one user is logged into the Mac) is to

1 create a local account with the same domain user name and password.

2 a warning window will pop up, choose “use existing folder”

Since the new local account uses the domain user folder,  the domain user profiles (doc, pic, music,etc,)will be transferred  to this local account. When the domain user logs into this account, he/she is actually logging into the local account.

August 29

Create Mac Computer Mobile Account Manually

Open Terminal

Sudo /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount –v –P –n networkusername

usage: createmobileaccount -n username [-h homepath] [-P | [-p password]] [-e] [-q] [[-x] | [-X]] [[-s] | [-S]] [-u syncURL] [-t urlPath] [-d] [-v]
-n username : user record name.
-h homepath : user home path; Default is “/Users/<username>”.
-p password : user password.
-P : prompt for user password. A user password is required to create a FileVault home.
-e encrypt : encrypt new home with FileVault.
-q quota : max size in bytes of FileVault home.
-x : create as external account on non-boot volumes. Default.
-X : create as mobile account account non-boot volumes.
-d : disable external account creation.
-s : set home sync on if home created.
-S : set home sync off if home created. Default.
-u syncURL : server target of home synchronization.
-t urlPath : additional path after syncURL.
-v : verbose output.
Examples:
createmobileaccount -n testname
createmobileaccount -v -P -n testname
createmobileaccount -vsxn jsmith -h /Volumes/HD3/jhome
createmobileaccount -vsxn jsmith -h /Volumes/HD3/jhome -u nfs:/server.apple.com/bigs/homes -t myusers/macos/jhome
Notes:
– createmobileaccount must run as root.
– If you do not specify a password, the account’s cached password will be created during the account’s first log in.

Category: MAC | LEAVE A COMMENT
August 3

Windows 10 Start Menu Not Working in One Account But Working on A New Created Account

Problem:  

One user can not use Start Menu and settings. So I created a test account, the test account has no problem use stat menu and settings

Solutions:

If a new created user account has no problem to use the start menu and settings, that tells me that the Windows system might be  OK. The “bad” user account might have a corrupted profile.

1: Log in as the new created user.

(You need to create a second Admin account to do this.) You need to enable “show hidden files….” and disable “Hide protected operating system files”

 

2: Go to c:\users\bad-user name\appdata\local\Microsoft\Windows find UsrClass.dat  rename it UsrClass-old.dat

3: Restart the computer

The problem should be resolved.

 

 

Category: Windows | LEAVE A COMMENT