.LCK

Файл LCK

Lock File
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An LCK file is a lock file - a small control file an application creates to mark a database or document as in use, so two users cannot write to it at the same time and corrupt it. You do not open or convert it; the program deletes it automatically when the file is closed. If a stale .lck is left behind after a crash and blocks access, close the app on all machines, then delete the orphaned file.

Разработчик: No single owner - a generic convention used by many database and desktop applications Категория: Другие файлы MIME: application/octet-stream
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .TORRENT · .MSO · .MD5 · .SHS

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 30, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла LCK?

.lck is a resource lock file - a concurrency marker that an application creates automatically to signal that a file or database is currently in use. The .lck extension is typically appended to the name of the locked file; for example, locking document.doc results in the creation of a companion file named document.doc.lck whose mere existence on disk acts as the lock signal. .lck files are most often completely empty, but some programs store a small amount of additional data inside, such as the username, host name, or process ID (PID) of the session that holds the lock. .lck files should not be opened or edited manually; they are created and deleted automatically by the owning application.

Each locked file is protected from being written to by a second process or user. The application that holds the lock keeps the .lck file active for the duration of the session to prevent the original file from being deleted or corrupted. This mechanism is widely used by database engines, spreadsheet applications, and word processors handling formats such as .DOC files. Locking also applies when multiple users on a network access the same shared file simultaneously; in that case, the .lck file may track which user holds the active session or which portion of the resource is locked.

Different applications implement the locking mechanism differently. Some related lock-file conventions use extensions such as .lock, .LDB, or .LACCDB. Because .lck is a generic cross-platform convention with no single owner or specification - used on Windows, macOS, Linux, and Unix alike - its internal content (if any) is entirely application-specific.

Безопасность и защита

РИСК: LOW

A .lck is a passive marker file - usually empty, no executable code - so it is harmless to have and safe to read. The only real caution is operational, not security: do NOT delete a .lck while the file it protects is genuinely open by someone, because that defeats the protection and can let two users write at once and corrupt the data. Only remove a .lck when you've confirmed the underlying file is closed everywhere (a 'stale' lock left after a crash). Deleting a live lock, not the file itself, is the risk.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕLock Fileтакже известен как File lock, Lockfile
РАЗРАБОТЧИКNo single owner - a generic convention used by many database and desktop applicationsс Long-standing OS/application convention (decades old); no single introduction date
КАТЕГОРИЯДругие файлы
MIME-ТИПapplication/octet-stream
ТИПConcurrency lock marker - usually empty or a tiny status/owner record
СВЯЗАННЫЕ.torrent.mso.md5.shs

Программы, открывающие файлы LCK

Windows2 apps
Owning application (close to release) Встроенная Don't open the .lck - close the program/file that created it on every machine; the app deletes the .lck automatically. If a stale .lck remains and nobody has the file open, delete the .lck manually.
Notepad (inspect only) Встроенная If you must see what's inside, open with Notepad - it's empty or a short owner/PID record. Don't edit it while the file is in use.
macOS1 app
Owning application (close to release) Встроенная Don't open the .lck - close the program/file that created it on every machine; the app deletes the .lck automatically. If a stale .lck remains and nobody has the file open, delete the .lck manually.
Linux1 app
Owning application / file manager Встроенная Stop the process holding the lock (the app, or check with 'lsof file.lck'); remove the leftover .lck only once you've confirmed nothing is using the file.

Технические подробности

глубокая спецификация
Format typeExistence-based concurrency lock marker; the file's presence on disk is the lock signal, not its contents
Typical file size0 bytes (most common); occasionally a few bytes to a few hundred bytes when owner data is stored
File signature (magic bytes)None - no header or magic bytes; the file carries no identifying signature
EncodingEmpty (most cases); plain text or small application-specific binary when non-empty
Content when non-emptyShort owner record containing the locking session's username, host name, or process ID (PID)
Naming conventionCompanion file appended with .lck - e.g., `report.xls` is accompanied by `report.xls.lck`
Locking scopePrevents concurrent write access to the associated file; some implementations still permit read-only access by other processes
LifecycleCreated when a file is opened for exclusive use; deleted automatically when the session ends or the application closes cleanly
Stale lock riskIf the owning process crashes, an orphaned `.lck` file may remain on disk, blocking access until removed manually
Multiple-user environmentsCoordinates shared-file access over a network; may record which user or workstation holds the active lock
MIME typeapplication/octet-stream (default); text/plain when the file holds plain-text owner data
Associated operating systemsWindows, macOS, Linux, Unix - a cross-platform convention with no OS-specific dependency
User dataContains no document content or user data; serves exclusively as a control file for the owning application
StandardizationNo formal specification; content format and behavior are defined individually by each application that uses it
Common application typesDatabase engines, spreadsheet and word-processor applications, version control systems, integrated development environments
Related lock-file extensions.lock, .ldb, .laccdb, .tmp, ~lock - alternative naming conventions used by other applications for the same purpose
ВыпущенLong-standing OS/application convention (decades old); no single introduction date
Последняя версияN/A - not a versioned format

Конвертации LCK

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами LCK. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах LCK.

Часто задаваемые вопросы

What is a .lck file?
It's a lock file - a small control file an application (often a database) creates to mark a file as 'in use' so two users or programs can't write to it at the same time and corrupt it. It's usually empty; its presence is the lock.
Can I delete a .lck file?
Yes, but only when the file it protects is genuinely closed everywhere. Normally the app deletes its own .lck on exit. If one is left behind after a crash and blocks access, make sure no one has the file open, then delete the stale .lck.
How do I open a .lck file?
You don't really open it - it has no user content. If you're curious, open it in a text editor: it's either empty or a short record naming who holds the lock. The thing you actually want is the file the lock guards.
Why won't my database/file open - it says it's locked?
An application left a .lck saying the file is in use. If someone really has it open, wait for them to close it. If it's a stale lock after a crash, close the app on all machines and delete the orphaned .lck, then reopen.
What program creates .lck files?
Many do - database tools (Navicat, Paradox), email clients (Pegasus Mail), CAD (Autodesk Inventor), virtualization (VMware), and others. There's no single owner; .lck is a generic 'in use' convention.
Is a .lck file a virus?
No. It's a passive, usually-empty marker with no code. It can't run or infect anything. Just don't delete a live one while the protected file is open.

Ссылки

1Wikipedia - File locking (lock files)en.wikipedia.org
2Wikipedia - Record lockingen.wikipedia.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.CRDOWNLOADChrome Partial Download File
4.PARTPartial Download File
5.MDMarkdown Document
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.AVIFAV1 Image File Format (AVIF)
9.RPMSGRestricted Permission Message
10.NOMEDIAAndroid No-Media Marker File

Похожие расширения

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z