Volume filter driver installation

Hi guys,

I understand that PnP mechanism require reboot for installation of such type of the driver but… Does exist any cheat to install volume filter driver without system reboot?

xxxxx@gmail.com wrote:

I understand that PnP mechanism require reboot for installation of such type of the driver but… Does exist any cheat to install volume filter driver without system reboot?

How could that possibly work? You are inserting yourself into the
MIDDLE of an existing device stack – a stack that has already gone
through complete initialization as a team. They have established
relationships, passed pointers, confirmed capabilities, etc. It’s not
like a cocktail party where you can catch up on the conversation later.
You have to be there from the very beginning. If the device cannot be
restarted, then the system has to reboot.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Thanks a lot, Tim. That’s what I wanted to hear.

>exist any cheat to install volume filter driver without system reboot?

Adding a PnP filter to the PnP devnode requires devnode restart.

To restart the boot/system volume, you need to reboot, no other ways.

Any cheats will be killed by the new Hyper-V-based version of PatchGuard in Srv2016. Probably they are already killed in Win10 using the same.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

Thank you for your answer Maxim!
Could you please tell me more detailed about possibility of restart of non system/boot volumes?
Does it require some special operations?

SetupDI calls from user mode.

Note that, if the apps are accessing the volume and have open files on them, then restart will fail, same way as for the boot volume.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Thank you for your answer Maxim!
> Could you please tell me more detailed about possibility of restart of non system/boot volumes?
> Does it require some special operations?
>

Ok. I got it. Thanks a lot, Maxim.

xxxxx@gmail.com wrote:

Thank you for your answer Maxim!
Could you please tell me more detailed about possibility of restart of non system/boot volumes?
Does it require some special operations?

If you are able to Disable and Enable the device in Device Manager, that
will reload the drivers, and you can do that operation with the SetupDi
APIs.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.