macOS · macOS Finder, install and recovery errors

-45: The file is locked

Usually fixable yourselffLckdErrLast checked: October 23, 2026

What does this code mean?

The item has the Locked setting turned on, so it can't be changed, renamed or replaced until you unlock it.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. Locked is selected in the item's Get Info window
  2. The item came locked from another Mac or a backup

Steps you can try

Did that fix it?

When to get help

If the error keeps coming back after these steps, or Disk Utility reports errors it can't repair, contact Apple Support. For an external drive, also check with the drive's maker.

Differences between versions

This is an old Mac file system result code that macOS still reports in Finder alerts. The exact cause depends on what you were doing (copying, moving, deleting, opening) and on the drive type.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.