Niranjan,
The simplest way to remove ‘orphaned’ virtual miniport devices with Device
Manager is to force them to use the MSFT Loopback Adapter driver and then
delete them.
Right click on the orphaned miniport in Device Manager, select “Update
Driver…”.
In the Hardware Update Wizard select “Install from a list or specific
location (Advanced” and press Next.
Select “Don’t search. I will choose the driver to install.” and press Next.
Uncheck “Show compatible hardware”. Select Microsoft in the Manufacture
list-box and select “Microsoft Loopback Adapter” in the driver box.
Finish the wizard. Now you can delete the device.
You can probably do this with a command line using the DDK Utility DevCon.
You may also find it useful to set the environment variable
DEVMGR_SHOW_NONPRESENT_DEVICES=1 before running devmgmt.msc and to select
“Show Hidden Devices” from the “View” menu of DevMgmt.
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Niranjan
Sent: Thursday, September 15, 2005 6:35 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Passthru Drivers - Multiple instances under Device Manager
settings
Hi,
I am working on Passthru intermediate driver on Windows 2000 system.
While I was modifying and testing the Passthru driver code, the windows
system crashes many times. Now, in “Device Manager” windows, there are
multiple entries for Passthru Miniport# under “Network Adapters”
section, for e.g. “Passthru Miniport#1”, “Passthru Miniport#2”, etc. There
are some “unknown device” also under “Network Adapters” section. When I
tried uninstalling these devices, I got the following error “Failed to
uninstall the device. The device may be required to boot up the computer”.
Is there any way I can uninstall these entries from “network adapter”?
Thanks,
-Niranjan
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@msn.com
To unsubscribe send a blank email to xxxxx@lists.osr.com