Microsoft .NET Framework NGEN v2.0.50727_X86 (clr_optimization_v2.0.50727_32) Service Defaults in Windows 7

Microsoft .NET Framework NGEN.

Default Settings

Startup type:
Windows 7 StarterManual
Windows 7 Home BasicManual
Windows 7 Home PremiumManual
Windows 7 ProfessionalAutomatic (Delayed Start)
Windows 7 UltimateAutomatic (Delayed Start)
Windows 7 EnterpriseAutomatic (Delayed Start)
Windows 7 Starter SP1Automatic (Delayed Start)
Windows 7 Home Basic SP1Automatic (Delayed Start)
Windows 7 Home Premium SP1Automatic (Delayed Start)
Windows 7 Professional SP1Automatic (Delayed Start)
Windows 7 Ultimate SP1Automatic (Delayed Start)
Windows 7 Enterprise SP1Automatic (Delayed Start)
Display name:Microsoft .NET Framework NGEN v2.0.50727_X86
Service name:clr_optimization_v2.0.50727_32
Service type:own
Error control:ignore
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\clr_optimization_v2.0.50727_32
  • SeCreateGlobalPrivilege
  • SeChangeNotifyPrivilege
  • SeIncreaseBasePriorityPrivilege
  • SeIncreaseQuotaPrivilege

Default Behavior

Microsoft .NET Framework NGEN v2.0.50727_X86 is a Win32 service. It won't be started if the user doesn't start it in Windows 7 Starter SP0, Windows 7 Home Basic SP0, Windows 7 Home Premium SP0. This service is starting automatically after the operating system is started in Windows 7 Professional SP0, Windows 7 Ultimate SP0, Windows 7 Enterprise SP0, all editions of Windows 7 SP1.

When the Microsoft .NET Framework NGEN v2.0.50727_X86 service is started, it is running as LocalSystem in its own process of mscorsvw.exe. If Microsoft .NET Framework NGEN v2.0.50727_X86 fails to load or initialize, Windows 7 startup continues without error messages. The failure details are being written into Event Log.

Restore Default Startup Configuration of Microsoft .NET Framework NGEN v2.0.50727_X86

1. Run the Command Prompt as an administrator.

2. Depending on the version of your operating system, copy the commands below, paste them into the command window and press ENTER.

For Windows 7 SP0 Home Basic, Windows 7 SP0 Home Premium, Windows 7 SP0 Starter:
sc config clr_optimization_v2.0.50727_32 start= demand

For Windows 7 SP0 Enterprise, Windows 7 SP0 Professional, Windows 7 SP0 Ultimate, Windows 7 SP1 Home Basic, Windows 7 SP1 Enterprise, Windows 7 SP1 Home Premium, Windows 7 SP1 Professional, Windows 7 SP1 Starter, Windows 7 SP1 Ultimate:
sc config clr_optimization_v2.0.50727_32 start= delayed-auto
sc start clr_optimization_v2.0.50727_32

3. Close the command window and restart the computer.

The clr_optimization_v2.0.50727_32 service is using the mscorsvw.exe file that is located in the C:\Windows\Microsoft.NET\Framework\v2.0.50727 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 7 installation media.