That is the only variable that controls automatic connect to folder at startup. If your D: drive is being connected to despite that, then it is likely your drive is being detected as a device. Run calibre in debug mode and you should see what device it is being detected as in the debug log, then you can disable the device driver for that deive in Preferences->Plugins
|