When copying, creating, saving or moving files and folders in Windows, you may encounter errors such as “File name too long” and others that have to do with too long file and folder names.
The main ways of correcting mistakes:
- Use shorter file names.
- Include support for long paths.
- Use file managers which can handle long paths by default (Total Commander, Files,7-Zip File Manager, etc.).
Registry editor:
- Right-click on the Start button and select Run or press Win+R on your keyboard.
- Enter regedit and press Enter.
- In the registry editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- In the right pane of the registry editor, double-click the parameter named LongPathsEnabled and set the value to 1 instead of 0 for this parameter.
- Close the registry editor, restart the computer
Local Group Policy Editor:
- Press Win+R on your keyboard and type gpedit.msc.
- Go to Computer Configuration – Administrative Templates – System – File System.
- Double-click the Enable Win32 Long Paths option.
- Set this option to “Enabled” and apply the settings.
- Close the local group policy editor and restart the computer.
Related posts:
How to reset network settings windows 11
How to enable developer mode in Windows 11
How to change DNS server Windows 11
How to disable test mode in Windows 11
How to fix DX11 feature level 11.0 is required error in Windows
How to edit the hosts file
How to fix DX11 feature level 10.0 is required error in Windows
How to turn computer screen upside down
How to fix bootrec.exe /fixboot access denied error Windows 11
How to go into BIOS Windows 11
How to fix msteams.exe Bad image Windows 11
How to enable a screensaver in Windows 11