1
1
I'm looking for a cmd-line solution to stop a Windows driver that I had installed manually.
The installing procedure was the following:
sc create MyDrv type= kernel start= demand binPath= "C:\MyDrv.sys"
net start MyDrv
Querying info on the driver outputs:
C:\>sc query MyDrv
SERVICE_NAME: MyDrv
TYPE : 1 KERNEL_DRIVER
STATE : 4 RUNNING
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
The NOT_STOPPABLE
flag seems like a huge indicator that what I'm trying to accomplish can't be done. However, this driver belongs to a application that manages to stop and remove it when I uninstall the application from my PC. So, is there any way I can kill this bastard? (I don't have the source code of the driver, unfortunately).
If you are wondering, yes I tried:
C:\>net stop MyDrv
The requested pause or stop is not valid for this service.
More help is available by typing NET HELPMSG 2191.