How to Access Encrypted OneDrive Files After Reinstalling Windows
Question details
The user needs to recover access to OneDrive files that appear encrypted or unavailable after reinstalling Windows on a new hard drive.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Accessing previously synced OneDrive files on a fresh Windows installation or a replacement hard drive.
- Observed behavior
- Files synced from OneDrive display as encrypted, show sync error icons, or remain completely inaccessible despite being available on other devices.
Ensure you have a stable internet connection and know the exact Microsoft account credentials that were used to sync the files on your previous Windows installation.
Verify Microsoft Account and Complete OneDrive Sync
Ensuring you are logged into the correct Microsoft account is the most common fix for unlocking cloud files on a new Windows installation.
Often, files appear unavailable simply because OneDrive has not finished authenticating or synchronizing the file metadata to your new device.
Open the OneDrive desktop app from your Windows Start menu or system tray.
Log in using the exact Microsoft account associated with your previous device and Microsoft 365 subscription.
Wait for OneDrive to process changes. Verify that the cloud icon in your taskbar shows it is online and fully updated.

Disable Files On-Demand and Download Locally
Sometimes files appear corrupted or unavailable because they are only placeholders and haven't fully downloaded to the new hard drive.
Address Windows EFS (Encrypting File System) Locks
If files were encrypted using Windows EFS on the old hard drive, you must import the original encryption certificate to access them.
Switch to WPS Office for Reliable File Management
If Microsoft Office and OneDrive encryption are causing permanent file lockouts, consider switching to WPS Office. It offers a lightweight, highly compatible alternative to Microsoft Office, featuring its own seamless cloud backup solution that prevents device-specific encryption headaches after reinstalling an OS.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for Windows.
- 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your new system.
- 3. Log In and Sync: Create or log in to your WPS account to enjoy secure, hassle-free document syncing across all your devices.

Frequently Asked Questions
Why do my OneDrive files have small brown boxes on their icons?
Small brown boxes on file icons usually indicate a OneDrive synchronization problem. This happens if you are not currently signed into the app, are working offline, or if the file failed to download to your new Windows installation.
Can I access EFS encrypted files without the original Windows profile?
Generally, no. If your files were encrypted using the Windows Encrypting File System (EFS) on your old hard drive, you must have a backup of the original encryption certificate (.pfx file) to read them on a newly installed Windows system.
Why won't my Microsoft 365 files open from OneDrive after a reinstall?
You may need to verify that Microsoft 365 is successfully installed, activated, and signed in under the exact same Microsoft account used previously. Additionally, ensure you are using the desktop Office application rather than the web version to open locally synced files.




