When AutoCAD spits out “configuration file may be locked,” it’s usually not a sign of doom—just a stubborn file stuck in another process. ⚡ I’ve wrestled with this error enough to know the first three fixes solve 90% of cases, and they’re all quick enough to try in order.
The key is identifying whether Windows, AutoCAD itself, or a permissions glitch is the culprit.
The most common causes are a lingering AutoCAD process in Task Manager or corrupted cache files that won’t release their grip. File permissions can also lock things down, especially if you recently updated Windows or AutoCAD.
I’ve seen this happen after Windows updates, third-party antivirus scans, or even when multiple users share the same installation. The good news? None of these require advanced skills to fix.
You’ll unlock the file in under five minutes by either killing the hidden process, clearing AutoCAD’s cache, or tweaking file permissions—no registry edits required for the basics. I’ll walk you through the exact steps, starting with the fastest and safest methods.
If that doesn’t work, we’ll dig deeper into the registry and command-line fixes that handle stubborn cases.
This covers AutoCAD 2020 through 2024 on Windows 10/11, whether you’re running it as admin or a standard user. The fixes apply whether you’re editing drawings or just trying to launch the software—no prior troubleshooting experience needed.
Why it happens
When AutoCAD throws the “configuration file may be locked” error, it’s usually a sign that your system is struggling to manage file permissions, concurrent access, or corrupted system states. Below are the most common causes—broken down so you can pinpoint the exact issue and take action.
🔒 Multiple AutoCAD Instances Running
AutoCAD relies on a shared configuration file (often acad.cfg or acad.lsp) to store settings. If two or more instances of AutoCAD are open simultaneously, the file can become locked by the first process, blocking access for others.
This happens because Windows treats the file as a resource that only one program can modify at a time.
Even if you’re not actively using the second instance, background processes like AutoCAD’s DesignCenter or Task Scheduler tasks can hold the file open. Additionally, plugins or third-party add-ons may silently launch AutoCAD services in the background.
👥 Permission Issues in Windows
Windows manages file access through permissions, and if your user account lacks the right to modify the AutoCAD configuration file, AutoCAD will fail to load or save changes. This often occurs when:
- The file is stored in a protected system folder (e.g.,
C:\Program Files\AutoCAD) without proper write permissions. - Your user account is restricted by Group Policy or User Account Control (UAC) settings.
- The file’s NTFS permissions are misconfigured, granting access only to the
AdministratororSYSTEM account.
AutoCAD may also inherit permissions from parent folders, so a seemingly unrelated folder (like C:\Users\Public) could be the culprit.
💻 Antivirus or Security Software Interference
Modern antivirus programs and endpoint protection suites (like McAfee, Norton, or Windows Defender) often monitor and lock files to prevent malware from modifying them. If your security software flags AutoCAD’s configuration file as a potential threat—or even if it’s just scanning it—AutoCAD won’t be able to access it.
Some security tools also enforce real-time file integrity monitoring, which can create temporary locks during scans. Even scheduled scans (e.g., overnight) might leave the file in a locked state until the next boot.
🔄 Corrupted or Incomplete File Writes
If AutoCAD crashes mid-save or loses power during a configuration update, the file can enter a locked but unusable state. This happens because:
- The file isn’t properly flushed to disk before AutoCAD closes.
- A disk error (e.g., bad sectors, failing SSD) prevents the OS from writing changes.
- The file is corrupted due to a bug in AutoCAD or a third-party plugin.
In some cases, the file’s file handle remains open in Windows’ memory, even after AutoCAD exits. This is a low-level issue that requires manual intervention to release.
🖥️ Network or Cloud Storage Delays
If your AutoCAD configuration file is stored on a network drive, OneDrive, or cloud-synced folder, latency or synchronization conflicts can cause the file to appear locked. Here’s why:
- The file is being synced in the background, and AutoCAD can’t obtain an exclusive lock.
- A network timeout prevents AutoCAD from releasing the file after a save operation.
- The server or NAS device has a lock timeout setting that keeps the file reserved.
Even if the file seems accessible, the underlying network infrastructure might be holding it hostage.
How to solve it
When AutoCAD throws a "configuration file may be locked" error, it can feel like a roadblock—but don’t panic! Below are practical, step-by-step solutions tailored to the most common causes. Each fix is designed to be easy to follow, whether you're a CAD newbie or a seasoned pro.
After trying these, we’ll also share prevention tips to keep your workflow smooth.
###
🔒 Cause: File Locked by Another Process
If another instance of AutoCAD, a backup tool, or even Windows Explorer is holding the file open, you’ll need to force-release the lock.
- 🔍 Check Task Manager:
- Press Ctrl + Shift + Esc to open Task Manager.
- Go to the Processes tab and look for AutoCAD.exe, acad.exe, or Backup4All.exe (or similar backup tools).
- Right-click and select End Task for any suspicious processes.
- 🗄️ Close All AutoCAD Instances:
- Ensure no AutoCAD windows are open—even minimized ones.
- Restart your computer if the issue persists (sometimes stubborn locks linger in memory).
- 🛠️ Use Unlocker (Windows Utility):
- Download Unlocker (free version).
- Right-click the locked file → Unlocker → Select Unlock All.
✨ Pro Tip: If the file is in a network drive, ask your IT team to check for file-sharing locks or permissions conflicts.
###
🖥️ Cause: Corrupted Configuration File
If the acad.cfg or acad.lsp file is corrupted, AutoCAD may refuse to access it. Here’s how to reset or replace it:
- 📁 Rename the Problematic File:
- Navigate to
C:\Users\[YourUsername]\AppData\Roaming\Autodesk\AutoCAD [Version]\(replace [Version] with your AutoCAD version, e.g.,R25). - Right-click
acad.cfgoracad.lsp→ Rename → Add.old(e.g.,acad.cfg.old). - Restart AutoCAD—it will generate a fresh configuration file.
- Navigate to
- 🔄 Restore from Backup:
- Check if AutoCAD has a
Backupfolder in the same directory. Copy the latestacad.cfgfrom there. - If no backup exists, try System Restore (Windows) to revert to a time before the issue started.
- Check if AutoCAD has a
- 🔧 Repair AutoCAD Installation:
- Go to Control Panel → Programs → Programs and Features.
- Select AutoCAD → Change → Repair.
💡 Prevention Tip: Enable AutoCAD’s file backup in Options → Files to avoid losing custom settings.
###
🌐 Cause: Network or Permission Issues
If the file is stored on a network drive or shared location, permissions or latency can trigger locks. Try these fixes:
- 🔑 Check File Permissions:
- Right-click the file → Properties → Security.
- Ensure your user account has Full Control. Add permissions if needed.
- 📤 Copy Locally First:
- Download the file to your local C: drive.
- Work on the local copy, then re-upload after saving.
- 🔄 Disable Offline Files (If Applicable):
- Press Win + R, type
sysdm.cpl, and go to the Offline Files tab. - Click Disable offline files and restart.
- Press Win + R, type
🎯 Prevention Tip: Avoid editing AutoCAD files directly from mapped network drives—use a local copy instead.
###
🔄 Cause: AutoCAD Crashed Mid-Save
If AutoCAD froze or crashed while saving, temporary files may still be locked. Here’s how to recover safely:
- 🗑️ Delete Temporary Files:
- Navigate to
C:\Users\[YourUsername]\AppData\Local\Temp. - Delete any files with
.dwlor.bakextensions related to AutoCAD.
- Navigate to
- 🔄 Use AutoCAD’s Recovery Tool:
- Open AutoCAD → Go to File → Drawing Utilities → Recover.
- Select the corrupted file to attempt recovery.
- ⏰ Wait 10 Minutes:
- Sometimes, Windows takes time to release locks. Wait before retrying.
🔥 Pro Tip: Enable AutoCAD’s Auto-Save (Options → Open and Save) to minimize data loss during crashes.
Still stuck? If none of these work, try Autodesk’s official troubleshooter or contact support with your acad.log file for deeper analysis.
Frequently asked questions
Why does AutoCAD say my configuration file is locked when I haven’t opened anything?
AutoCAD often locks configuration files like acad.cfg when hidden processes—such as background AutoCAD services, antivirus scans, or even Windows Explorer—hold file handles. Even if you didn’t open AutoCAD manually, scheduled tasks or third-party plugins might be accessing the file. Check Task Manager for lingering AutoCAD.exe processes or security software activity.
Can I safely delete the locked configuration file?
Yes, but only after backing up your settings. AutoCAD will regenerate the acad.cfg file when you restart it. Navigate to C:\Users\[YourUsername]\AppData\Roaming\Autodesk\AutoCAD [Version], rename the file (e.g., acad.cfg.old), and restart AutoCAD. This forces a fresh configuration without data loss.
How do I check if my antivirus is blocking AutoCAD’s files?
Temporarily disable real-time scanning for your antivirus (e.g., Windows Defender, McAfee) and retry launching AutoCAD. If the error disappears, add AutoCAD’s installation folder (C:\Program Files\Autodesk\AutoCAD [Version]) to your antivirus’s exclusion list. This prevents false locks during scans.
What if the file is locked on a network drive?
Network drives often cause locks due to latency or permission conflicts. Copy the file to your local C: drive, work on it there, and sync changes later. If sharing is required, ask your IT admin to check for file-sharing locks or adjust permissions to grant your account Full Control over the file.
Will a Windows restart always fix this?
Not always—but it’s worth trying first. A restart clears temporary file locks held by Windows or AutoCAD. If the issue persists after rebooting, the problem is likely deeper (e.g., corrupted file or permissions). Proceed with renaming the configuration file or repairing AutoCAD’s installation.
- How to Add Scroll Bar in Excel: Dynamic Data Navigation in Seconds - November 30, 2026
- Facebook Portal Not Working: Quick Fixes for Screen, Audio, or Connectivity Issues - November 30, 2026
- Windows High CPU Inventory Scanner: Stop System Slowdowns in Real Time - November 30, 2026