To access one drive files on PC without internet.
To prevent OneDrive from deleting files from your computer, follow these steps:
1) Open OneDrive settings: Click on the OneDrive icon in your system tray, then click on the gear icon in the upper-right corner and select "Settings."
2) Choose the "Backup" tab: In the OneDrive settings window, select the "Backup" tab.
3) Select the folders to back up: Click the "Manage backup" button to choose which folders you want to back up to OneDrive. Make sure to select the folders that contain the files you want to keep on your computer.
4) Disable "Files On-Demand": Under the "Files On-Demand" section of the Backup tab, uncheck the box that says "Save space and download files as you use them." This will ensure that all files are downloaded and kept on your computer, even if you're not actively using them.
5) Turn off "Auto Save": In the OneDrive settings window, go to the "Auto Save" tab and make sure that the "Automatically save photos and videos to OneDrive whenever I connect a camera, phone, or other device to my PC" option is turned off. This will prevent OneDrive from automatically deleting files from your device when it detects that they've been uploaded to the cloud.
6) Be careful when deleting files: When deleting files from OneDrive, make sure to only delete them from the OneDrive folder on your computer, not from the cloud. If you delete a file from the cloud, it will be deleted from all devices that are syncing with that OneDrive account.
Please follow these steps, you should be able to prevent OneDrive from deleting files from your computer while still backing them up to the cloud.