How to disable auto-loading for a driver at boot time?

I’m debugging a device driver. It’s not stable now. Every time I need to remove the device and start the system to delete the driver file. Then plugin the device again.
Is there a way to stop auto-loading for a special driver?

Nothing in the os. You can use .kdfiles to load a new version from the host. You can also you have code in the driver that fails DriverEntry conditionally.

d

Bent from my phone


From: xxxxx@lists.osr.com on behalf of xxxxx@gmail.com xxxxx@lists.osr.com
Sent: Wednesday, August 23, 2017 6:41:32 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to disable auto-loading for a driver at boot time?

I’m debugging a device driver. It’s not stable now. Every time I need to remove the device and start the system to delete the driver file. Then plugin the device again.
Is there a way to stop auto-loading for a special driver?


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:>

.kdfiles works. Thanks.