Is it possible to install a new minor version of Dokan without a computer restart? #1314
Answered
by
LTRData
andreas-eriksson
asked this question in
Q&A
-
|
Forcing users to do restart the computer during an upgrade is something that we would like minimize as it makes the upgrade procedure harder. Is there a way to not force a user to restart the computer after an upgrade of dokan? |
Beta Was this translation helpful? Give feedback.
Answered by
LTRData
Oct 17, 2025
Replies: 1 comment 3 replies
-
|
No, unfortunately not. This kind of file system driver cannot be safely unloaded once it has been loaded in the kernel so the only safe way is to reboot. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be technically possible from a kernel perspective, but I am not sure we could handle it with the setup packages that we currently use.
The usual manual trick for replacing drivers with new versions is otherwise to rename the driver file in C:\Windows\system32\drivers, copy the new one there and then when rebooting the new version gets loaded instead. Until reboot, the old version stays loaded and stays operational. Other methods are also available such as using
sc configcommand to disable the driver from automatically loading on next reboot and do the actual upgrade then after reboot when the driver is not loaded.