Windows Long Path Support

Warning

To avoid potential issues with Windows’ maximum path length restriction, it is recommended to unzip the package as close to the root directory (C:\) as possible. Extracting the files too deeply nested may result in errors.

The SPARK Virtual Environment requires Windows Long Path support to be enabled. The bootstrap script will attempt to enable this feature automatically, but in some cases, manual intervention may be required. If an error is encountered during the bootstrap process, follow these steps to enable Windows Long Path support. There are two ways to enable long path support in Windows: through Group Policy or the Windows Registry.

Through Group Policy

  1. Open the Local Group Policy Editor by typing gpedit.msc in the Start Menu.

  2. Navigate to Computer Configuration\Administrative Templates\System\Filesystem.

  3. Find the setting for Enable Win32 long paths.

  4. Double-click on Enable Win32 long paths to open it.

  5. Choose the Enabled option and apply the changes.

  6. Restart the computer or update the Group Policy by executing gpupdate /force in the command prompt.

Through Windows Registry

During the bootstrap script execution, the Windows Registry key will be checked, and if necessary, the user will be prompted to perform this step automatically. However, if manual intervention is needed or the bootstrap script fails to enable the Windows Registry key, follow these steps.

  1. Open the Registry Editor by typing regedit.msc in the Start Menu.

  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.

  3. Find the LongPathsEnabled registry key and double-click on it.

  4. Change the Value Data to 1.

  5. Exit the Registry Editor