Change drive letter of a USB local repository

I have a 1.6TB repository on a local USB drive and it’s perfectly working. I just need to change the repository drive letter. Is it possible/correct to just change it in the config file or is required another process?