EldoS | Feel safer!

Software components for data protection, secure storage and transfer

'Access denied' during UninstallDriver api call

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#36890
Posted: 06/06/2016 07:11:57
by Chris Spiteri (Standard support level)
Joined: 10/06/2014
Posts: 57

Hello,

Sometimes when calling UninstallDriver() the api call returns an 'Access denied' exception, even though Detach() is called.

We still cannot reproduce this at will and we are unclear what is causing this yet.

Would you be able to list some conditions that might cause access to be denied when uninstalling, in an attempt to focus our tests and try to reproduce it better?

Thanks and best regards,
Chris
#36891
Posted: 06/06/2016 07:54:07
by Vladimir Cherniga (EldoS Corp.)

DetachFilter is asynchronous procedure, by default. Use DetachFilterEx, to make sure that filter detached and can be uninstalled. Uninstall fails with access denied, when filter is active at that moment.
#36892
Posted: 06/06/2016 08:46:10
by Chris Spiteri (Standard support level)
Joined: 10/06/2014
Posts: 57

Thank you, we'll try that.

Best regards,
Chris

Reply

Statistics

Topic viewed 1324 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!