Loading the driver in Safe Mode

Hello folks,

I have a WDM driver for a special device class. ALl works well for normal
boot and Driver is loaded, but I need to get this Driver to load for Safe
mode boot as well.

I have added these keys so far…

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal{CLASS
GUID}]

@=“DriverBinName”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\DriverBinName.sys]

@=“Driver”

However, it doesn’t seem to load the Driver in Vista. I see DriverEntry
returning success but Adddevice not called at all.

Do I need to do somethig else?

  • amitr0