Howto: Remove devices from Windows that are not connected to the system anymore
如何移除不再插入Windows设备的信息
启动命令提示符窗口,分别执行以下两条命令
reg add "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment" /v "DEVMGR_SHOW_DETAILS" /d 1 /t REG_SZ /f
reg add "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment" /v "DEVMGR_SHOW_NONPRESENT_DEVICES" /d 1 /t REG_SZ /f