A Microsoft file hosting and synchronization service.
The context only covers what OneDrive can and cannot sync, how to choose folders to sync, how to redirect Windows folders into OneDrive, and how to reset/unlink/relink OneDrive. It does not contain registry-level repair steps or a supported procedure for reconciling a partially restored, partially mis-mapped profile like the one described, so only high‑level, supported actions can be outlined.
From the available information, the supported path is:
- Make sure all important data is backed up outside OneDrive
- Copy the current contents of the local OneDrive folder (including the photo folders now under Documents) to a separate, non‑synced location (for example, another disk or a temporary folder that is not under the OneDrive path). This avoids further loss when changing sync settings.
- Ensure the correct folders are selected for sync
- Open OneDrive Settings (right‑click the OneDrive cloud icon in the notification area → Settings).
- Use Choose folders to control which cloud folders sync locally. Only select the folders that should be present on this computer. If a folder is not selected, it will not sync to the PC and will not be available for local redirection or backup.
- If a protected folder (Desktop, Documents, Pictures) shows an error that it “isn’t selected for syncing,” enable it in Choose folders so that OneDrive can protect it correctly. This is required for the PC folder backup feature to work as expected.
- Use supported folder redirection instead of manual registry edits
- OneDrive does not support syncing arbitrary local paths directly; only the OneDrive folder is synced. Other folders (such as Desktop, Documents, Pictures) can be redirected into the OneDrive folder instead of editing the registry manually.
- To redirect a folder into OneDrive on Windows 7/earlier, the documented process is:
- Exit OneDrive.
- Create a subfolder in the OneDrive folder (for example,
Pictures). - Right‑click the local folder to redirect (for example,
My Pictures) → Properties → Location tab → Move. - Choose the new location under the OneDrive path (for example,
%userprofile%\OneDrive\Pictures). - Approve moving existing files.
- Restart OneDrive so it syncs the new location.
- The same concept applies on newer Windows versions: use the folder’s Location tab or the OneDrive “PC folder backup” feature rather than editing
User Shell Foldersdirectly. This keeps OneDrive and Windows in agreement about where Documents and Pictures live.
- Unlink and re‑link OneDrive when the sync state is confused
- If OneDrive is stuck in “Processing changes” or the mapping between cloud and local folders is inconsistent, the supported reset is to unlink and re‑link the account:
- Use the OneDrive menu to Unlink this PC.
- Optionally clear cached credentials (on Mac this is done via Keychain; on Windows the equivalent would be Credential Manager, but the context only documents the Mac path).
- Start OneDrive again and sign in.
- When prompted that a OneDrive folder already exists, choose to use that folder or choose a new folder, depending on where the backed‑up data is.
- After re‑linking, use Choose folders to limit what syncs to each device.
- If OneDrive is stuck in “Processing changes” or the mapping between cloud and local folders is inconsistent, the supported reset is to unlink and re‑link the account:
- Handle “Processing changes” or stuck sync after cleanup
- If, after re‑linking, OneDrive shows “Processing changes” for a long time, the documented remedies are:
- Confirm the account is signed in.
- Allow time for a full re‑sync, especially after many changes.
- Check for unknown/hidden files blocking sync via the OneDrive status list.
- If the state does not clear, follow the documented “Unlink and re‑link OneDrive” procedure again to reset the sync relationship.
- If, after re‑linking, OneDrive shows “Processing changes” for a long time, the documented remedies are:
- Understand current limitations
- OneDrive cannot selectively sync arbitrary subfolders from local special folders (like only some subfolders of Documents) to the cloud; it syncs what is under the OneDrive folder and, optionally, the entire Desktop/Documents/Pictures via PC folder backup. Selecting individual cloud folders to sync down to a PC is supported, but choosing which local folders automatically sync up is not.
- Using symlinks or manual registry edits to force other local folders into OneDrive is not covered by the provided documentation and is outside supported guidance.
Given the complexity of the described registry state and the partial manual recovery already performed, the safest supported approach from the context is:
- Back up all remaining data outside OneDrive.
- Use OneDrive’s own Choose folders and folder redirection/PC folder backup features to re‑establish where Documents and Pictures should live.
- Unlink and re‑link OneDrive to reset the sync relationship once the folder layout is corrected using supported tools.
References: