"Destination Path Too Long" after enabling long path names in registry?


Triad

New member
Local time
3:49 AM
Posts
3
OS
Windows 11 Home
I am migrating data from one PC (Windows 10) to a new PC (Windows 11).

My W10 PC had some nested folders, some of which contained longer than usual names. My W10 PC handles them fine, but when I copy them to my W11 PC, I get the "Destination Path Too Long" error message for certain subfolders.

I followed articles' instructions to change the registry setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem --> LongPathsEnabled from 0 to 1, and restarted the machine.

I still get the error message when trying to copy over the same subfolders.

Edit: It's Win11 Home, so I don't have the Group Policy Editor (gpedit.msc). I downloaded PolicyPlus and am looking for instructions on how to set the group policy there. It doesn't have the same folders / categories as what is expected based on the YouTube videos I'm watching, nor the regular Group Policy Editor categories so I'm going to have to do more digging.

Context: I am copying files for existing video editing projects. Media has been linked to various clips in large projects within software, hundreds of separate clips and elements. I could rename many folders and filenames in the copy, but that would require manually examining and potentially re-linking hundreds of files.

Edit: I see some saying that Windows Explorer does not support long paths, even with the above instructions. Which is odd.. the paths are the same length on my Win10 PC and it works..
I see multiple people recommending Directory Opus in other forums regarding this issue, as it supports long file paths, but it costs $.

Please advise?
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
I use the utility TLPD to find offending files and change their path / name to keep within the 255 character limit.
TLPD.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
The culprit in my case has always been the folder depth.
Folder name/folder name/folder name/folder name/*.file

Using the tool @Steve C suggests then moving the offending folder closer to the root of the drive works for me.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Full Tower
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
I am migrating data from one PC (Windows 10) to a new PC (Windows 11).

My W10 PC had some nested folders, some of which contained longer than usual names. My W10 PC handles them fine, but when I copy them to my W11 PC, I get the "Destination Path Too Long" error message for certain subfolders.

I followed articles' instructions to change the registry setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem --> LongPathsEnabled from 0 to 1, and restarted the machine.

I still get the error message when trying to copy over the same subfolders.

Edit: It's Win11 Home, so I don't have the Group Policy Editor (gpedit.msc). I downloaded PolicyPlus and am looking for instructions on how to set the group policy there. It doesn't have the same folders / categories as what is expected based on the YouTube videos I'm watching, nor the regular Group Policy Editor categories so I'm going to have to do more digging.

Context: I am copying files for existing video editing projects. Media has been linked to various clips in large projects within software, hundreds of separate clips and elements. I could rename many folders and filenames in the copy, but that would require manually examining and potentially re-linking hundreds of files.

Edit: I see some saying that Windows Explorer does not support long paths, even with the above instructions. Which is odd.. the paths are the same length on my Win10 PC and it works..
I see multiple people recommending Directory Opus in other forums regarding this issue, as it supports long file paths, but it costs $.

Please advise?
I use TeraCopy and FastCopy when I copy files and folders. I never tried copying files with very long names so I don't know if one of the programs would work or not. You can also do a search for free File Explorer alternatives and see if one of the free programs will copy over the long file names.
 

My Computers

System One System Two

  • OS
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Samsung SAM0A87 Samsung SAM0D32
    Screen Resolution
    1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    ESET Internet Security
  • Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-S
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Mouse
    Logitek M185
    Keyboard
    Logitek K270
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender
I use the utility TLPD to find offending files and change their path / name to keep within the 255 character limit.
TLPD.
Would they have to rename or move the files and folders so they can be copied? @Triad said that they have hundreds of files.
 

My Computers

System One System Two

  • OS
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Samsung SAM0A87 Samsung SAM0D32
    Screen Resolution
    1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    ESET Internet Security
  • Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-S
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Mouse
    Logitek M185
    Keyboard
    Logitek K270
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender
You can use Robocopy.exe, which doesn't care about very long filenames.
Code:
robocopy /E C:/path/with/very/long/names C:/new/path
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom