How to Find Which User Has an Access Database File Open
Question details
Administrators need to determine which user or network process currently has a Microsoft Access database file open so they can safely close it for archiving, renaming, or server maintenance.

- Product
- Microsoft Access
- Device & OS
- Windows Server / Windows
- Scenario
- Attempting to rename, move, archive, or perform maintenance on an Access database file hosted on a shared network drive.
- Observed behavior
- The system prevents renaming or modifying the database file, displaying an error that the file is currently in use or locked by another process.
Ensure you have administrative privileges on the server or the host computer where the database is stored, as standard user accounts cannot view network-wide open file handles.
Use Computer Management to Identify Open Files
The most straightforward built-in Windows method to check which network users are actively accessing shared files.
Windows Computer Management provides a dedicated section for monitoring shared folders. This allows server administrators to see exactly which files are open and who is accessing them, without needing third-party tools.
Press the Windows key + X on the server hosting the database and select 'Computer Management' from the context menu.
In the left-hand navigation pane, expand the 'System Tools' menu and click on 'Shared Folders'.
Click on 'Open Files' to display a comprehensive list of all files currently being accessed over the network.
Locate your Access database file in the list and check the 'Accessed By' column to see the username of the person who has the file locked.

Inspect Locking Information with Microsoft LDBView
Use Microsoft's specialized LDBView utility to inspect the lock file associated with your database.
Run an ADODB-based VBA Script
A programmatic approach to retrieve user connection data directly from the database schema.
Looking for a fast and reliable Office alternative?
While Microsoft Access is required for specialized database management, you can handle all your Word, Excel, and PowerPoint files effortlessly with WPS Office. It provides a highly compatible, free, and lightweight solution for daily productivity.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button to get the setup file.
- 2. Install the Software: Run the downloaded executable and follow the quick on-screen instructions to complete the setup.
- 3. Open Your Documents: Launch WPS Office and easily open your existing Microsoft Office files without losing any formatting or data.

Frequently Asked Questions
What is an .ldb or .laccdb file?
These are Microsoft Access lock files. An .ldb file is created for older .mdb databases, and an .laccdb file is created for newer .accdb databases. They track which users have the database open to manage concurrent data locks and prevent simultaneous conflicting edits.
Can I simply reboot the server to close the open database files?
While rebooting the server will forcefully close all connections and release the file locks, it is a drastic measure that will disconnect all users and services across the network. Using the Computer Management tool to identify and disconnect specific users is much safer.
Why does Access say the database is in a locked state even when no one is using it?
Sometimes, if Access crashes or a network connection drops unexpectedly, the lock file (.laccdb or .ldb) fails to delete itself automatically. If you confirm no one is actively connected, you can manually delete this lock file to regain access.




