Permission & Access Issues

Remove an Access 2016 Database Password: VBA and UI Options

John WilsonJohn Wilson Nov 25, 2026 869 views

Question details

The user wants to remove a database password set through Access.Application, preferably using VBA.

Remove an Access 2016 Database Password: VBA and UI Options
Product
Microsoft Access 2016
Device & OS
not provided
Scenario
A database password was set programmatically, and the user wants to know whether supplying an empty password can unset it.
Observed behavior
The goal is to remove the database password through a supported method.
Before you start

Have the current database password available and ask other users to close the database so you can open it exclusively. Confirm that you have permission to modify the database.

Solution 1Recommended

Remove the password in Access using the current password

Use Access 2016 to decrypt the database when you know its current password.

Access does not provide a reliable general-purpose VBA method for removing a database password without the current password. Supplying an empty password is not a supported way to bypass it.

1
Open the file exclusively

In Access, go to File > Open > Browse. Select the database, click the arrow next to Open, and choose Open Exclusive.

2
Enter the current password

When prompted, enter the existing database password to open the file.

3
Decrypt the database

Go to File > Info and select Decrypt Database. Enter the current password if prompted, then confirm the action.

4
Verify the result

Close the database, then reopen it from File > Open to check that Access no longer asks for the database password.

Remove the password in Access using the current password
If the password is unknown: Password recovery or removal is not supported without the current password. If available, use an authorized unprotected copy of the database.
Free Microsoft Office alternative

Use WPS Office for everyday office documents

WPS Office is a free, lightweight alternative with a familiar interface for working with compatible Microsoft Office documents. It can help you move everyday document work to WPS, but it does not remove Access database passwords or replace Access for database management.

Work with reports and other documents related to your database projects.Open and edit compatible Microsoft Word, Excel, and PowerPoint formats.Use a familiar interface that makes moving everyday office work easier.Get a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

Can I remove the Access database password by passing an empty string in VBA?

An empty string is not a reliable general-purpose method for removing the password. Open the database exclusively with its current password and use File > Info > Decrypt Database instead.

Why do I need to open the database exclusively?

Access requires exclusive access to decrypt the database. Ask other users to close it, then use File > Open > Browse and select Open Exclusive from the Open button's arrow menu.

What can I do if I don't know the current password?

Password recovery or removal is not supported without the current password. Ask an authorized database owner for it or use an authorized unprotected copy if one is available.

Can WPS Office remove an Access database password?

No. WPS Office does not remove Access database passwords or replace Access for database management. Use Access 2016 and the current password to decrypt the database.