If the User Accounts Settings page closes abruptly when trying to create a new user account or when switching your local user account to Microsoft account, here is a couple of PowerShell commands to fix the problem.
The above screen may show up for a couple of seconds and close abruptly without showing an error. As a result, you’re unable to create a new user via the user interface.
Reinstall User Accounts Settings Panel
Start PowerShell.exe and run the following command, exactly as given:
Get-AppxPackage Microsoft.AccountsControl | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
And then run this command:
Get-AppxPackage Microsoft.Windows.CloudExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
This reinstalls the package for User Accounts Settings page.
That should fix the issue.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Thanks, this worked for me!