To use this hotfix, create a new DWORD value, and then set the Data value to "1" for the following registry key:
HKEY_Local_Machine\System\CurrentControlSet\Control\PnP\ReturnVetoDriverName
To do this, follow these steps.
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Click Start, click Run, type regedit, and then click OK.
- Locate and click the following registry key:
HKEY_Local_Machine\System\CurrentControlSet\Control\PnP\ReturnVetoDriverName
- On the Edit menu, point to New, and then click DWORD Value.
- In the right pane, double-click the new value.
- In the Value data box, type 1, and then click OK.
After you install this hotfix, the error message in the Setupapi.log file is expanded to include the following information, where
Bus is the type of bus,
Device is the unique identification number of the device,
Instance is the unique instance identification number, and
Driver Name is the name of the driver that vetoed the removal of the device,
Bus\
Device\
Instance\Driver\
Driver Name:
IDE\DISKIC35L040AVVA07-0________________________VA2OA50K\5&269BD72D&0&0.0.0 was vetoed by IDE\DiskIC35L040AVVA07-0________________________VA2OA50K\5&269bd72d&0&0.0.0\Driver\Disk
Note The error message does not always follow the Driver\
Driver Name naming format. For example, when the NTFS file system vetoes the removal of the device, the error message says "FileSystem\Ntfs, instead of "Driver\
Driver Name."
After you apply this hotfix and add the new registry value, certain PnP Configuration Manager Functions may behave differently. For example, if a device ejection request fails, the dialog box that is displayed by the CM_Request_Device_Eject_Ex function will not contain the friendly name of the device. Instead, the dialog box will contain the PnP ID with the driver name appended (such as IDE\DiskIC35L040AVVA07-0________________________VA2OA50K\5&269bd72d&0&0.0.0\Driver\Disk). If this behavior is not what you want, you can delete the registry key, and the behavior of the system will return to the default behavior (the way it behaved before the hotfix).
For more information about the CM_Request_Device_Eject_Ex function, visit the following Microsoft Web site:
The Setupapi.log file is located at the following location:
%windir%\setupapi.log
For more information about the Setupapi.log file, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms791358.aspx