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


Status
Not open for further replies.

Triad

New member
Local time
6:13 PM
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 My Computer

At a glance

Windows 11 Home
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 My Computer

At a glance

Windows 11 ProCore i7-13700K64 GB Kingston Fury Beast DDR5Gigabyte GeForce RTX 2060 Super Gaming OC 8G
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 & Dell (secondary)
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
80 Mb / s
Browser
Chrome
Antivirus
Defender, Malwarebytes Free & AdwCleaner
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 My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8894
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    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
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    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
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8894 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my 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 My Computers

  • At a glance

    Windows 11 Pro 25H2Intel Core i7-10700K16GB (8GB PC4-19200 DDR4 SDRAM x2)NVIDIA GeForce GTX 1050 TI
    OS
    Windows 11 Pro 25H2
    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
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 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
    Webroot SecureAnywhere CE 26.1
  • At a glance

    Windows 11 Canary ChannelIntel Core i5-8400 CPU @ 2.80GHz16 MB DDR 4-2666
    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-A
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Keyboard
    Logitek K270
    Mouse
    Logitek M185
    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 My Computers

  • At a glance

    Windows 11 Pro 25H2Intel Core i7-10700K16GB (8GB PC4-19200 DDR4 SDRAM x2)NVIDIA GeForce GTX 1050 TI
    OS
    Windows 11 Pro 25H2
    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
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 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
    Webroot SecureAnywhere CE 26.1
  • At a glance

    Windows 11 Canary ChannelIntel Core i5-8400 CPU @ 2.80GHz16 MB DDR 4-2666
    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-A
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Keyboard
    Logitek K270
    Mouse
    Logitek M185
    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 My Computer

At a glance

Windows 7
OS
Windows 7
Status
Not open for further replies.
Back
Top Bottom