How to Unlock Files with Locked or Box Icons in OneDrive
Question details
The user needs to regain access to OneDrive files that are displaying a lock or brown box icon and failing to open.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to open personal files synced via the OneDrive desktop application.
- Observed behavior
- Files show unexpected lock or brown box overlays on their icons and cannot be opened, typically due to Files On-Demand status or Windows Explorer rendering issues.
Ensure you have a stable internet connection and click the OneDrive cloud icon in your system tray to verify that you are signed into the correct Microsoft account without any pending sync errors.
Download Files via 'Always keep on this device'
Use this solution to manually download cloud-only files to your local drive, which resolves access issues related to OneDrive Files On-Demand.
Often, files with lock or box icons are stuck in a cloud-only state. Forcing OneDrive to keep them on your local drive downloads the file data and clears the restricted icon.
Press Windows+E to open File Explorer and navigate to your personal OneDrive folder.
Right-click the specific file or folder displaying the lock or box icon.
Select 'Always keep on this device' from the dropdown menu. Wait for the download to complete.

Restart Windows Explorer
If the file is already downloaded but the icon display remains incorrect, restarting Windows Explorer will refresh the system UI.
Edit Your Synced Documents Seamlessly with WPS Office
Once your OneDrive files are unlocked and downloaded, use WPS Office to open, edit, and save them. WPS Office is a lightweight, highly compatible alternative to Microsoft Office that easily handles your local and cloud documents without heavy subscription fees.
- 1. Install WPS Office: Download and install the free WPS Office suite from the official website.
- 2. Access your files: Launch the application and click 'Open' to browse your computer.
- 3. Select OneDrive documents: Navigate to your OneDrive folder, select the unlocked document, and begin editing immediately.

Frequently Asked Questions
What does the brown box icon mean on my OneDrive files?
The brown box icon usually indicates a visual glitch with Windows Explorer struggling to render the correct OneDrive Files On-Demand status icon. Restarting Windows Explorer typically clears this visual error.
Why do my OneDrive files have a padlock icon?
A padlock icon generally means the file or folder has restricted permissions. It may be shared with specific users only, or your Microsoft account might require you to sign in again to verify your identity and restore your access permissions.
How can I prevent OneDrive files from becoming cloud-only?
You can change your OneDrive settings by clicking the OneDrive icon in your taskbar, selecting the gear icon for Settings, navigating to the 'Sync and back up' or 'Advanced settings' area, and adjusting your Files On-Demand preferences to download all files to your device.




