إصلاح: المستند مقفل من قِبَل مستخدم آخر في Word
إجابة سريعة
انتظر حتى يغلق المستخدم الآخر المستند، أو انسخ الملف، وعدّل النسخة، ثم ادمج التغييرات يدويًا لاحقًا.
Translate to Arabic. Keep markdown formatting: ##, **, `, -, | Keep English: Word, Microsoft Office, SharePoint, OneDrive, add-in, cache, registry, menu paths like “File > Options” Translate all other content. Return ONLY the translated text, no explanation.
TEXT:
The Problem
You try to open a Word document, but Word says “Document is locked for editing by another user” or “File is locked.” You can open it in read-only mode, but you can’t make edits. The other user closed Word hours ago, but the lock persists. You need to edit the document now, not wait for them. The file is on a shared network drive or OneDrive, and you don’t know who’s editing it.
Quick Fix
Copy and edit the file immediately:
- In the lock dialog, don’t click OK or Cancel yet
- Instead, right-click the file in File Explorer/Finder
- Select Copy
- Right-click in the same folder (or different location)
- Select Paste
- Now you have a copy (e.g., “Document-copy.docx”)
- Open the copy
- Edit the copy freely
- When the original user is done, you can merge changes or replace the original
If you want to unlock the original, proceed to Step-by-Step Solution.
Step-by-Step Solution
Step 1: Identify Who Locked the Document
Find out who’s editing.
- Right-click the locked file
- Look for properties or details showing “locked by:” or “being edited by:”
- The username might appear
- Alternatively, open the file in read-only mode:
- Click Edit Anyway or Read-Only button
- Go to File > Info
- Look for message showing who locked the document
- Contact that person and ask them to close the file
Step 2: Open in Read-Only Mode to See Who’s Editing
Read-only view reveals editing user.
- When Word shows “locked” dialog, click Read-Only
- Document opens in read-only mode
- Go to File > Info
- At the top, message says: “Document name is being edited by [Username]”
- Contact that user
- Ask them to save and close the document
Step 3: Check OneDrive or SharePoint Active Users
If file is on OneDrive/SharePoint, see live editing status.
- Open OneDrive.com or SharePoint in browser
- Navigate to the folder containing the file
- Look at the file in the list
- It might show “Being edited by [User]”
- Or hover over the file to see status details
- Message that user to close it
- Or wait for them to finish (they might be actively editing)
Step 4: Wait for Lock to Timeout
Files locked by another user automatically unlock if they close/disconnect.
- Ask the other user to close the file: “Can you close [filename]? I need to edit it.”
- They close the file
- Try opening your file again
- Lock is released
- You can now edit
If they don’t respond or are unavailable:
- Wait 15-30 minutes (typical timeout for network drives)
- Check if file is still locked
- Network drives auto-unlock after inactivity
- Then you can open and edit
Step 5: Force Unlock on Network Drive (Admin Only)
If you’re the network administrator:
- On the network server where file is stored
- Open network share properties
- Look for “Open files” or “Active sessions”
- Find the locked file session
- Close the session (varies by server type)
- File lock is released
- Users can now open it
Note: Only server admin can do this. Regular users can’t.
Step 6: Create Copy to Edit Independently
Don’t wait—edit a copy instead.
- In File Explorer (Windows) or Finder (Mac), locate the locked file
- Right-click the file
- Select Copy (or Duplicate on Mac)
- Right-click in same folder
- Select Paste
- New copy created (e.g., “Document - Copy.docx”)
- Open the copy
- Make your edits
- Save the copy
- When original is unlocked, you can:
- Compare both versions (Track Changes > Compare)
- Copy your edits into the original
- Or replace original with your copy (if approved)
Step 7: Save Copy with Different Name
Avoid file conflicts.
- Copy the locked file (as in Step 6)
- Rename the copy: Right-click > Rename
- Give it a clear name (e.g., “Document-Alice-Edit.docx” or “Document-v2.docx”)
- Open and edit the renamed copy
- Save it
- Later, merge or consolidate with original
Step 7: Use “Edit Anyway” Option if Available
Some Word versions offer “Edit Anyway” button.
- When lock dialog appears, look for “Edit Anyway” option
- Click it
- Word opens in edit mode
- However, when you save, you might overwrite the other user’s changes
- Be cautious—use only if you’re sure the other user has finished
- Better to wait or copy instead
Step 8: Check for Stale Lock Files
Sometimes lock files remain after user closes abnormally.
- Go to file location (File Explorer/Finder)
- Show hidden files: (Windows: View tab > Hidden items; Mac: Cmd+Shift+.)
- Look for files named:
.~lock.filename.docxor~$filename.docxor.filename.docx~
- These are lock files
- If they’re very old (days), you can delete them
- Delete the lock file
- Original file should now open
Step 9: Check Document Properties for Lock Info
Examine file details.
- Right-click the locked file
- Select Properties (Windows) or Get Info (Mac)
- Look at modification date and time
- If last modified hours ago, it’s a stale lock
- Proceed with force unlocking or copying approach
Step 10: Ask File Owner for Exclusive Edit Rights
If this happens frequently:
- Ask the file owner or manager
- Request to give you exclusive edit rights during your editing time
- Or use version control (each person edits at different times)
- Or switch to Track Changes (allows multiple editors simultaneously)
Why This Happens
- User still editing — Person is actively editing the file
- User didn’t close properly — They closed without saving or crashed mid-edit
- Network lag — Connection issue prevents lock release
- Stale lock file — Lock wasn’t cleared when user closed abnormally
- File permissions — Network drive settings restrict simultaneous editing
- OneDrive cached copy — Cached version is locked; sync issue prevents release
- Multiple devices open file — Same user has it open on two devices
- Backup/sync conflict — Backup software or syncing creating lock
How to Prevent It
- Always close files properly — Don’t force quit; use File > Close normally
- Don’t open file on multiple devices simultaneously — Use one device at a time
- Use OneDrive/SharePoint — Better handles simultaneous access than network drives
- Use Track Changes — Designed for multiple editors; prevents locking
- Coordinate editing time — Agree on who edits when
- Save frequently — Reduces need for others to interrupt
- Use version control system — GitBook, GitHub (for version control)
- Disable auto-backup during active editing — Some backup tools cause locks
Still Not Working? Alternative Solutions
- Open in Word Online — Browser version might not lock as strictly
- Convert to Google Docs — Different collaboration model, no locking
- Copy all content to new document — Create fresh document, paste content, lose formatting
- Email copy for editing — Send email with attachment, edit separately, manual merge
- Use OneDrive instead of network drive — Better simultaneous access handling
- Restart computer/network connection — Sometimes refreshes lock status
- Delete and recreate file — As last resort, copy content to new file
- Contact IT support — If on company network, have admin unlock
Key Takeaways
- Files locked when another user is editing; wait for them to close
- Open in read-only mode to see who locked it (File > Info)
- Copy the file and edit the copy if you can’t wait for original to unlock
- Rename copies clearly (e.g., “Document-v2.docx”) to avoid conflicts
- Lock files (
.~lock.*or~$*) are temporary; they auto-delete after timeout - OneDrive/SharePoint handles simultaneous editing better than network drives
- Use Track Changes for true multi-user editing without locking issues
- If lock persists hours after user closed, delete the lock file or copy original
أدلة ذات صلة
توفير ساعات كل أسبوع
أتمتة المهام المتكررة داخل Word — الصياغة والاقتباسات والتنسيق في ثوانٍ.
جرب مجاناً