Unable to Delete Folder and Could not find this item
Sometime you had this same problem using Server 2012 Std or Server 2012 R2. Iyou tried various options of taking ownership of the parent folder because the Security properties of the folder. you tried trying to delete were blank, using CMD and Dir /x etc. you even tried sharing the parent folder and then delete it. None of them worked. When you tried Dir /x Server 2012 or 2012 R2 doesn't show the 8 character filename with the ~1. you tried typing it in yourself, but that didn't work either. you then found that there was a space at the end of the folder name. you then tried all the CMD options again using a space, still no luck.
This solution should help you out:
Open CMD and then type:
rd /s "\\?\D:\bad\folder\path "
example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it.
This worked for me
This solution should help you out:
Open CMD and then type:
rd /s "\\?\D:\bad\folder\path "
example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it.
This worked for me
Comments
Post a Comment