A brief answer: a DWL or DWL2 file is a lock/temporary file created by AutoCAD to mark that the corresponding DWG drawing is open. You cannot open a DWL file to view the drawing — open the matching DWG file instead.
Understanding DWL and DWL2 files
- DWL and DWL2 files are lock files created automatically by AutoCAD when a DWG file is opened.
- Their purpose is to prevent multiple users from editing the same drawing at once and to reduce the risk of data corruption.
- These files do not contain the drawing data themselves; they only indicate that the DWG file is currently in use.
- DWL2 is the newer variant used by recent versions of AutoCAD but serves the same function.
How to open the original DWG file (step-by-step)
- Locate the folder that contains the files. You will typically see a pair like:
- project.dwg
- project.dwl (or project.dwl2)
- Double-click the .dwg file or open it from inside AutoCAD: File > Open > select your .dwg.
- If AutoCAD reports the file is in use or opens it as read-only, check for a .dwl/.dwl2 file with the same name; this indicates the drawing is locked by another session.
- When finished editing, save and close the .dwg. AutoCAD will normally remove the .dwl/.dwl2 automatically.
Troubleshooting persistent DWL/DWL2 files
If a DWL or DWL2 file remains after closing AutoCAD, try the following:
- Confirm nobody else is actively editing the DWG (ask teammates or check the server).
- Close all AutoCAD windows on your computer.
- Use Task Manager (Windows) to ensure there are no background AutoCAD processes running; end them if safe.
- If the file is on a network share, ask the server admin to check for open file handles (Server Manager or relevant file-share tools).
- Once you confirm no active editing, delete the .dwl or .dwl2 file manually in File Explorer.
Important: Do not delete a DWL file if someone else is actively editing the DWG — doing so can cause data loss or corruption.
Safety precautions when deleting DWL/DWL2 files
- Verify that no users have the DWG open (ask your team or check server open file lists).
- If possible, coordinate with your IT or CAD manager before deleting lock files on shared/networked drawings.
- Check for unsaved work or recent changes before removing a lock file. If unsure, keep the lock file and investigate who has the file open.
Common errors and fixes
Error: DWG opens as “Read‑Only”
- Cause: a .dwl/.dwl2 remains or someone else has the file open.
- Fix: Confirm no other user is editing. Close all AutoCAD sessions, then delete the .dwl/.dwl2 if it is orphaned. Reopen the .dwg.
Error: “File is locked by another user” or shows a different username
- Cause: Another user actually has the file open or a network session hasn’t closed.
- Fix: Contact the listed user or your network admin. If the user account is not active, the admin can release the lock on the server.
Error after crash: DWL left behind and drawing inaccessible
- Cause: AutoCAD crashed and did not remove the lock file.
- Fix: Restart AutoCAD (or PC), ensure no AutoCAD processes remain, then delete the orphaned .dwl/.dwl2 and open the .dwg.
Error: Corrupt or missing drawing
- Fixes to try:
- Use AutoCAD’s RECOVER command: AutoCAD > File > Drawing Utilities > Recover.
- Look for backup files: rename .bak to .dwg or restore .sv$ (autosave) files by changing the extension to .dwg.
- Check the autosave file location under AutoCAD Options > Files > Automatic Save File Location.
Alternative methods to recover or access drawings
- Recover from .bak: If you have project.bak, make a copy and rename it to project.dwg. Open in AutoCAD and use RECOVER if needed.
- Use autosave .sv$ files: locate the autosave folder (AutoCAD Options > Files), rename the latest .sv$ to .dwg and open it.
- Use AutoCAD’s RECOVER or AUDIT commands to detect and repair corruption.
- If files are on a cloud/managed system, use your version control or file management (e.g., Autodesk Vault, BIM 360) to restore prior versions.
- Contact your IT or CAD manager to check server-side open handles or to restore from server backups.
Best practices for multi-user environments
- Use a formal check-in/check-out or file-management system (e.g., Autodesk Vault, BIM 360) to avoid manual lock conflicts.
- Communicate who is working on which files and for how long. Keep a simple shared list or project board.
- Save frequently and close drawings when not actively editing.
- Train team members to close AutoCAD sessions properly; avoid network interruptions while saving.
- Keep server and workstation AutoCAD versions compatible, and apply updates/patches.
Tips to prevent DWL/DWL2 problems
- Always open the .dwg file (not the .dwl) when starting work.
- Regularly back up your work and enable AutoCAD autosave. Know the autosave folder location.
- Avoid editing over slow or unstable network connections; copy files locally, work, then copy back if your workflow allows.
- Use centralized file systems and enforce check-in/check-out policies.
- If you frequently see orphaned .dwl files, investigate workstation stability, network reliability, and AutoCAD updates.
FAQ
What exactly is the difference between a DWL and a DWL2 file?
DWL2 is the newer lock file variant used by recent versions of AutoCAD; both serve the same purpose: marking a DWG as in-use. The difference is mainly compatibility with newer AutoCAD releases.
Can I open a DWL or DWL2 file in AutoCAD to view the drawing?
No. DWL/DWL2 files do not contain drawing data; they are lock files. Open the matching .dwg file to view or edit the drawing.
Is it safe to delete a DWL/DWL2 file?
Only delete a DWL/DWL2 file if you are certain that no one currently has the DWG open. Deleting a lock file while someone else is editing can cause data loss or corruption.
How do I recover my work if AutoCAD crashed and left a DWL file?
Restart AutoCAD and your computer, ensure no AutoCAD processes are running, delete the orphaned DWL/DWL2 if safe, then try opening the .dwg. If the file is damaged, use RECOVER, or restore from a .bak or .sv$ autosave file.
Why do I keep getting read‑only messages for my DWG files?
A leftover .dwl/.dwl2 or another user having the file open is the usual cause. Check for lock files, confirm who has the file open, and remove orphaned locks after verification.
Where are AutoCAD autosave files located?
Check AutoCAD: Options > Files > Automatic Save File Location. Autosave files typically use the .sv$ extension and can be renamed to .dwg to recover unsaved work.
How can I prevent these issues in a team environment?
Use a centralized file-management system (like Vault or BIM 360), enforce check-in/check-out, communicate file usage, and ensure reliable networking and workstation stability.
