Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-checkout-required in Windows 11

ERROR_CHECKOUT_REQUIRED = 221

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 10 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-checkout-required
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time10 min

Solution Steps

  1. 1 Identify the version control system you are using. If you're using Git, open Git Bash or Command Prompt and navigate to the repository folder. Type 'git status' to see the state of your files. If the file is read-only, you need to check it out using 'git checkout -- ' (this discards local changes) or 'git checkout ' to switch branches. For other systems like TFS, use the 'Check Out' command in Visual Studio or the command-line tool.
  2. 2 If you're using TFS (Team Foundation Server), open Visual Studio, go to Source Control Explorer, right-click the file, and select 'Check Out for Edit'. This makes the file writable. If you're using the command line, use 'tf checkout '.
  3. 3 If the file is in a SharePoint library, you may need to check it out via the web interface or the Office application. In Word, Excel, or PowerPoint, go to File → Info and look for the 'Check Out' button. If it's not there, the library might not require checkout.
  4. 4 If you don't need version control, you can remove the read-only attribute from the file. Right-click the file, select Properties, and uncheck 'Read-only' in the General tab. Click Apply and OK. This is a quick workaround but not recommended if you need version control.
  5. 5 If you're using a custom application that enforces checkout, ensure you follow the application's workflow. For example, in some database tools, you might need to 'lock' the record before editing.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free