Uninstall influxdb without data loss

Hello together, is it possible to uninstall InfluxDB from a C disk and install it to a D disk without data loss?

Welcome to the community!
Which version of InfluxDB are you using?
And on which platform? I assume you use the native Windows build?