A Microsoft file hosting and synchronization service.
You have two options here -
If you still want your files to be backed up to OneDrive, you can turn OnDemand OFF.
Basically selet all folders in OneDrive folder, right click and choose "always keep on this device".
This will turn all files actual local copies, but also sync to OneDrive. You can still access them while offline, and the changes will sync when connected back to internet.
Otherwise, another option is to turn off OneDrive's auto sync of your user shell folders altogether.
- Right click on the OneDrive cloud icon on the lower right on your taskbar to go to Settings.
- On the "Sync and Backup" tab, click on "Advanced Settings" to expand that section. Then under File On-Demand, click on "Download all files".
- Give it plenty of time to allow the files to be downloaded from the online cloud. On your computer's file explorer, you can observe the OneDrive folder and its folders/files inside. You want all of the green checkmark icon to turn solid green with a white checkmark. Depends on how many files you have, this process can take a while, so please be patient.
- Once all of the folders and files turn into the solid green icon with white checkmark, you can go back to OneDrive Settings. Very important - click on "Manage Backup" button, then turn off all folders listed there.
Restart the computer. Now your files are locally saved ONLY. If you have any files you want to back up to OneDrive, you manually move them from say Document folder (as an example) to any folder inside OneDrive folder so it can sync to OneDrive.