Use this order so files are kept locally before OneDrive is removed.
- Download the OneDrive files to the laptop first
- Open File Explorer and go to the OneDrive folder.
- If files show a cloud icon, they may exist only online.
- Right-click the OneDrive folder and select Always keep on this device.
- Wait until files show the solid green checkmark. That means they are stored locally.
- If some files are still only in OneDrive and not needed in the OneDrive folder, move or copy them to a folder outside the OneDrive folder, because anything inside the OneDrive folder can sync.
- Turn off folder backup so Windows folders stop uploading
- Select the OneDrive cloud icon in the notification area.
- Open Help and Settings > Settings.
- Go to Sync and backup > Manage backup.
- Turn off backup for folders such as Desktop, Documents, and Pictures.
- Restart the PC after turning those off.
- Unlink OneDrive from the PC
- Select the OneDrive cloud icon > Help and Settings > Settings.
- Open the Account tab.
- Select Unlink this PC > Unlink account.
- This stops synchronization. Unlinking does not delete files from the laptop, and files can still be accessed on OneDrive.com.
- Stop OneDrive completely for the current session
- Right-click the OneDrive icon on the taskbar.
- Select Pause syncing, then Quit OneDrive.
- Remove OneDrive so it does not keep starting
- Open Settings.
- Go to the installed apps list.
- Find Microsoft OneDrive and select Uninstall.
- On Windows 10/11, uninstalling OneDrive does not delete files or data.
- If files still show OneDrive-only behavior
- Those files are likely still inside the OneDrive folder or were not fully downloaded yet.
- Copy them to a normal local folder outside OneDrive, such as another folder under the user profile that is not inside OneDrive.
- If a file or folder was marked Always keep on this device by mistake and needs to be changed, restart OneDrive and then mark it as Free up space only if that is intended.
- If accidental deletion is happening while trying to stop sync
- Let the delete action complete, then use Ctrl+Z to undo or restore the files. That is the safest option described for canceling large deletions.
Important:
- Do not uninstall OneDrive until the needed files show the solid green checkmark or have been copied outside the OneDrive folder.
- Anything kept inside the OneDrive folder is treated as sync content.
- If OneDrive is built into the Windows version and uninstall is not available, it can still be hidden by unlinking the account and quitting OneDrive.
- How to cancel or stop sync in OneDrive | Microsoft Support
- Turn off, disable, or uninstall OneDrive | Microsoft Support
- Turn off, disable, or uninstall OneDrive | Microsoft Support
- Sync files with OneDrive in Windows
- What is Microsoft cloud storage? | Microsoft Support
- How to switch things from getting stored in cloud to laptop's storage - Microsoft Q&A
- Why are files I never uploaded to the cloud appear to be on the cloud? - Microsoft Q&A
- Windows 11 Pro Onedrive - Microsoft Q&A