Fix Microsoft Access Permission Error When Opening MDB Files
Question details
The user is unable to open an old Microsoft Access database (.mdb) due to a permission error, likely caused by a missing Workgroup Information File (.mdw).

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to open a legacy .mdb database file that was previously secured with user-level permissions.
- Observed behavior
- Microsoft Access displays an error message stating that the user does not have the necessary permissions to open the .mdb database.
Verify that you have both the original .mdb database file and its associated .mdw Workgroup Information File stored in an accessible location on your computer.
Open the Database Using the Associated .mdw File
Link the database to its security workgroup file via a custom command-line shortcut to authenticate and gain access.
Legacy Access databases (.mdb) were often secured with a separate Workgroup Information File (.mdw). To access the data, both files must be present and correctly linked when launching the application.
Ensure that the .mdb file and the .mdw file are copied to the same directory or a known path on your local drive.
Right-click on your desktop desktop, select 'New', and then choose 'Shortcut'.
In the location field, enter the path to your MSACCESS.EXE, followed by the path to the .mdb file, the '/wrkgrp' switch, and the path to the .mdw file (e.g., "C:\Program Files\...\MSACCESS.EXE" "C:\path\to\database.mdb" /wrkgrp "C:\path\to\security.mdw").
Save the shortcut, double-click it to open Microsoft Access, and enter your original user credentials when prompted by the security dialog.

Looking for a Free, Lightweight Office Suite?
While Microsoft Access handles your legacy .mdb databases, you can manage all your documents, spreadsheets, and presentations for free with WPS Office. It offers a lightweight, familiar interface with high compatibility without costly subscriptions.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation file.
- 2. Install WPS Office: Run the installer and follow the on-screen instructions to set up the software.
- 3. Start Creating: Open WPS Office to instantly view and edit your Word, Excel, and PowerPoint documents.

Frequently Asked Questions
What is an .mdw file in Microsoft Access?
An .mdw file is a Workgroup Information File used by older versions of Microsoft Access (2003 and earlier) to store user-level security settings, such as usernames, passwords, and group permissions.
Can I bypass the .mdw file to open my .mdb database?
Generally, no. If the database was strictly secured using user-level security, the .mdw file and the correct login credentials are required to decrypt and access the database contents.
How do I recover a lost .mdw file?
A lost .mdw file cannot be easily recreated unless you have the original Workgroup ID (WID) and exact user details. The most reliable solution is to restore the file from a previous system backup.




