Sometimes the Dokan driver path is registered as \??\C:\Windows\system32\drivers\dokan.sys which is invalid and prevents the service manager from being able to start it. The driver should be registered with the path %SystemRoot%\system32\drivers\dokan.sys.