logo
search
OneDrive File Issues

Fix OneDrive Padlock Icon: Cannot Open Files in File Explorer

Tauseeq MagsiTauseeq Magsi Oct 10, 2026 870 views

Question details

Users are unable to open Office documents and PDFs locally in Windows File Explorer because the files display a padlock icon.

How to Fix OneDrive Files Showing Padlock Icons and Not Opening in File Explorer
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Attempting to open synchronized local files from the OneDrive folder using Windows File Explorer.
Observed behavior
Files display a padlock icon and refuse to open locally, though they remain accessible and unaffected when viewed via the OneDrive web interface.
Before you start

Log into OneDrive.com through your web browser to confirm that your files are intact and can be opened online before troubleshooting your local client.

Solution 1Recommended

Reset the OneDrive Sync Client

Resetting the Windows OneDrive client forces a complete refresh of your sync connections and often removes erroneous padlock icons.

This process resolves underlying sync engine freezes. Resetting OneDrive disconnects your current synchronization setup and re-syncs your files, but it will not delete any local or cloud data.

1
Open the Run Command

Press the Windows key + R simultaneously on your keyboard to open the Run dialog box.

2
Execute the Reset Command

Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset into the text field and press Enter or click OK.

3
Restart OneDrive

Wait for the OneDrive cloud icon to disappear and reappear in your system tray. If it does not reappear after a few minutes, manually search for 'OneDrive' in the Windows Start menu and open it.

Reset the OneDrive Sync Client
Syncing Time: After resetting, it may take some time for OneDrive to process changes and complete the re-sync, depending on the number of files in your account.
Open Cloud Files Directly

Access OneDrive Files Directly with WPS Office

Bypass Windows File Explorer sync issues entirely by connecting your OneDrive account directly within WPS Office to open, edit, and save your documents.

  1. 1. Install WPS Office: Download and install the free WPS Office application on your Windows PC.
  2. 2. Open the Application: Launch WPS Office and navigate to the 'Open' tab on the left-hand navigation panel.
  3. 3. Connect OneDrive: Select 'OneDrive' from the list of cloud storage options and sign in securely with your Microsoft credentials.
  4. 4. Access Locked Files: Browse your OneDrive folders directly within the WPS interface and click on any document to open it without relying on local Windows File Explorer syncing.
Connect directly to OneDrive, bypassing Windows File Explorer sync locks entirely.Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight, all-in-one office suite that uses minimal system resources.Free to use for viewing, creating, and editing everyday documents.
microsoft office alternative - wps office

Frequently Asked Questions

What does the padlock icon on a Windows file mean?

A padlock icon typically indicates that the file or folder has restricted permissions, is encrypted with the Windows Encrypting File System (EFS), or has been locked by a cloud sync client like OneDrive due to a sync or authentication error.

Will running the OneDrive reset command delete my files?

No, resetting the OneDrive client using the run command (%localappdata%\Microsoft\OneDrive\onedrive.exe /reset) will not delete any of your local or cloud files. It simply restarts the background sync processes and reconnects your PC to the cloud server.

Why can I open the locked files on OneDrive.com but not on my PC?

This situation occurs when the local OneDrive client on your Windows PC encounters a synchronization or file permission error, restricting your local access. Because the issue is isolated to your local machine's operating system, the cloud version hosted on OneDrive.com remains unaffected and accessible.

How do I manually fix file permissions to remove the padlock?

Right-click the locked file in File Explorer and select 'Properties'. Go to the 'Security' tab and ensure your current Windows user account has 'Full Control' checked under permissions. If it does not, click 'Edit' to change permissions, or click 'Advanced' to take ownership of the file.