In Win2k, select "show hidden devices" When deleting hardware in "add or delete Hardware" to display previously installed devices. There is no delete option in the XP control panel, but you can use the Device Manager to display it. The following batch is processed (or run in the same cmd window). After you open the Device Manager, select Show Hidden devices, to display the previously installed devices.
Rem Devmgr. bat
Set Devmgr_show_nonpresent_devices = 1
Start Devmgmt . MSC
In addition, directly modify the system environment variables (Control Panel/system/advanced/environment variables) and add a variable named devmgr_show_nonpresent_devices with a value of 1. You can directly open the Device Manager to implement the above functions.
You can also use scripts to modify the use of system variables, see: http://blog.csdn.net/scz123/posts/1018224.aspx