Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-filename-exced-range in Windows 11
ERROR_FILENAME_EXCED_RANGE = 206
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-filename-exced-range |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 15 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 First, try to shorten the file path. Right-click the file or folder, select 'Rename', and give it a shorter name. Also, consider moving the file to a higher-level folder (e.g., from C:\Users\Name\Documents\Project\Subfolder\... to C:\Users\Name\Documents\). This is the simplest fix.
- 2 Enable long paths in Windows: Press Windows key + R, type 'gpedit.msc' and press Enter (if you have Windows Pro or Enterprise). Navigate to Computer Configuration → Administrative Templates → System → Filesystem. Double-click 'Enable Win32 long paths', select 'Enabled', and click OK. If you don't have gpedit.msc (Windows Home), you can edit the registry instead (see next step).
- 3 If you're on Windows Home, edit the registry: Press Windows key + R, type 'regedit' and press Enter. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Find the value 'LongPathsEnabled', double-click it, set to 1, and click OK. If it doesn't exist, right-click, select New → DWORD (32-bit) Value, name it 'LongPathsEnabled', and set to 1. This tells Windows to allow paths longer than 260 characters.
- 4 Restart your computer to apply the changes. After reboot, try accessing the file again.
- 5 If the error still occurs, use a tool like 7-Zip to extract or copy files with long paths. 7-Zip can handle long paths better than File Explorer. Download and install 7-Zip, then right-click the file and choose '7-Zip' → 'Extract Here' or 'Copy to...'.
🔍 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