An AutoCAD DWL file is a small temporary lock file AutoCAD creates to prevent multiple users from editing the same drawing simultaneously. This guide explains what a .dwl / .dwl2 file is, how it works, how to view or remove it safely, troubleshooting steps, alternative collaboration methods, and practical tips to avoid problems.
Intro — What is a DWL file and why it matters
When you open a drawing (.dwg) in AutoCAD, the program writes a lock file in the same folder to signal that the drawing is in use. These files typically have the extension .dwl (or .dwl2 on some systems). They are temporary and normally disappear when AutoCAD closes the drawing properly.
The purpose of the DWL lock file is to avoid conflicts, prevent simultaneous edits, and help maintain data integrity in a multi-user or networked environment. If a DWL file remains after a crash or improper shutdown, it can block others from editing the drawing until the lock is removed.
Explanations — How DWL files work
- When a drawing is opened, AutoCAD creates a .dwl (or .dwl2) file in the same directory.
- The DWL contains minimal lock/ownership information (often readable as plain text).
- When the drawing is closed normally, AutoCAD automatically deletes the DWL file.
- If AutoCAD or the computer crashes, or if network file locks persist, the DWL may remain, causing the file to appear locked to other users.
- DWL files are not drawing files and are not intended to be opened in AutoCAD; they are just signals used for file locking.
How to check and view a DWL file (safe view)
If you want to inspect the DWL contents (for diagnosis):
- Locate the DWL file in the same folder as the .dwg (filename.dwl or filename.dwl2).
- Right-click and open with Notepad (or any plain-text editor).
- You may see the username, machine name, or a small string identifying the lock owner.
Note: Viewing is safe; do not edit the DWL file unless you know what you’re doing.
Steps to safely remove a stale DWL file
Only remove a DWL file if you have confirmed the drawing is not actually open by anyone.
- Confirm no one is using the drawing
- Ask team members to close the file.
- Check remote sessions or terminal servers.
- Close AutoCAD on the local machine
- Save and close AutoCAD normally; this normally removes the DWL.
- If file remains, check running processes
- On Windows, open Task Manager and ensure no acad.exe or related process is running on the user who had the drawing open. End the process only if appropriate.
- Delete the DWL file
- After confirming the drawing is not opened anywhere, delete filename.dwl (or .dwl2).
- Open the drawing
- Reopen the .dwg in AutoCAD. If you still cannot edit, open it Read-only then save a copy.
Caution: Deleting a DWL while the drawing is actually open by someone else will cause possible conflicts and data loss.
Alternative collaboration methods (avoid DWL issues)
- Use Autodesk Vault, BIM 360 / Autodesk Docs, or other version-control systems to manage file check-out/check-in.
- Use cloud collaboration tools (Autodesk Drive, BIM 360) that implement reliable check-out/workflow.
- Use a dedicated file-locking/check-out workflow on your network (require users to check out drawings before editing).
- For read-only viewers, use DWG TrueView or AutoCAD’s viewer mode to avoid creating locks.
Common errors and fixes
Error: “File is locked for editing by another user” / “Drawing is read-only”
- Fix:
- Confirm the other user is not actually editing.
- Ask them to close the drawing or end their AutoCAD session.
- If the other user crashed, delete the stale DWL after confirming no processes are running.
Error: “Cannot save; file locked”
- Fix:
- save as a new file name to avoid overwriting while resolving locks.
- Check file and folder permissions on the network share.
- Verify that antivirus or backup software is not holding the file.
Error: DWL does not get deleted after closing AutoCAD
- Fix:
- Ensure AutoCAD closed cleanly. If not, restart the workstation.
- Check for background AutoCAD processes (acad.exe) and end them if safe.
- Check network latency or server issues — stale locks can remain if the file server didn’t get the delete command.
Error: Unable to delete DWL file (permission denied)
- Fix:
- Check Windows file permissions and ownership.
- Ensure the file is not open on the server or locked by an antivirus/backup job.
- Use server admin tools to release Open file handles (e.g., Server Manager -> Shared Folders -> Open Files on Windows file servers).
Tips to prevent DWL problems
- Instruct users to always close drawings properly before shutting down AutoCAD or the PC.
- Implement a check-out/check-in workflow (Vault, BIM 360) for multi-user projects.
- Keep regular backups and incremental saves (Ctrl+S frequently; use Save As to create revisions).
- Educate users about how to handle crashes: don’t immediately delete DWL — verify first.
- On networks, ensure the file server is reliable and does not prematurely drop connections.
- Consider scripting or IT policies to clean orphaned locks safely during off-hours with user notifications.
FAQ
What is a DWL file and can I open it in AutoCAD?
A DWL file is a lock/temporary file created by AutoCAD. It is not a drawing and should not be opened in AutoCAD. You can view its content safely in a text editor (Notepad) to see lock information.
Can I delete a DWL file?
Yes — but only after confirming no one has the drawing open. Deleting a DWL while someone is editing can cause conflicts or data loss. If AutoCAD crashed and you’re sure the file is not in use, delete the DWL to release the lock.
What’s the difference between .dwl and .dwl2?
Both are lock files used by AutoCAD. The suffix may vary by AutoCAD version or network configuration. Their purpose remains the same: to indicate the drawing is currently in use.
Why doesn’t the DWL file delete after I close AutoCAD?
Possible reasons: AutoCAD didn’t exit cleanly, a background acad.exe is still running, network/server issues prevented the delete command, or antivirus/backup software locked the file. Check processes and server open file handles before manual deletion.
How do I safely recover a drawing if the DWL file was left after a crash?
- Ensure no AutoCAD process is running for the crashed session.
- Delete the DWL file if safe.
- Open the drawing and use AutoCAD’s RECOVER command if you suspect corruption. Save a new copy immediately.
Are DWL files harmful or virus files?
No. DWL files are normal AutoCAD lock files and not harmful. However, always follow your IT security policies when deleting or opening files from shared folders.
How can my team avoid DWL conflicts in the future?
Use a version control/collaboration system (Autodesk Vault, BIM 360), implement check-out/check-in procedures, and train users to close files properly and save often.
