Anders,
The WIN2K DDK has a sample named SNETCFG (NETCFG). This was a command line
utility which demonstrated how to install a network component.
To quote the NETCFG.HTM file from that sample:
RUNNING THE SAMPLE
Type ?snetcfg -?? at a command-line prompt to view supported options. The
?-v? option enables verbose output along with other options.
Some of the supported options are:
-q: query for presence of a component
-i: install a component
-u: uninstall a component
To install the Passthru driver, type snetcfg -l d:\sample\netsf.inf -c s -i
ms_passthru. To uninstall, type snetcfg -u ms_passthru
As you can see, the sample author also had installing PASSTHRU from a
command line as a goal.
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anders Leo
Sent: Monday, April 03, 2006 7:50 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Install passthru by devcon.exe return
0xE000020B(ERROR_NO_SUCH_DEVINST)
Hi, all:
I want install ndis\passthru sample by app, so I use devcon.exe command:
devcon install netsf.inf ms_passthru
to install the passthru dirver. But it failed to execute
UpdateDriverForPlugAndPlayDevices function and return error code
0xE000020B(ERROR_NO_SUCH_DEVINST). How could I do?
Thanks for your help.
-L.
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer