To run Ngen.exe, you must have administrative privileges. These utilities enable you to run the tool easily, without navigating to the installation folder. To run the tool, we recommend that you use the Visual Studio Command Prompt or the Windows SDK Command Prompt (CMD Shell). This tool is automatically installed with Visual Studio and with the Windows SDK. The runtime can use native images from the cache instead of using the just-in-time (JIT) compiler to compile the original assembly. Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer.
The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications.
Ngen.exe (Native Image Generator) mentions: Second, it improves memory usage by allowing for code pages to be shared across multiple processes. First, it reduces application startup time by avoiding the need to compile code at run time. This results in two primary performance benefits. NGen refers to the process of precompiling Microsoft® intermediate language (MSIL) executables into machine code prior to execution time. For your concern, I would suggest you to read the following two helpful links to understand NGEN: It is a tool that improves the performance of managed applications. NGEN stands for "Native Image Generation". The following information is part of the event:'WSMAN/', 'WSMAN/CHI-Win7-22', '1355'.NET Framework NGEN v9_x86 service will not start - Normal? has a way to verify installation: The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them. The description for Event ID '468906' in Source 'WinRM' cannot be found. If you do not see a success message for several hours, then contact your administrator. A success message would be generated once the machine gets connected to the domain controller and Group Policy has succesfully processed. The processing of Group Policy failed because of lack of network connectivity to a domain controller. Windows will continue to try to establish a connection.
Unable to Connect: Windows is unable to connect to the automatic updates service and therefore cannot download and install updates according to the set schedule. The following error occured: The specified domain either does not exist or could not be contacted. The terminal server cannot register 'TERMSRV' Service Principal Name to be used for server authentication. Services Failed Auto Start Disks Network System Log Application Log Top System Event Log Summary TimeGenerated Services Failed Auto Start Disks Network System Log Application Log Top Network Adapters Name
Services Failed Auto Start Disks Network System Log Application Log Top Disk Utilization DeviceID Services Failed Auto Start Disks Network System Log Application Log Top Failed Auto Start Name
Windows Driver Foundation - User-mode Driver Framework Problem Reports and Solutions Control Panel Support KtmRm for Distributed Transaction Coordinator
Windows Presentation Foundation Font Cache 3.0.0.0 Services Failed Auto Start Disks Network System Log Application Log Top Stopped Name Windows Media Player Network Sharing Service Windows Remote Management (WS-Management) Remote Desktop Services UserMode Port Redirector CHI-Win7-22 Morning Report The Morning Report Services Failed Auto Start Disks Network System Log Application Log