Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Windows myself, but the drive is hosted on a Linux server.

Basically, people map this drive to their Windows machine, open ACCDB files (which they're not supposed to do, we use ACCDE's) and then after they close out, the LACCDB sticks around.

I need to get rid of the LACCDB file. The Windows server has no GUI but I have direct access to it's command line, either by physically going to the server or using Putty.

What commands would I need to type in to navigate to the locked file and then delete it.



share|improve this question

migrated from Oct 25 '11 at 7:19

This question came from our site for professional and enthusiast programmers.

Have you tried to delete the file? It should be possible as long as the accdb is closed. – Remou Oct 24 '11 at 20:10
up vote 1 down vote accepted

Use the rm command to remove a file from the Linux command line. So if foo.laccdb is located in /export/Access:

rm /export/Access/foo.laccdb

One note is the Access lock file can be created without directly opening foo.accdb from an Access session. That could be the case if another Access database file was open which includes a link to a table in foo.accdb.

share|improve this answer
Perfect, thanks – JMK Oct 25 '11 at 10:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.