FIX: Microsoft Teams file is locked error on Windows PCs

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Affiliate Disclosure
  • More and more companies adopt group chat and shared file collaboration solutions to boost their employee productivity
  • Millions of files are shared on Microsoft Teams every day, allowing teams to successfully collaborate
  • However, if you can't edit shared files on Microsoft Teams, this guide will show you how you can quickly fix this issue
  • This article is part of our Microsoft Teams Hub where we bring you the best guides to help you become a MS Teams expert.

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

As you already know, Microsoft Teams allows multiple users to access and edit shared files from their client. However, to protect multiple simultaneous edits, Microsoft Teams may lock the file for other users when it is in use by one of the team members.

However, several users have reported Microsoft Teams error file is locked appears even when no one is using the file. You can read more such complaints in the Microsoft Teams forum.

I’ve been testing files in Teams.  It appears it’s keeping files locked open after they’re closed in Teams.  For example – edit a file in the Teams window, close it, then go try to delete the file 5 minutes later on the SP side, it says it’s locked for editing.  Has anyone else experienced this?

Follow the steps in this article to fix Microsoft Teams error file is locked on  Windows computers.

How to fix Microsoft Teams error file is locked

1. Clear Microsoft Office Cache

  1. A bad cache can create issues with file editing in Microsoft Team client. Try to clear the cache to resolve the error.
  2. Open File Explorer by pressing Windows Key + 2.
    Microsoft teams error file is locked
  3. From the File Explorer, navigate to the following location:
    C:Users[USER NAME]AppDataLocalMicrosoftOffice16.0
  4. Open the OfficeFileCache folder and delete all the files that begin with FSD and FSF inside the folder.
  5. Relaunch Microsoft Teams from Office admin and check if the issue is resolved.

2. Reset Office Upload Center

  1. Type Office Upload in the search bar.
  2. From the search result, click on the Office Upload Center.
  3. In the Upload Center window, click the Settings option.
    Microsoft teams error file is locked
  4. Under the Cache Settings section, click the Delete Cache Files button.
    Microsoft teams error file is locked
  5. After that, check the “Delete files from the Office Document Cache when they are closed” option.
  6. Click OK and close the Office Upload Center.
  7. Now try to launch Microsoft Teams and sign out.
  8. Close and relaunch Microsoft Teams and log in. Try to edit the file with Microsoft Teams error file is Locked.

3. Update Microsoft Teams

  1. If you are running an older version of Microsoft Teams, try to update the client to the latest available version.
  2. Some users have reported that updating to Version 1808 or above has resolved the issues for them.
  3. To check for any available update, launch Microsoft Teams and click your Profile icon.
  4. Click on Check for updates option.
  5. Microsoft Teams will now look for any pending updates and install it.
  6. Reboot the computer and check for any improvement.

4. Make Edits from SharePoint

  1. If the issue persists, as a workaround you can delete or move the concerned file from the SharePoint.
  2. Open the file in SharePoint.
  3. Select it from the list and click on Show Actions > More > Check Out > Check-Out is Done.
  4. Now try to open the file in Microsoft Teams.

The error Sorry we ran into a problem, the file is locked doesn’t seem to have any conclusive solutions. However, you can follow the steps in this article to resolve the error to an extent.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • To lock Microsoft Teams files, log in to SharePoint as an admin, navigate to Documents > Library Settings > Permissions and Management and select Permissions for this document library. You can then edit the user permissions so as to limit the access to the respective files for certain users.

  • To unlock a file in Microsoft Teams, connect to SharePoint and change the user permission settings if you’re the owner of the respective files. If you’re not the owner of the locked files, you need to request the owner to unlock it so that you may access it.

  • To delete a file stored on Microsoft Teams, open the SharePoint library where the respective file is saved, right-click on it and select the Delete option.