What is ngen.exe?

The .exe extension on a filename indicates an executable file. Executable files may, in some cases, harm your computer. Therefore, please read below to decide for yourself whether the ngen.exe on your computer is a Trojan that you should remove, or whether it is a file belonging to the Windows operating system or to a trusted application.

Click to Run a Free Scan for ngen.exe related errors

Ngen.exe file information

Windows Task Manager with ngen
Ngen.exe process in Windows Task Manager

The process known as Microsoft Common Language Runtime native compiler belongs to software Microsoft .NET Framework (version 4 Client Profile) by Microsoft (

Description: Ngen.exe is an important part of Windows, but often causes problems. Ngen.exe is located in a subfolder of C:\Windows. Known file sizes on Windows 10/8/7/XP are 100,856 bytes (20% of all occurrences), 171,072 bytes and 5 more variants. 
The program has no visible window. Ngen.exe is not a Windows core file. It is digitally signed. Ngen.exe is able to monitor applications. Therefore the technical security rating is 18% dangerous; however you should also read the user reviews.

Uninstalling this variant: If problems with ngen.exe come up, you may also uninstall the program using the Control Panel ⇒ Uninstall a ProgramMicrosoft .NET Framework or Microsoft .NET Framework 4 Client Profile.

Recommended: Identify ngen.exe related errors

Important: Some malware camouflages itself as ngen.exe, particularly when located in the C:\Windows or C:\Windows\System32 folder. Therefore, you should check the ngen.exe process on your PC to see if it is a threat. We recommend Security Task Manager for verifying your computer's security. This was one of the Top Download Picks of The Washington Post and PC World.


User Comments

NGEN ist ein Teil von Microsofts Betriebssystemaufsatz .net. Es optimiert für .net geschriebene Programme, indem es sie auf den PC abstimmt, auf dem sie installiert wurden. Da es ein Betriebssystemaufsatz ist, gehört es in den Windows-System-Ordner. NGEN stellt die "Benutzeroberfläche" zum ensprechenden Dienst bereit, welcher in der mscorsvw.exe dargestellt ist.
  Ingo Moch   (further information)
The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications.
  Bill   (further information)
it seems to have a memory leak; lost 500MB to this process.

Summary: Average user rating of ngen.exe: based on 3 votes with 3 user comments. One user thinks it's probably harmless. One user thinks it's neither essential nor dangerous. One user suspects danger.

Do you have additional information? Help other users!
What do you know about ngen.exe:
How would you rate it:
Link for more info:
Your Name:

Best practices for resolving ngen issues

A clean and tidy computer is the key requirement for avoiding problems with ngen. This means running a scan for malware, cleaning your hard drive using 1cleanmgr and 2sfc /scannow, 3uninstalling programs that you no longer need, checking for Autostart programs (using 4msconfig) and enabling Windows' 5Automatic Update. Always remember to perform periodic backups, or at least to set restore points.

Should you experience an actual problem, try to recall the last thing you did, or the last thing you installed before the problem appeared for the first time. Use the 6resmon command to identify the processes that are causing your problem. Even for serious problems, rather than reinstalling Windows, you are better off repairing of your installation or, for Windows 8 and later versions, executing the 7DISM.exe /Online /Cleanup-image /Restorehealth command. This allows you to repair the operating system without losing data.

To help you analyze the ngen.exe process on your computer, the following programs have proven to be helpful: ASecurity Task Manager displays all running Windows tasks, including embedded hidden processes, such as keyboard and browser monitoring or Autostart entries. A unique security risk rating indicates the likelihood of the process being potential spyware, malware or a Trojan. BMalwarebytes Anti-Malware detects and removes sleeping spyware, adware, Trojans, keyloggers, malware and trackers from your hard drive.

Other processes

ngen.exe [all]