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.


About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.

Leave a Comment