Thursday, June 4, 2026

Getting below error Execution of user code in the NET Framework is disabled

Issue Reported: 

SQL 2012 SP3 Upgrade completed but sccm 1606 is Console is not working so we have tried to recover SCCM 1606 getting below error Execution of user code in the .NET Framework is disabled. Enable “clr enabled configure

Symptoms:

While you open SCCM Console it will give you access deny or wmi issue and console will not work.

Error : Configmgrsetup.log


Solutions:

To Fix above error follow below steps:

To enable the CLR assembly, follow these steps:

Step 1: Open SQL Server Management Studio.

Step 2: Right click on the database and click New Query.

Step 3: Paste the following SQL statement into the New Query window:and run the following script: EXEC sp_configure ‘clr enabled’, 1; RECONFIGURE WITH OVERRIDE;

Step 4: Press F5 to run the SQL Statement.

Step 5: After followed above steps start recover or refresh it will work like champ.

Happy Learning!!!

Thanks&regards,
Haresh Hirani
Email: [email protected], [email protected]
Facebook https://www.facebook.com/Hiraniconfigmgr-120189361980772/
Follow us: https://www.linkedin.com/in/hiraniconfigmgr 
Twitter: https://twitter.com/hiraniconfigmgr

Author

  • Hi, I’m Haresh Hirani the mind behind Hiraniconfigmgr.com. I’m a seasoned IT professional with deep expertise in Microsoft technologies, especially in Configuration Manager (ConfigMgr/SCCM). Over the years, I’ve expanded my skill set to cover a broader range of modern device management platforms like Microsoft Intune, Jamf Pro, ManageEngine Endpoint Central, and VMware AirWatch (Workspace ONE UEM), I use this blog to document real-world, tested, working fixes and walkthroughs from my daily technical experiences. The 💡idea is simple: if it helped me, it might help someone like you. My goal is to create a living repository of practical IT solutions for the community. If you find something useful, or if you want to collaborate, feel free to connect with me on LinkedIn or drop a message through the Contact page. Happy to help.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest posts