• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Skype for Business is locking Outlook's .OST File

Slipstick Systems

› Problems › Skype for Business is locking Outlook’s .OST File

Last reviewed on December 18, 2017     18 Comments

When you use Skype for Business (or Lync), you can save your conversations in your Outlook data file. To do this, Lync needs to access your .ost file. Under normal conditions, this process works very well and goes unnoticed.

If, when Skype for Business is running, you are receiving errors stating that the folder cannot be open, or you don't have permission to access the file when you try to open appointments or email messages, first check your Skype for Business options, then the compatibility mode settings for both Outlook and Skype for Business.

The set of folders cannot be opened. The file C:\Users\username\local settings\application data\microsoft\outlook\outlook.ost accessed. Close any application that is using this file, and then try again. You might need to restart your computer

You may see this error message when opening the Calendar or Contacts folder:

Cannot display the folder. File access is denied. You do not have the permission required to access the file C:\Users\username\local settings\application data\microsoft\outlook\outlook.ost.

Or this message when attempting to open a message:

Cannot open this item. File access is denied. You do not have the permission required to access the file C:\Users\username\local settings\application data\microsoft\outlook\outlook.ost.

If you exit Skype for Business, the error goes away and you can open the message or calendar without a problem. When you restart Skype for Business, the problem eventually returns. If you wait a bit (maybe 5-10 minutes), the problem may go away on its own.

Solutions

There are three possible causes/solutions for this behavior:

  1. Skype for Business (Lync) is connected to Outlook and accessing the .ost file.
  2. The Lync or Skype shortcut or application is configured to run in Compatibility mode.
  3. You may receive this error if you have Lync or Skype set to run as administrator.

 

Skype is accessing the OST file

Skype for Business accesses your mailbox to sync meetings and contacts, and to save your conversation history. This is often responsible for the 'folders cannot be opened' error message.

The set of folders cannot be opened. The file C:\Users\username\local settings\application data\microsoft\outlook\outlook.ost accessed. Close any application that is using this file, and then try again. You might need to restart your computer

To fix, try unticking the option to save conversations and conversation logs in the Conversation folder in Outlook. Unticking the other options under Exchange and Outlook integration may help as well, but the Conversation options are usually the ones responsible for the file access denied error.

skype options

 

Change Compatibility Settings

There is no reason to use compatibility mode with any Office application, including in older unsupported Office applications.

Check Compatibility Mode Settings

  1. To disable Compatibility mode or confirm its not enabled, right click on the Lync or Skype shortcut, then select Properties.
  2. Click the Compatibility tab in the Properties dialog and uncheck the Compatibility mode box that says "Run this program in Compatibility Mode".
    Lync compatiblity mode options

 

Run as Administrator

In most cases, it won't matter if you use the run as administrator option, but it also should not be enabled permanently (for most users). We recommend disabling run as administrator (if enabled).

We have a video tutorial at How to Disable Compatibility Mode in Outlook. While this shows how to disable it in Outlook, the process is similar for other applications.

Skype for Business is locking Outlook's .OST File was last modified: December 18th, 2017 by Diane Poremsky

Related Posts:

  • Say No! to Compatibility Mode
  • Cannot start Microsoft Office Outlook Error Message
  • Customize a Skype for Business Invitation
  • iCloud error: Outlook isn't configured to have a default profile

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
18 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Adoniram
February 24, 2016 11:08 am

Set the outlook file to run as admin this seemed to fix the problem on our end

1
0
Reply
Maher
September 8, 2015 10:29 am

Also Verify that the version of Lync is from the same office version (package) you're running for outlook, otherwise this conflict might appear too.

- if you turn off caching mode for outlook it will run slower when on Office 365
- if you turn off use outlook file in lync no more data will be in sync in either direction. keep that in mind.

1
0
Reply
Mike Kelly
Reply to  Maher
January 20, 2016 10:34 am

I checked the Run key in the registry under HKCU/Software/Microsoft/Windows/CurrentVersion/Run and found that it was still pointing to the Office 15 (2013) version of Lync after I had installed Office 16 (2016). Changed the path to C:\Program Files\Microsoft Office\root\Office16\lync.exe in this registry value.

0
0
Reply
Tiripseht 0x59
August 19, 2015 7:16 pm

OK Thanks Diane, also I found turning off cached exchange mode on outlook stops the .ost file in use errors as well if anyone needs it still fix this.

0
0
Reply
Diane Poremsky
Author
Reply to  Tiripseht 0x59
August 20, 2015 8:26 am

Yeah, that will do it too, although it came make Outlook seem like a slug. It's generally better to stop skype from using it.

0
0
Reply
Jason Leng aka Tiripseht
August 18, 2015 11:08 pm

Try this ... go into Lync, open 'Tools' then 'Options' then 'Personal' then set "Personal information Manager" to 'None' this should stop issues with opening lync and outlook and possible .ost issues.

I am looking for a way to change the Lync data file to use a separate ost file but haven't found a solution yet if anyone has one let me know. Thanks. In mean time will keep looking and play with the registry to see if I can find where to change the path in there.

1
0
Reply
Diane Poremsky
Author
Reply to  Jason Leng aka Tiripseht
August 18, 2015 11:28 pm

You can't change it to use a different data file.

0
0
Reply
Doug
June 26, 2015 3:13 pm

The problem we have is that users will sporadically stop receiving e-mail in Outlook. We traced this to the UcMapi.exe process locking the OST. This is still happening in our environment but not sure if it's only affecting Outlook 2010 users or 2010 and 2013 (we have a mixed install-base).

1
0
Reply
Hudson Ford
May 27, 2015 9:39 am

Don't show my photos to public or friends

0
0
Reply
Diane Poremsky
Author
Reply to  Hudson Ford
May 28, 2015 8:38 am

Lync isn't showing your contact photos? Which version of Lync are you using?

1
0
Reply
Grey Randall
April 16, 2015 9:44 am

Ok... I am not running in compatibility mode, run as administrator is not checked. However, When I reboot my computer and log in, Lync Starts, then Outlook tries to start. The only way I can get this to work is to quit Lync from the task manager, start outlook, then restart Lync. Otherwise I keep getting messages that my ost file is locked.

0
-1
Reply
Diane Poremsky
Author
Reply to  Grey Randall
April 16, 2015 12:53 pm

There are options in Lync that access outlook data - they turning them off. Depending on your version of Lync, you might have options to update presence based on Free/Busy, store IM conversation history and call logs in outlook, sync Lync and exchange contacts. Those options all need to access the ost.

1
-1
Reply
John Q
November 19, 2014 1:45 pm

You don't need to run in compatibility mode to minimize it to the system tray. That option is set in Lync 2010 under the Tools > Options > General:
"Minimize to the notification area instead of the task bar"

As for Outlook 2010, I'm not sure what it is, but the annoying process UcMapi.exe from lync is constantly hosing up Outook profiles and corrupting the ost files.
It's the most annoying thing in the world for a business.

1
-1
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 33

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Jetpack plugin with Stats module needs to be enabled.
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment