Unable to restore from Shadow Copy due to long filename

Solution 1:

I had the exact same problem in Server 2008 R2 and this is how I solved it:

  1. Right click on the folder you're trying to restore from shadow copy and chose Previous Versions. Chose a date and click on Open.

  2. Right click on any file or folder within the previous folder and chose Properties. On the General tab copy what's shown in 'location', e.g.: \\localhost\D$\@GMT-2011.09.20-06.00.04\_Data

  3. Open cmd.exe and type in:

     subst X: \\localhost\D$\@GMT-2011.09.20-06.00.04\_Data
    
  4. Open PowerShell and use robocopy to copy content of X: e.g.:

     robocopy X: D:\Folder\ /E /COPYALL
    
  5. Check that all files have been copied.

  6. When finished type subst X: /D in the cmd (Command Prompt) window

Solution 2:

Have you tried sharing the folder you are trying to restore from? That way you can try opening \server\share\filename instead of \server\share\path....\filename?

If that doesn't work I would suggest try accessing the volumes through the command line where you can use the \\?\ method for access, which has a 32,767 character limitation.