Uninstall command #324
-
Dear Dokan support team, But when uninstalling we run "docanctl.exe /r d" command and even after restart. dokan2.sys is not deleted from drivers. But when uninstalling Dokan library manually from "Apps and Programs" the driver file is deleted. So the question is : Is there a command that will work after the OS restart, or do you have a special command to delete the driver file that we can use in our uninstaller code? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
dokanctl.exe /r d
will just unregister the driver. You will need to remove the driver yourself. For example by usingMoveFileExA
MOVEFILE_DELAY_UNTIL_REBOOT
flag which on reboot will remove the file when it is no longer used.