How to Fix Missing Local Files After Changing OneDrive Accounts
Question details
Users are experiencing missing local files or finding that folders like Documents only contain shortcuts after switching between OneDrive accounts.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Switching from one OneDrive account to another on a local computer.
- Observed behavior
- Local files appear to be missing or replaced by invalid shortcuts because the Files On-Demand feature kept the actual files stored online rather than downloading them locally.
Before proceeding, ensure you have the login credentials for the original OneDrive account and a stable internet connection to download any cloud-only files.
Relink Original Account and Disable Files On-Demand
Log back into your original OneDrive account to force the system to download your cloud-only files directly to your local drive.
If the Files On-Demand feature was enabled on your previous account, your files were stored securely in the cloud to save local disk space. You must relink the account to download them.
Click the OneDrive cloud icon in your system tray, click the gear icon for Settings, navigate to the Account tab, and select 'Unlink this PC'.
Follow the on-screen prompts to sign back in using the credentials of the original OneDrive account that holds your files.
Once logged in, open OneDrive Settings again, go to the 'Sync and back up' section, and open 'Advanced settings'.
Locate the 'Files On-Demand' option and turn it off, or choose 'Download all files'. This will force OneDrive to download the actual files to your computer instead of keeping them as shortcuts.

Download Files Manually via OneDrive Web
If you cannot relink the account in the desktop app, you can download your files directly from the OneDrive website.
Switch Windows User Accounts
Access the correct OneDrive data by switching to the Windows user profile associated with that specific account.
Manage Your Local Documents Easily with WPS Office
Avoid syncing confusion by managing your local documents seamlessly. WPS Office is a lightweight, free alternative to Microsoft Office that offers excellent format compatibility and easy local file saving without forced cloud synchronization.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install the software: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Manage files locally: Open WPS Office to easily create, edit, and save your documents directly to your preferred local hard drive folders.

Frequently Asked Questions
Why do my local files look like shortcuts after switching OneDrive accounts?
If the 'Files On-Demand' feature was enabled on your previous account, the actual files were kept in the cloud to save disk space. Switching accounts removes access to those cloud files, leaving behind invalid local shortcuts.
Can I safely delete the unwanted OneDrive shortcuts?
Yes, you can delete these unwanted shortcuts from your local drive. Because the account is unlinked or the shortcut is broken, deleting them locally will not affect the actual files securely stored in your OneDrive cloud.
How do I prevent files from disappearing when I switch accounts in the future?
Before unlinking or switching an account, open your OneDrive settings and disable 'Files On-Demand', or right-click your important folders and select 'Always keep on this device' to ensure they are fully downloaded to your hard drive.
Are my missing files lost forever?
No, your files are not lost. They are safely stored in the original OneDrive account's cloud storage. You can recover them at any time by logging into OneDrive.com using your original account credentials.




