EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reboot after installation

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#22966
Posted: 12/27/2012 08:38:32
by Vishnu Venkatesh (Basic support level)
Joined: 12/27/2012
Posts: 19

I am not entirely clear about rebooting after calls to InstallDriver() / UninstallDriver(). This is for Win7 64 bit.

Very first time call InstallDriver() - "service is running".
call UninstallDriver() - driver is uninstalled, but reboot flag is NOT set by API
Call InstallDriver() again - "service is stopped", reboot flag is set. Why? Only way to get a successful running service is to reboot the PC.

I am not clear (a) why UninstallDriver() did not set the reboot flag. and (b) why the reboot flag is set by the API at all. Can't the driver be loaded/unloaded without rebooting? What's the windows science behind this?

Thanks!

PS - I am a newbie, please bear with dumb questions.
#22968
Posted: 12/27/2012 08:52:59
by Eugene Mayevski (EldoS Corp.)

You must NOT call Uninstall when upgrading the driver (this is mentioned in the help file and I believe also here in the forum). Consequently the whole experiment is not correct.


Sincerely yours
Eugene Mayevski
#22969
Posted: 12/27/2012 09:00:34
by Vladimir Cherniga (EldoS Corp.)

Unload is not supported by generic filter drivers. It possible only with a debug version of driver for test purposes only. It does mean that driver will be unloaded on system shutdown.
#22970
Posted: 12/27/2012 09:02:19
by Vishnu Venkatesh (Basic support level)
Joined: 12/27/2012
Posts: 19

Quote
when upgrading the driver


Eugene - I am not upgrading the driver. I am simply running the gui in the EncryptSoln which has Install Driver / Uninstall Driver buttons.
#22971
Posted: 12/27/2012 09:06:34
by Vishnu Venkatesh (Basic support level)
Joined: 12/27/2012
Posts: 19

Quote

Unload is not supported by generic filter drivers


Vladimir - what you do mean by GENERIC filter driver?
#22972
Posted: 12/27/2012 09:18:34
by Vladimir Cherniga (EldoS Corp.)

I meant that this is not a minifilter driver but legacy file system filter driver with a generic rules of handling irp packets.
#22973
Posted: 12/27/2012 09:23:30
by Vishnu Venkatesh (Basic support level)
Joined: 12/27/2012
Posts: 19

Vladimir - I see, so the CallbackFilter is a legacy driver. What you are saying is that minifilter drivers don't need reboot, right?

Can the CallbackFilter be converted to a minifilter driver? Is that a big deal for you guys? The reboot issue (especially if the driver crashes during use) is a bit awkward.
#22974
Posted: 12/27/2012 09:37:36
by Vladimir Cherniga (EldoS Corp.)

We are planing to port CallbackFilter to the filter manager model in the future. But the release of this version may be delayed.
#22975
Posted: 12/27/2012 09:40:22
by Vladimir Cherniga (EldoS Corp.)

Quote
The reboot issue (especially if the driver crashes during use) is a bit awkward.

If you have any issue with a driver, please create dedicated thread in helpdesk system. The detail of crashing with a provided kernel dump will be very appreciated.
#22976
Posted: 12/27/2012 09:42:08
by Eugene Mayevski (EldoS Corp.)

Quote
Vladimir Cherniga wrote:
We are planing to port CallbackFilter to the filter manager model in the future.


Minifilter version would lack many features of the existing driver, so as long as legacy drivers are supported by the OS, there will be no minifilter version.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 4293 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!