Are you sure you are running the tool from an elevated command prompt? The
error string you are seeing is telling you how many devices it successfully
disabled, not how many it found, as it would seem (perhaps not ideal).
-Mike
"Spiggy Topes" <> wrote in message
news:daf4d9f2-3ace-4bf2-a8db-...
> I'm running Win 7 64-bit on an AMD processor. Most times, when I boot,
> my network adapter fails to initialize properly. I've found if I
> disable and enable it through the device manager, it will work fine
> from then on.
>
> To automate this, I picked up the WDK and DevCon.exe, and thought I'd
> set up a batch file to prep the adapter after boot.
>
> I can determine status as follows:
>
> C:\WinDDK\7600.16385.1\Tools\devcon\amd64>devcon status =net
> *81411043*
> PCI\VEN_10DE&DEV_0057&SUBSYS_81411043&REV_A3\3&241 1E6FE&1&50
> Name: NVIDIA nForce Networking Controller
> Driver is running.
> 1 matching device(s) found.
>
> But if I replace status with disable - or restart - I get:
>
> C:\WinDDK\7600.16385.1\Tools\devcon\amd64>devcon disable =net
> *81411043*
> PCI\VEN_10DE&DEV_0057&SUBSYS_81411043&REV_A3\3&241 1E6FE&1&50: Disable
> failed
> No matching devices found.
>
> What am I doing wrong?
>
> Thanks.
>
|