I am working on a KMDF Upperfilter Driver for DiskDrive Class.
Is there any way to Start a Device and Stop a Device in runtime?
All I want is that changes gets applied without restarting whole windows for disk changes only!
You already have another thread posing this exact question. Are you hoping to get a different answer by asking again?
The rules are very simple. A filter can only be loaded when a device is started, and a device that is in use cannot be stopped. That's it. If you are applying your filter to a device that is in use, then the ONLY way to apply the filter is to reboot.
If it is a removable device, then you can try to eject it before restarting, but for a fixed disk, there's no way. End of story.