How to Remove OneDrive Padlock Icons and Restore File Editing
Question details
Users need to remove padlock icons from their synced OneDrive files to restore the ability to edit, delete, and create documents.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to access, modify, or sync local files managed by the desktop OneDrive client.
- Observed behavior
- Files display a padlock icon and are locked in read-only mode, blocking the user from saving any edits or making changes to the directory.
Log in to OneDrive.com via your web browser and test if you can edit your files online. This crucial step determines whether the issue is isolated to your local sync app or tied to your Microsoft account status.
Reset the OneDrive Client and Clear Stale Credentials
Use this method if your files are editable on the OneDrive website but remain locked with padlock icons on your local computer.
When web editing works, the padlock icon is usually caused by a corrupted local cache, sync client glitches, or outdated login credentials on Windows. Resetting the connection typically resolves these local read-only restrictions.
Click the OneDrive cloud icon in your taskbar, click the gear icon for Settings, navigate to the Account tab, and click 'Unlink this PC'.
Open the Windows Start menu, type 'Credential Manager', and press Enter. Click on 'Windows Credentials' and remove any entries related to 'OneDrive' or 'MicrosoftOffice'.
Press the Windows Key + R to open the Run dialog. Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter to reset the application.
Launch OneDrive from the Start menu and sign in with your Microsoft account to re-sync your files and remove the local padlock restrictions.

Check Microsoft Account Subscription and Storage Limits
Follow these steps if your files are locked and read-only on both your local PC and the OneDrive web version.
Edit Your Documents Smoothly with WPS Office
If you are tired of dealing with restrictive OneDrive padlock issues, account lockouts, or expensive subscriptions, switch to WPS Office. It provides a lightweight, free, and highly compatible environment to edit your local and cloud files without unexpected sync interruptions.
- 1. Download the software: Visit the official WPS website and download the free WPS Office installer.
- 2. Install on your PC: Run the installer and complete the quick setup process on your Windows computer.
- 3. Open and edit files: Double-click your locked DOCX or XLSX files and choose to open them locally with WPS Office to bypass cloud viewing restrictions.

Frequently Asked Questions
Why do my OneDrive files have a padlock icon?
The padlock icon indicates that your file is locked in read-only mode. This usually happens due to corrupted Windows login credentials, a glitch in the local OneDrive sync app, an expired Microsoft 365 subscription, or exceeding your cloud storage limit.
Can I remove the padlock by just deleting the file?
If the file is locked due to account permission issues or full storage limits, Windows might block you from deleting it locally. You must first resolve the storage issue, clear your credentials, or attempt to delete the file directly from the OneDrive website.
I purchased more OneDrive storage, so why are my files still read-only?
Storage upgrades can take up to 24 hours to process and reflect across your account. If the padlock remains after a day, open Windows Credential Manager to clear stale login data, then reset your OneDrive desktop app to force it to recognize the new storage quota.




