Quit OneDrive now, recover and pin every required file locally, then stop folder backup with Keep files only on my PC and use Windows File History for a genuine offline backup.
1. Stop further synchronization temporarily
Because disabling backup has not stopped the current activity:
- Right-click the OneDrive cloud icon in the taskbar.
- Select Pause syncing → Quit OneDrive.
Do not move or delete more files while OneDrive is actively synchronizing. Quitting stops the current synchronization; pausing alone resumes automatically later. ^1^
2. Recover missing files before changing folder locations
With OneDrive stopped, inspect these locations:
-
C:\Users\<your-name>\OneDrive\Documents
-
C:\Users\<your-name>\OneDrive\Desktop
-
C:\Users\<your-name>\Documents
-
C:\Users\<your-name>\Desktop
- Windows Recycle Bin
Also sign in to the OneDrive website and check:
- My files → Desktop and Documents
- Recycle bin
Restore deleted items before doing the folder repair. Cloud-only deleted files might appear only in OneDrive’s web recycle bin, not the Windows Recycle Bin. Microsoft 365 subscribers can also roll back the entire OneDrive to a point within the previous 30 days if many files were deleted or changed together. ^2^ ^3^
3. Ensure everything needed in the shield room is physically downloaded
Restart OneDrive temporarily from the Start menu. In File Explorer:
- Open the OneDrive folder.
- Right-click each required folder—especially ESP32 libraries, project folders, notebooks, Documents, and Desktop.
- Select Always keep on this device.
- Wait until the files show the solid green circle with a white check mark.
- Test representative files after disconnecting the PC from the network.
A blue cloud means the item is online-only and cannot be opened without Internet access. “Always keep on this device” downloads the item and keeps it available offline. ^4^
Do not proceed while any required folder still contains blue-cloud items.
4. Stop OneDrive redirecting the standard folders
Once all required files are local:
- Select the OneDrive cloud icon → Settings.
- Open Sync and backup → Manage backup.
- Turn off Desktop, Documents, Pictures, or any other redirected folder.
- When prompted, choose Keep the files only on my PC—not Keep the files only in OneDrive.
Microsoft documents that the second choice removes the local copies, while only on my PC removes them from OneDrive. If cloud-only files remain, OneDrive will require them to be downloaded first. ^5^
Check the Windows folder paths afterward:
- In File Explorer, right-click Documents → Properties → Location.
- If it points inside OneDrive, select Restore Default.
- The expected path is
C:\Users\<your-name>\Documents.
- Repeat for Desktop and Pictures.
- If Windows offers to move files automatically, use a separate verified copy first; a case-matched recovery procedure recommends declining that prompt and manually moving the downloaded files from OneDrive into the repaired local folders. ^6^
Restoring the original paths may repair software links that referenced the standard Documents location. Links containing the explicit old OneDrive path will still need to be updated. For OneNote notebooks not reopened automatically, use OneNote → File → Open. ^5^
You should not need to reinstall applications merely to avoid the default directories.
5. Replace synchronization with an offline backup
For your RF shield-room requirement, configure File History to an external drive or network location:
- Connect an external backup drive.
- Open Control Panel → System and Security.
- Select Save backup copies of your files with File History.
- Choose Select drive, select the external drive, and click OK.
- Select Turn on.
- For ESP32 projects or libraries outside standard folders, right-click the folder → Show more options → Include in library.
File History saves versioned copies without relocating the working files and does not require Internet access when using an external drive. ^7^
After verifying the external backup, either leave OneDrive quit or go to OneDrive Settings → Account → Unlink this PC. Unlink only after confirming that every required file exists locally and in the independent backup. ^1^
References
- How to cancel or stop sync in OneDrive | Microsoft Support
- [PC or Mac](https://support.microsoft.com/onedrive/restore-your-onedrive-files)
- Restore your OneDrive | Microsoft Support
- Save disk space with OneDrive Files On-Demand for Windows | Microsoft Support
- Back up your folders with OneDrive | Microsoft Support
- How To Download Online Onedrive Files Onto My PC - Microsoft Q&A
- Backup and restore with File History | Microsoft Support