I will guide you How to fix the problem that Server Manager cannot be run due to an error in a user configuration file

Windows Server Server Manager allows you to manage all your resources, active directories, clusters, and more. However, we have noticed that on some machines, especially after renaming the system, Server Manager starts to crash and says Server Manager cannot be run due to an error in a user configuration file. This post will discuss this issue and see how you can resolve it.

How to fix the problem that Server Manager cannot be run due to an error in a user configuration file



Windows Server Server Manager allows you to manage all your resources, active directories, clusters, and more. However, we have noticed that on some machines, especially after renaming the system, Server Manager starts to crash and says Server Manager cannot be run due to an error in a user configuration file. This post will discuss this issue and see how you can resolve it.


Server Manager cannot be run due to an error in a user configuration file.


Click OK to restore the default settings and continue, or click Cancel to exit.


An error occurred while loading a configuration file: The type initializer for 'System.MarvinHash' raised an exception (path-to-conf.config-file) 

Fix Server Manager cannot be run due to an error in a user configuration file 


If Server Manager cannot be run due to an error in a user configuration file, follow the solutions mentioned below.


Let's talk about them in detail.

1] Repair or Reinstall .NET Framework .


NET Framework is an essential tool that provides an environment for software written using the .NET programming language to run, such as Server Manager. Therefore, to resolve the issue, we recommend you try to repair or reinstall .NET Framework. For that, we need to follow the solutions.


Once it is done, we will check if the issue is resolved.

2] Restart Server Manager 


It is also possible that this issue is being caused by the failure of Server Manager. We will then restart Server Manager and some of its components and then we can check if the issue is resolved. To do so, open Task Manager, right-click on Server Manager and click End Task. Now, open Server Manager as administrator and see if the issue is resolved.


But if it still persists, open the Services application, find the Server Manager service and start it if it is not running, if it is running, restart the service.


Also, reset the Server Manager console by running the following command in PowerShell.


Get-Module -Name Microsoft.Windows.ServerManager -ListAvailable | Import-Module; Reset-SmConsole Finally, check if the issue is resolved.

3] Set Execution Policy 


An execution policy in PowerShell is a security feature that controls the conditions under which PowerShell loads configuration files and runs scripts. To resolve the issue, we will set it to the default value, which is Restricted. To do so, open PowerShell as an administrator and run the following command.


Set-ExecutionPolicy Restricted -Scope LocalMachine If doing so, you receive an error message saying that Windows PowerShell successfully updated its execution policy, but the setting is overridden by a policy defined at a more specific scope, you must also set the policy for the current user. To do so, run – Set-ExecutionPolicy Restricted -Scope CurrentUser.


The command will set the execution policy to Restricted.


If you want to verify this, run – Get-ExecutionPolicy -List.


This page shows you the list of scopes, with their respective execution policy.

4] Machine.config file configuration 


The configuration settings contained in this file apply to all .NET Framework applications running on the machine. This ensures a centralized approach to configuration management for all .NET applications running on the system, including Server Manager.


If you are using outbound proxy to connect to the Internet, you will need to add a special configuration to the file as well: C:WindowsMicrosoft.NETFramework64v4.0.30319Configmachine.config. This step is required for the Azure AD Connect setup wizard and synchronization to connect to the Internet and to theAdd the text directly there, we recommend that you first delete the C:UsersYourUserNameAppDataLocalMicrosoft_CorporationServerManager.exe_StrongName_m3xk0k0ucj0oj3ai2hibnhnv4xobnimj10.0.0.0user.config file and then restart your computer and see if the problem persists.


If you still have the same problem, add the following line of code to the file.


Note: Replace it with the IP address or hostname of the current proxy and with the proxy port.


Once done, restart your computer and see if the problem is resolved.

5] Rename the computer to its predecessor 


If editing the configuration file did not resolve the problem, we recommend that you rename the computer to its predecessor. You can also go to C:UsersAdministratorAppDataRoamingMicrosoftWindowsServerManager, find ServerList.Xml and then see that it points to a different name; you can then revert it back to a common name and see if that helps.




Other Articles
How to install and deploy Network Controller on Windows Server
Here is a step-by-step guide that shows you How to Install and Deploy a Network Driver on Windows Server

How to install and configure Windows Server Essentials Experience
To learn how to install and configure Windows Server Essentials Experience, here is a complete guide.

How to setup IPAM on Windows Server
If you are wondering how to configure IPAM on Windows Server, here is a guide with the best answer.

How to control Bandwidth in Router
I will teach you how to control the bandwidth on the router

How to create Email Templates in new Outlook app
I will tell you How to create email templates in the new Outlook application

How to Choose the Best Sauna Equipment: A Comprehensive Guide
A sauna can be a perfect addition to your home, offering numerous health benefits like relaxation, improved circulation, stress relief, and even skin detoxification.

How to Fix 0x80042444 – 0x4002F Error Code when installing Windows 11 Upgrade
I will guide you in this documentary How to fix error code 0x80042444 – 0x4002F when installing Windows 11 update

How to install Debian on VirtualBox in Windows 11
I will guide you How to install Debian on VirtualBox on Windows 11

How to remove Green Triangle in Excel
I will explain to you how to remove the green triangle in Excel

Show or hide Tab Groups Icon in Chrome bookmarks bar
I'm going to teach you how to show or hide the tab groups icon in the Chrome bookmarks bar

How to Fix VMware Horizon Client not installing on Windows 11
I will tell you How to fix VMware Horizon Client not installing on Windows 11