Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
The New Hardware Found wizard may start and try to install the .NET Runtime Optimization Service when you start a computer that is running the .NET Framework 2.0
Article ID: 918608 - View products that this article applies to.
When you start a computer that is running the Microsoft .NET Framework 2.0, the New Hardware Found wizard may start. This wizard may try to install the .NET Runtime Optimization Service V2.0.Number_Number.
This issue occurs because a race condition may exist when the computer creates legacy device instances for a Win32 service or for a legacy kernel driver. When the computer creates a legacy device instance, the following registry subkey is created:
The device instance key has a legacy registry value. This value identifies a legacy device that should not be installed. Additionally, the value of the legacy registry subkey is set just after the key is created. When the key is created and the value for the key is not set, a re-enumeration of the device tree may be initiated. In this re-enumeration, the value of the key does not yet exist. Therefore, the key is perceived not to reference a legacy device. When this race condition occurs, a Win32 service may be installed as a device instead of a service.
To resolve this issue, examine the device manager to see whether the .NET Runtime Optimization Service V2.0.Number_Number is installed as a device. If the service is installed as a device, you must uninstall the device. Then, run the following command to install the service correctly:
mscorsvw.exe -iTo do this, follow these steps: