If the storagenode is running on the same Windows installation, then you shouldn’t need to reinstall, just update the config.yaml file once the final robocopy has finished running.
After the above ‘robocopy’ command has finished executing for the first time, you should run it several more times until the difference will be negligible. Then you can stop the storagenode service on the PC by running in the elevated ‘cmd’ :
net stop storagenode
Then run the ‘robocopy’ command for copying the data one last time.
Edit the config.yaml file to update:
storage.path
and if necessary
identity.cert-path
identity.key-path
When the config.yaml file is updated and saved, start the storagenode service again from an elevated ‘cmd’:
net start storagenode
Final step is to check the service is running and make sure no errors in the log file.