Solved

Locked myself out of all access databases

Posted on 2009-05-13
2
284 Views
Last Modified: 2012-05-06
I ran the security wizard, which baffled me, and now I can't log into any of my access databases.  Access prompts for a username and password no matter what db I'm trying to open.
0
Comment
Question by:jbpowell
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 24377317
You've joined a workgroup other than the Default system.mdw file. You need to open Access (don't open a database), then click Tools - Security - Workgroup Administrator, then click Join and find and rejoin the system.mdw file.
0
 
LVL 57
ID: 24377935
Just to explain a bit; Access user level security is always "on".  The default workgroup file and any newley created workgroup file has an admin user with a blank password.
  JET tries this login when first opening a DB and if it suceeds, you don't get the login prompt.  If the admin user has a non-blank password, then you get a login prompt.
  That's why part of the process of securing a DB is setting the admin users password to a non-blank; it activates the login.  It's also why you remove the admin user from any of your security groups.  If you did not, anyone could get into your DB by setting the admin password to a non-blank and then have full access.
  Last, normally when you secure a DB, rather then chaning the default workgroup, you would use your custom workgroup file with the DB via the /wrkgrp switch when using starting Access.
JimD.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now