EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Uninstall CBFS Driver without reboot

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 12/23/2015 12:01:42
by Anand Kandasamy (Basic support level)
Joined: 12/23/2015
Posts: 2

We are calling CallbackFileSystem::UnInstall method to uninstall the driver. It returns rebootNeeded flag set to 2 indicating CBFS_MODULE_DRIVER is asking for reboot. Is reboot mandatory to uninstall the driver? Can we avoid reboot?

We are using version
Posted: 12/23/2015 12:12:04
by Eugene Mayevski (Team)

Could you please clarify for what purpose you are calling Uninstall?

If it's to completely remove the driver, then in general you can ignore this flag -- sooner or later the OS will reboot and remove the driver.

If you are upgrading the software, then it's better not to uninstall the old version at all - just install a new one. The installation code will handle this smoothly.

If you don't know whether the user is uninstalling or will be updating the software, then it's better to insist on reboot, because if you don't do this, reboot is required, the driver is scheduled for removal, then the new version is installed, and upon reboot this new version is removed. That will cause confusion (at least).

Sincerely yours
Eugene Mayevski
Posted: 12/23/2015 12:12:17
by Eugene Mayevski (Team)

I’ve noticed there is no support access ticket linked to your user account on EldoS site. Support is provided to customers with the linked support access tickets. You will find your support access ticket together with all the details about how to use it in the registration e-mail that we’ve sent to you upon the purchase.

If you are evaluating the product and don't have a license yet, please let us know and then you can have support according to Basic support level. Basic support level includes answering basic technical questions that appear during product evaluation period.

Also we offer short-term (3 months) Premium support available for purchase separately from product licenses. Within Premium support we offer extended support services that cover diagnostics of errors that happen with third-party software. Premium support package can be ordered on https://www.eldos.com/support/calc.php.

Sincerely yours
Eugene Mayevski
Posted: 12/23/2015 12:41:10
by Anand Kandasamy (Basic support level)
Joined: 12/23/2015
Posts: 2

Thanks Eugene. We have purchased the product. I will update the support access ticket and get back.

To answer your question we are calling CBFS Uninstall while uninstalling our software. Our software runs on laptops and we want to avoid asking end users to reboot.

Also these users might choose to reinstall later in which case the driver will be installed again. As per your explanation we would have to ask for reboot.

I was wondering if there is any way for OS to remove the driver without the reboot.
Posted: 12/23/2015 14:10:05
by Eugene Mayevski (Team)

anand.kandhasa wrote:
I was wondering if there is any way for OS to remove the driver without the reboot.

The OS requests reboot for a reason, and the reason is that the driver is loaded and used. CBFS driver includes a small filesystem filter driver, and this filter driver is registered in a filter driver stack. When it is, it's not always possible to remove the driver from the stack without rebooting (this is how the OS was designed). And without removing the driver from the stack it's not possible to release the driver file. That's why reboot is sometimes required, so that the driver file is removed after reboot.

Sincerely yours
Eugene Mayevski
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 3698 times

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


Back to top

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

Got it!