Root Nextcloud Desktop Client to another Partition

I use Nextcloud on Windows with the Windows Desktop Client. When I install it on the Laptop, the file-Folder (where the files sync into) is routed on C: (Main Partition). I would like to rout it on D: because of too less storage.
How can I do this?
I can’t find an option to give it a new place.
If I just copy the nextcloudfolder from C: it says there are files open in Nextcloud, so it couldn’t copy.
Thanks for any help!
Kind regards,

You need to stop the client first, and don’t forget to fix the paths in the config file: