[Fixed] 0x80010135 Path too long while extracting ZIP file error

If you encounter an error while using an archive that error path 0x80010135 is too long, you don’t need to panic. It is easy to resolve the error that may appear due to files with long path names.

Simply renaming the archive to a short name or enabling long file path support on your computer will fix the problem.

Why does error 0x80010135 occur

This error mainly occurs due to files with long names or paths inside an archive. The Win32 API in Windows only supports 260 characters for the file path. So you may not be able to delete or copy these files.

There may also be other causes for this error. The main reasons for this problem include:

  1. File path longer than 260 characters
  2. File Corruption
  3. Malware infection
  4. Improper software installation
  5. Upgrade to Windows 11

How to Fix Error 0x80010135

Since the error results from files having long file paths in the archive or destination location, shortening them should work. You can either manually rename the files to shorter names or enable long path support on your PC.

Extract files to root directory

Extracting files to the root directory adds fewer characters to the file path. Thus, you may be able to extract the contents. Copy the files from the archive to the root folder C:, D: or any other folder of your choice. You can also copy the archive to the root folder and extract its files there.

Rename archive

You can shorten the file path by renaming the archive. If possible, we recommend opening the archive file first and locating all directories with long names.

Rename them to shorter ones and try again to extract the contents of the archive. If you cannot rename the subfolders, rename the archive directory to a shorter name.

Extract subfolders only

You can also open the folders with long filenames in the archive and extract them only to a directory. Then you can organize them in the same way based on the original archive by creating folders and moving subfolders inside. Be sure to use short names for new folders.

Enable long path support with Registry Editor

Support for long paths is disabled by default in Windows. You can enable it using Registry Editor. The registry entry you need is the LongPathsEnabled key. Follow the steps below to access and edit it:

  • Press Windows key + R and enter regedit to open Registry Editor.
  • Click Yes if you see the User Control Account prompt.
  • Navigate to the path: ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem
  • Double click on the LongPathsEnabled key, set its value to one and select OK.

You can also use the elevated PowerShell to perform this method. Follow these instructions:

  • Run it WindowsPowerShell as Administrator. You can press Windows Key + X to select Windows PowerShell (Admin).
  • Type the command below and press Enter to run it: New-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD –Force

Enable long path support with Local Group Policy Editor

There is also an option in the Local Group Policy Editor that manages support for long file paths. To locate and enable this policy, follow these instructions:

Press Windows key + R and enter gpedit.msc to open the Local Group Policy Editor.

  • Click Administrative Templates under Computer Configuration in the left sidebar. Then open System > File System.
  • Locate Enable Win32 long paths on the right. local group policy editor file system settings
  • Double click on it and choose the Enabled option in the next window. enable win32 long paths
  • Click on OK.

Use command prompt to copy

You can use xcopy or robocopy commands to copy the zip contents to the destination. Follow the instructions below to do so:

  1. Search for cmd in the search bar. Then right click on the command prompt and select Execute as administrator.
  2. Click Yes on the permission prompt if it appears.
  3. Type the command xcopy “source file path” “destination path” /O /X /E /H /K and press enter. the source file pathanddestination pathare simply placeholders. Replace them with source file path and destination file path respectively.
  4. For robocopy, the syntax is robocopy “source file path” “destination path” /E /copyall

Use alternative archiving programs

There are many archiving programs available in the market. These programs have many flexible options for compressing and decompressing files. Support for long filenames is also a feature for most of them. You can use these programs to work around this problem.

7-Zip and WinRAR have been popular choices among users for decades. You can also avoid many other archiving errors by using these apps.

Scan for Malware

There are many malware and insidious programs that can corrupt archive files. The computer must be well protected to avoid such a problem. We recommend that you use good antivirus programs and leave their real-time protection settings enabled.

You should try scanning your computer if you encounter this error. We also recommend that you enable cloud-based protection for your defense or antivirus programs for more efficiency.

Repair corrupt system files

Sometimes corruption of system files can cause this problem. A possible solution to this is to use the SFC and DISM. System File Checker and Deployment Image Management and Servicing Tools can check and restore missing and corrupt system files.

Even without this error, performing both processes is still a good idea. Follow the instructions below:

  1. Search for cmd in the search bar. Then right click on the command prompt and select Run as administrator.
  2. Click Yes in the permission prompt if it appears.
  3. Type the commands below and press Enter after each to run them. Processes may take a while to complete.
    • dism /online /cleanup-image /restorehealth
    • sfc /scannow
  4. DISM can restore missing files that SFC does not back up. The presence of these files can increase the success rate of the sfc scan. So it is better to run it first.
  5. Restart your PC.

Update your system

Operating system updates help fix bugs and introduce new features to your PC. Enabling the auto-update feature can help prevent system issues.

Installing system updates is usually a good idea if you are experiencing system errors. To do this, follow the instructions below:

  1. First, go to Settings. You can open the Start menu and click on Settings (cogwheel symbol). Or, you can press the Windows + I keys.
  2. Click on Update and security.
  3. Here, check if any updates are available. You will also see a Install now when available. windows system updates are now installing
  4. Click on it and wait for the updates to complete. Then restart your PC.

Frequently Asked Questions

How to Quickly Recover Deleted, Lost or Corrupt Zip Files?

You will need to use third-party recovery software to recover lost or corrupted data. WinRAR and 7-Zip programs can repair archives. However, they can only do this for header corruption. In all other cases, recovery apps are best. Be sure to check the reviews and opinions of others to determine their reliability before installing them.