After migrating from .mdb to .accdb, you may find your database opens with security warnings, macros refuse to run, or — if you were using workgroup security — access control has disappeared entirely. The security model changed significantly between the Jet 4.0 and ACE eras. This guide explains what changed, what you need to configure, and what you need to redesign.
If your .mdb database used workgroup-level security — the system where users logged in with a name and password, and different users had different permissions on tables, queries, and forms — you need to know this upfront: workgroup security does not exist in .accdb.
Microsoft removed it in Access 2007. The .accdb format has no support for workgroup files (.mdw), user accounts, or object-level permissions at the Access layer. If you try to convert a workgroup-secured .mdb to .accdb, Access will strip the security and ask you to proceed without it.
If your database relied on workgroup security for access control, you have two paths forward:
LegacyLeaps's free scan identifies workgroup security, database passwords, and other access controls in your .mdb — before you migrate and lose track of them.
Scan for FreeThe yellow security bar that appears when you open an .accdb is Access's way of saying: "This database has VBA or macros, and it's in an untrusted location." Clicking "Enable Content" fixes it for that session but the warning returns every time.
The permanent fix is to designate the database's folder as a Trusted Location:
Any .accdb opened from a Trusted Location will run VBA and macros without the security bar. For databases accessed from a network share, check "Allow Trusted Locations on my network" at the bottom of the Trusted Locations panel — network paths aren't trusted by default.
If you don't want to use Trusted Locations, you can adjust the macro security level for all databases:
| Setting | Behavior | Recommendation |
|---|---|---|
| Disable all macros without notification | All VBA/macros silently blocked | Avoid — breaks all functionality |
| Disable all macros with notification | Security bar shown, user must enable | Default — OK for occasional use |
| Disable all macros except digitally signed | Only signed code runs automatically | Best for enterprise deployment |
| Enable all macros | All code runs without prompts | Only with Trusted Locations as filter |
The .mdb format supported a database password, but its encryption was RC4-based and trivially reversible — any Access password cracker from the early 2000s could strip it in seconds. The .accdb format uses AES encryption (AES-256 in Access 2010+), which is genuinely secure.
To encrypt a .accdb with a database password:
Important caveat: database password encryption protects the file at rest — it prevents someone from opening the .accdb without knowing the password. It doesn't prevent authorized users from doing anything they want once they're in. Database-level encryption is not a substitute for proper access control logic.
After a Windows update, you may find Access macros that previously worked now throw errors or refuse to run certain actions. This is often due to Access running in "sandbox mode," which restricts certain VBA functions deemed unsafe.
Sandbox mode can be configured via registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Access Connectivity Engine\Engines
Value: SandboxMode
Data: 0 = never sandboxed, 1 = sandboxed if untrusted, 2 = always sandboxed, 3 = default
The default (3) means Access determines sandbox mode based on the database's trust status. Databases in Trusted Locations run outside sandbox; others run inside. If you're seeing sandbox-related errors and the database is in a Trusted Location, check whether a Group Policy is overriding your Trust Center settings.
In corporate environments, Group Policy may override Access Trust Center settings. If a user adds a Trusted Location but the security warning keeps appearing, the most likely cause is a GPO that controls Access macro settings. Check with your IT administrator about Office Trust Center policies. The relevant policy is under User Configuration → Administrative Templates → Microsoft Access → Application Settings → Security → Trust Center.
For the complete migration walkthrough, see the Complete Guide to Access Database Migration. For VBA-specific issues after migration, read the Access VBA Audit guide.
Coming Soon
AI-powered code generation from .accdb files. Your data never leaves your machine.
LegacyLeaps preserves your VBA, forms, and data when converting .mdb to .accdb — and flags security configurations that need attention before migration day.
Download Free ScannerPractical fixes for legacy Excel and Access problems. No spam.