Error: Error 1325. EsriPyFldr is not a valid short file name
Attempting to uninstall, upgrade, or install another ArcGIS for Desktop version (after uninstalling a previous version), fails and returns the following error:
Error 1325. EsriPyFldr is not a valid short file name.
The issue can occur due to corrupted ArcGIS installation folders in ArcGIS for Desktop. Residual folders were not deleted and are left in the registry without having a parent connection to any other folder. This results in an incomplete uninstallation. Thus, reinstalling another version of ArcGIS for Desktop returns the error.
Solution or Workaround
Perform a clean uninstallation of ArcGIS for Desktop before installing the new version. For more information on uninstalling ArcGIS for Desktop, refer to the following web help document, ArcGIS for Desktop Help: Uninstalling ArcGIS for Desktop.
Use the following steps to ensure a clean uninstallation of ArcGIS for Desktop:
- From Windows Explorer, Navigate to C:\Program Files (x86), and remove the ArcGIS folder.
- Rename all ArcGIS and Esri folders from the following locations:
- C:\Program Files (x86)
- C:\Program Files (x86)\Common Files
- C:\Program Files
- C:\Program Files\Common Files
- C:\Program Data
- C:\Users\<user name>\AppData\Local
- C:\Users\<user name>\AppData\Roaming
- Navigate to the Windows registry; Click Start > Run. In the Run dialog, type regedit, and press Enter.
Warning: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary. Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
- Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE] and delete the Esri folder.
- Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node] and delete the Esri folder.
- Refresh the machine and run the installation software.
Note: The folder, AppData, is a hidden folder. To show hidden folders, refer to the following web help, Windows Help: Show hidden files.
Note: In a scenario where a clean installation is performed and the issue still persists, the problem may be caused by the Windows OS installed on the machine. Refer to the following Microsoft link to fix the issue, Microsoft Help: Fix problems that block programs from being installed or removed.