In this case a Windows Server 2008 R2 file server was hosting company's file shares. This Windows File Server was having several disk volumes with file shares and scheduled volume shadow copies. Users with necessary access permissions to file shares were able to restore previous version of files and folders. In this case a user was complaining that he was unable to restore the previous version of file, because Windows Explorer was preventing to do so, with following error message:
The solution provided in the error message "Try moving to a location ..." is not applicable because shadow copies are read only. In order to restore this file from volume shadow copy, I have exposed the volume shadow copy as a directory symbolic link.
Finding the necessary volume shadow copy can be achieved using vssadmin or diskshadow. Because the Windows File Server was having several disk volumes, I wanted to list the shadow copies of the affected volume only. This can be done using vssadmin:
The source file names(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation...
The solution provided in the error message "Try moving to a location ..." is not applicable because shadow copies are read only. In order to restore this file from volume shadow copy, I have exposed the volume shadow copy as a directory symbolic link.
Finding the necessary volume shadow copy can be achieved using vssadmin or diskshadow. Because the Windows File Server was having several disk volumes, I wanted to list the shadow copies of the affected volume only. This can be done using vssadmin:
vssadmin list shadows /for=driveletter:From the output of the command, I've found the needed volume shadow copy (for example: Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1007) . Next, I've created directory symbolic link using mklink :
mklink /D "c:\temp\vss" \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1007\Now browsing the into c:\temp\vss, I was able to access the "problematic file" from the volume shadow copy and recover the requested version of the file. At the end, I've deleted the created directory symbolic link.
LONG PATH TOOL is a simpler and better solution than this one
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIf you trying to resolve path too long problem
ReplyDeleteUse long path tool.... It's very easy solution and you can find it..... By writing at Google search "long path tool"
If you trying to resolve path too long problem
ReplyDeleteUse long path tool.... It's very easy solution and you can find it..... By writing at Google search "long path tool"
http://benevolentmachine.blogspot.com.eg/2010/10/eliminating-deltacopys-file-name-too.html?showComment=1441382665574&m=1#c3477201592777335910
ReplyDeleteTRY LONG PATH TOOL PROGRAM IN THIS KIND OF PROBLEM.
ReplyDeleteLong path Tool will surely work for you!
ReplyDeleteLong Path Tool help me a lot when i have an issue like file deleting or renaming the file. Also good to use if file name and file extension is too long
ReplyDeleteLong Path Tool worked wonders for me, thanks.
ReplyDeleteThe Long path tool is the very best program for error, unlock solution.
ReplyDeleteTry it and solved your problem.
I used the long path tool and I solved my error, unlocks problem solution.
This comment has been removed by the author.
ReplyDeleteHave you tried ‘Long Path Tool’ ?
ReplyDeleteit’s very useful in this type of case.
Long Path Tool is the right choice and it is very easy to use.
ReplyDeleteThe Vip clients might have gone through with an amazing way to convert the theories out here.
ReplyDeleteIndependent Massage Service in Delhi
"Always aim to pee in toilet, not around it. Your bathroom floor will thank you!"
ReplyDeleteJack Patton, your recent post about urinal toilet bowl was both informative and engaging. Thanks for sharing such useful insights!
ReplyDeleteClaudia's jewelry from Lulu Avenue is absolutely breathtaking! The designs are elegant and contemporary, perfect for any occasion. The quality of her pieces is outstanding, and they add a touch of sophistication to any outfit. If you're looking for stylish and unique jewelry, Claudia's collection at Lulu Avenue is a must-see!
ReplyDeleteA belly ring is a trendy and attractive piece of jewelry that enhances the look of your navel piercing. It comes in various styles and designs, allowing for personal expression. Proper care and hygiene are essential to prevent infections and ensure a smooth healing process.
ReplyDelete