From: Avi Lousky on 27 Jun 2007 12:48 Hi, I have a kmdf driver for a PCI device. When I use the net stop command I get an error that "The requested pause, continue, or stop is not valid for this service. More help is available by typing NET HELPMSG 2191." How can I overcome it and make net start\stop working on my driver? Thanks.
From: Don Burn on 27 Jun 2007 12:57 You cannot do this. Since the driver is for PCI it is PNP and PNP drivers do not work with net stop\start. -- Don Burn (MVP, Windows DDK) Windows 2k/XP/2k3 Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr Remove StopSpam to reply "Avi Lousky" <AviLousky(a)discussions.microsoft.com> wrote in message news:0F4AB163-2810-4B38-88D9-3F0354938459(a)microsoft.com... > Hi, > I have a kmdf driver for a PCI device. When I use the net stop command I > get > an error that "The requested pause, continue, or stop is not valid for > this > service. > More help is available by typing NET HELPMSG 2191." > How can I overcome it and make net start\stop working on my driver? > Thanks.
From: Avi Lousky on 27 Jun 2007 13:10 Thanks. "Don Burn" wrote: > You cannot do this. Since the driver is for PCI it is PNP and PNP drivers > do not work with net stop\start. > > > -- > Don Burn (MVP, Windows DDK) > Windows 2k/XP/2k3 Filesystem and Driver Consulting > Website: http://www.windrvr.com > Blog: http://msmvps.com/blogs/WinDrvr > Remove StopSpam to reply > > "Avi Lousky" <AviLousky(a)discussions.microsoft.com> wrote in message > news:0F4AB163-2810-4B38-88D9-3F0354938459(a)microsoft.com... > > Hi, > > I have a kmdf driver for a PCI device. When I use the net stop command I > > get > > an error that "The requested pause, continue, or stop is not valid for > > this > > service. > > More help is available by typing NET HELPMSG 2191." > > How can I overcome it and make net start\stop working on my driver? > > Thanks. > > >
From: Maxim S. Shatskih on 27 Jun 2007 13:27 net start/stop does not work for PnP driver. Use SetupDiCallClassInstaller with proper opcode to do this for a PnP devnode. DEVCON source is a sample. -- Maxim Shatskih, Windows DDK MVP StorageCraft Corporation maxim(a)storagecraft.com http://www.storagecraft.com "Avi Lousky" <AviLousky(a)discussions.microsoft.com> wrote in message news:0F4AB163-2810-4B38-88D9-3F0354938459(a)microsoft.com... > Hi, > I have a kmdf driver for a PCI device. When I use the net stop command I get > an error that "The requested pause, continue, or stop is not valid for this > service. > More help is available by typing NET HELPMSG 2191." > How can I overcome it and make net start\stop working on my driver? > Thanks.
|
Pages: 1 Prev: DPInst vs. devcon Next: Install VHidMini.sys as 1st HID Driver Problems |