User Account Settings Closes When Adding an Account or Switching to MS Account

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.

user account settings closes windows 10

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.

user account settings closes windows 10

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!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

Leave a Comment