Windows 10: 'File name is too long' error when trying to restore file

Discus and support 'File name is too long' error when trying to restore file in Windows 10 Software and Apps to solve the problem; I am attempting to restore a folder which was, by error, deleted in "Windows Server 2016". I can see several versions of that folder in "Previous... Discussion in 'Windows 10 Software and Apps' started by RaúlCG, May 18, 2022.

  1. RaúlCG Win User

    'File name is too long' error when trying to restore file


    I am attempting to restore a folder which was, by error, deleted in "Windows Server 2016". I can see several versions of that folder in "Previous versions" tab of its parent folder, and I can open any of those versions and browse it. When I attempt to restore it, it begins to recover fiel after file, all working apparently fine until the end of the process, when it shows the error 'the file name is too long' and some of them are not restored. Using a third tool to compare the content of the backup and the content of the restored folder, I can see clearly which are the files that could not

    :)
     
    RaúlCG, May 18, 2022
    #1
  2. Patrick8 Win User

    Can't open or rename file (name is too long) WTF?

    Hi Ramsey,

    I suggest to try "Long Path Tool" program .

    before I have problem cannot copy file because file name too long. and after I found long path tool and now my problem solved

    Thanks

    Patrick
     
    Patrick8, May 18, 2022
    #2
  3. Can't open or rename file (name is too long) WTF?

    Thread necro...

    When in doubt, use CMD.

    1. Run CMD
    2. Use CD <path> to navigate to the directory where the file exists.
    3. Use the DIR command to get the list of files. DIR will likely abbreviate the ridiculously long named file with NAME~1.
    4. Use the MOVE <source> <destination> to give the file a new name. For example: move "NAME~1" "MyShortName"
    5. ...
    6. PROFIT!

    CMD is always the answer. *Wink 'File name is too long' error when trying to restore file ;)
     
    FordGT90Concept, May 18, 2022
    #3
  4. 'File name is too long' error when trying to restore file

    Corrupt files when restored

    Took me a while to answer, and follow the instructions.
    Here are the results:
    Restoring from the 2TB drive failed and the FAQ page on GetDataBack site explains this scenario (file name found but on valid data to restore on NTFS) quite well.
    Recuva software also found the files by name but they weren't valid to restore. For the next part Recuva wasn't helpful, too.
    I decided to try a different approach. I managed to find an old HDD (that I stopped using because it fell and "got" bad sectors) that had the photos. I used R-Studio program to skip those sectors (manually, they were too much for the program to ignore in sequential scan) and managed to restore all of them (I think).
    Thanks for the help.
    Hope it helps someone.
     
    BoomBang85, May 18, 2022
    #4
Thema:

'File name is too long' error when trying to restore file

Loading...
  1. 'File name is too long' error when trying to restore file - Similar Threads - 'File name too

  2. File name too long

    in Windows 10 Gaming
    File name too long: I still have an issue with the error "the file name is too long", although it is not. Ihave changed the value in the longpathsenable Keyloccalmachine using registry editor, restarted and same issue !Please advise !...
  3. File name too long

    in Windows 10 Software and Apps
    File name too long: I still have an issue with the error "the file name is too long", although it is not. Ihave changed the value in the longpathsenable Keyloccalmachine using registry editor, restarted and same issue !Please advise !...
  4. File name too long for destination folder

    in Windows 10 Software and Apps
    File name too long for destination folder: I have a parent folder containing multiple subfolders 100+ within. Every folder name is well under 256 characters. I need to transfer this particular parent folder regularly between my computer drives and have had no issue initially. However out of the blue I start receiving...
  5. Get-SmbServerConfiguration: The file name is too long

    in Windows 10 Gaming
    Get-SmbServerConfiguration: The file name is too long: Every time in PowerShell I run the Get-SmbServerConfiguration utility I am unable to get any good results as PowerShell puts up a "file name is too long" error. Curiously this doesn't happen when I run Get-SmbServerNetworkInterface, for example, even though that command is...
  6. 'File name is too long' error when trying to restore file

    in Windows 10 Gaming
    'File name is too long' error when trying to restore file: I am attempting to restore a folder which was, by error, deleted in "Windows Server 2016". I can see several versions of that folder in "Previous versions" tab of its parent folder, and I can open any of those versions and browse it. When I attempt to restore it, it begins to...
  7. Delete files with [TOO] long file names .......

    in Windows 10 Customization
    Delete files with [TOO] long file names .......: The only post I could find was one from this forum from AUGUST 23, 2017 WINDOWS 7/64, but not Windows 10. That dealt with my problem: DELETING FILES WITH NAMES TOO LONG.The instructions said to: Hi, Windows uses a naming convention called Long Filenames LFN. The LFN system...
  8. File name too long

    in Windows 10 Support
    File name too long: I run Win10: [img] And a browser save on the HDD disk, with filename counting 255 letters. And I cannot rename it, move it, or delete it. And I have enabled in the group policy Win32 long file names: Enable or Disable Win32 Long Paths in Windows 10 How can I get rid of...
  9. error:path name too long when extract file

    in Windows 10 Network and Sharing
    error:path name too long when extract file: Greetings technicians, I received the error: path name too long when I extract Avid-Pro_Tools_HD_10.3.9.zip for inner files. Have any way for solving this problem in order to extract file without error....
  10. file name too long

    in Windows 10 Network and Sharing
    file name too long: how to resolve this issue in windows 10 https://answers.microsoft.com/en-us/windows/forum/all/file-name-too-long/783521af-d0ec-410b-826e-67a50a90159c"