Hi @NkCX ,
When you rename a folder in SharePoint that is synced with OneDrive, the synced folder in your local machine should also be renamed automatically. However, in some cases, the old folder name may still appear in your local machine. To resolve this issue, you can try the following steps:
- Stop syncing the folder by right-clicking on the folder and selecting "Stop Sync".
- Go to your OneDrive site and select the newly renamed folder to start syncing it.
- If the old folder name still appears in your local machine, you can try unlinking OneDrive and then relinking it. Before you do this, make sure that OneDrive isn't syncing files. If OneDrive is syncing files, wait for the process to finish or pause the sync. To unlink OneDrive in Windows, select the OneDrive icon in the taskbar notification area, select Help & Settings, then select Settings. On the Account tab, select Unlink this PC > Unlink account. To unlink OneDrive in macOS, select the OneDrive icon in the menu bar, select More > Preferences, then on the Account tab, select Unlink this Mac > Unlink account.
- If the issue still persists, you may consider removing the OneDrive folder through the registry before re-linking the account. Before you modify the registry, back up the registry for restoration in case problems occur. Start Registry Editor, locate the HKEY_CURRENT_USER\Software\Microsoft\OneDrive registry key, right-click OneDrive, and then select Delete. When the Set up OneDrive window opens, close it instead of selecting Sign in. Go to your OneDrive site, and select Sync.
For your reference:
- Troubleshooting OneDrive for Business sync issues - Update OneDrive for Business to the current release
- OneDrive local folder name isn't updated after changing the organization name - Resolution
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.