OneDrive / Outlook PST Sync and Access Failures on Windows 11 24H2
Windows 11 24H2 introduces a file-locking conflict that prevents OneDrive from syncing Outlook PST files stored in synced folders, causing Outlook to fail opening or accessing these data files. Microsoft has acknowledged this as a known issue with an out-of-band fix available. The interim workaround is to relocate PST files to a non-OneDrive-synced local path. Long-term, PST files should never be stored in OneDrive-synced locations due to inherent file-locking incompatibilities.
Indicators
- Outlook is unable to open or access a PST file stored in a OneDrive-synced folder
- OneDrive fails to sync folders containing Outlook PST files with 'Upload blocked' errors
- Outlook reports the PST file is in use or inaccessible when the file resides under a OneDrive-managed path
- Data loss or corruption risk warnings when Outlook attempts to write to a PST located in OneDrive sync scope
- OneDrive system tray shows file-lock errors referencing the PST file name
Likely causes
- Windows 11 24H2 introduces a behavioural or file-locking change that conflicts with OneDrive's sync engine when it attempts to sync large, exclusively-locked PST files
- PST files are held open with exclusive write locks by Outlook, which prevents OneDrive from reading or uploading them, causing sync failures and potential access errors
- OneDrive on-demand or sync state transitions interfere with Outlook's ability to keep the PST file handle valid, resulting in access failures
Diagnostic steps
-
Confirm the affected machine is running Windows 11 24H2 by running 'winver' or checking Settings > System > About.Verifies the device is on the affected OS version before proceeding with the workaround.
-
Locate all Outlook PST files: Open Outlook > File > Account Settings > Account Settings > Data Files tab to list PST paths. Alternatively, search the user profile: dir "%UserProfile%" /s /b *.pstIdentifies whether any PST files are stored within a OneDrive-synced path (paths containing '\OneDrive\').
-
Check OneDrive sync status: Right-click the OneDrive icon in the system tray and review sync errors or paused sync notifications. Look for 'Upload blocked' or file-lock errors referencing the PST file name.Confirms that OneDrive is actively failing to sync the PST file and surfaces any related error messages.
-
Verify whether Microsoft's OOB fix has been applied: Settings > Windows Update > Update History. Look for relevant cumulative or out-of-band updates targeting Windows 11 24H2.Determines whether the permanent fix is already in place, making the PST-move workaround unnecessary.
-
If the OOB fix is not applied and PST files are confirmed in OneDrive scope, close Outlook completely and proceed with relocation.Gates the workaround on the actual presence of problem conditions before making changes.
-
Attempt to open Outlook and observe whether the PST data file loads successfully or produces an error. Note the exact error message displayed.Reproduces the failure and captures the exact error state for documentation and escalation if the OOB fix is not yet applied.
Resolution path
- 1. Close Outlook completely on the affected device to release all file locks on PST files. Confirm OUTLOOK.EXE is not running in Task Manager.
- 2. Pause OneDrive sync via the system tray icon before touching any PST files to prevent partial-upload corruption.
- 3. Create target directory if needed: mkdir C:\OutlookData
- 4. Move the PST file(s) out of the OneDrive-synced directory to a local, non-synced path using robocopy for safe transfer: robocopy "%UserProfile%\OneDrive\Documents" "C:\OutlookData" *.pst /MOV /Z
- 5. Re-open Outlook. Navigate to File > Account Settings > Account Settings > Data Files tab, select the PST entry, click 'Settings', and update the file path to C:\OutlookData\<filename>.pst. Click OK.
- 6. Resume OneDrive sync and confirm Outlook opens successfully and the PST is accessible (folders and emails visible).
- 7. Monitor OneDrive to ensure it no longer reports sync errors for this file.
- 8. Apply Microsoft's out-of-band (OOB) fix for Windows 11 24H2 via Windows Update as soon as it becomes available to address the root cause.
- ROLLBACK — If PST appears missing after move: do not reopen Outlook; verify the file exists at the new path in File Explorer before re-linking in Account Settings.
- ROLLBACK — If PST was moved while OneDrive was still syncing and appears corrupted: restore from pre-remediation backup and reattempt with OneDrive sync fully paused.
- VERIFICATION — Confirm Outlook opens without data file errors and Inbox/folders in the PST are fully accessible.
- VERIFICATION — Confirm OneDrive sync completes without errors and no .pst files appear in the sync queue or error list.
- VERIFICATION — Confirm the PST path shown in File > Account Settings > Data Files points to the new local (non-OneDrive) directory.
Prevention
- Enforce an organisational policy prohibiting storage of Outlook PST files in OneDrive-synced directories; PSTs in OneDrive are a red-flag scenario regardless of OS version due to file-locking conflicts.
- Use Group Policy or Intune configuration profiles to redirect Outlook PST default save locations to a non-synced local path (e.g. C:\OutlookData) rather than the user's Documents or OneDrive folder.
- Add .pst to the OneDrive 'Block sync for these file types' Group Policy (Computer Configuration > Administrative Templates > OneDrive > 'Exclude specific kinds of files from being uploaded') to prevent OneDrive from ever syncing PST files.
- Migrate users away from PST-based archiving entirely by enabling Exchange Online Archiving or In-Place Archive in Microsoft 365, eliminating the PST/OneDrive conflict class of issues permanently.
- Monitor OneDrive sync health via the Microsoft 365 admin centre or OneDrive sync reports to detect PST-in-OneDrive configurations before they cause incidents.
- Apply Microsoft OOB and cumulative updates promptly for Windows 11 24H2 to receive the platform-level fix as soon as released.
Tools
- winver — confirm Windows 11 version and build
- Task Manager — verify OUTLOOK.EXE and OneDrive processes are fully terminated before any PST file operations
- Outlook Account Settings (Data Files tab) — locate and update PST file paths
- OneDrive system tray client — check sync status and errors; pause sync before PST file operations
- robocopy — safely move large PST files with restart capability (/Z flag)
- scanpst.exe (Inbox Repair Tool) — repair PST files if corruption is suspected
- Windows Update — apply the Microsoft OOB fix