Page 1 of 2 12 LastLast
  1.    22 Jan 2016 #1
    Join Date : Oct 2014
    Posts : 207
    Windows 10 x64

    Unable to delete a folder - Invalid folder name


    Unable to delete a folder on an external USB HDD. Tried with take ownership.
    Tried Takedown, and some options on
    Owner of Files and Folders - Change in Windows 10 - Windows 10 Forums

    I booted from USB (WinPE/Paragon) and accessed command prompt from there.
    Deleting the folder: invalid folder name.

    Have no idea how to solve it.
    I can rename the folder, but not move it.

    Any suggestions?

    As far as I can see I am the owner/administrator and having full control on the folder...?

    =
    W10 Unable to delete folder-invalid folder name.pdf

    Have combined all screenshots into 1 PDF - else the post would be way too big.
    never uploaded a PDF before.
    =
      My ComputerSystem Spec
  2.    22 Jan 2016 #2
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,206
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    Suggestion:
    1. Run chkdsk x: /r to make sure that there's no HD corruption.
      x: is the drive containing the folder you want to delete.
    2. Try to delete the folder again. If still does not work, go to step 3.
    3. Download: Download - Linux Mint and create a bootable USB using: Rufus - Create bootable USB
    4. Boot up with Linux Mint and try to delete the folder again.
      NOTE: Unlike WinPE. Linux does not have any Windows permission imposed to it so it is easier to delete.
      My ComputerSystem Spec
  3.    22 Jan 2016 #3
    Join Date : Oct 2014
    Posts : 207
    Windows 10 x64
    Thread Starter

    Thanks. WIll get back on this soonest. I am not sure about the Linux stuff though: never done this before - never went down this 'slippery' road - slippery for me.
      My ComputerSystem Spec
  4.    22 Jan 2016 #4
    Join Date : Oct 2014
    Posts : 207
    Windows 10 x64
    Thread Starter

    Later... I don't know ... I guess I leave it as it is. The folder is very small. 'properties' say 0 bytes and chkdsk will take a day (at least, that is the 'ETA').
    I let the matter go, it isn't worth all the workload.
    Thanks anyway.
    =
      My ComputerSystem Spec
  5.    22 Jan 2016 #5
    Join Date : Nov 2015
    Posts : 4,892
    windows 10 Home threshold2

    Quote Originally Posted by tfwul View Post
    chkdsk will take a day (at least, that is the 'ETA').

    =
    I am glad I am not the only one with the same aggravating experience.
    Chkdsk takes so long it's absolutely unbearable.
      My ComputerSystem Spec
  6.    22 Jan 2016 #6
    Join Date : Oct 2014
    Posts : 207
    Windows 10 x64
    Thread Starter

    Seems you cannot stop it. At least the usual CTRL-C doesn't work. My 'workaround' was to close all applications, then close the elevated command prompt with chkdsk running. The shut down the pc and restart. All seems to be okay now. The folder can still not be deleted though. Take Control, TakeDown, whatever, they don't work in my case.
    I used
    icacls "x:\somefolder" /setowner "Administrators" /T /C
    takeown /F "x:\somefolder" /A /R /D Y
    and takeownership
    I also went thru option 5 from : Owner of Files and Folders - Change in Windows 10 - Windows 10 Forums
    But there the window changing ownership hanged and I had to close it after 20 minutes

    It ain't easy...

    =
      My ComputerSystem Spec
  7.    22 Jan 2016 #7
    Join Date : Aug 2015
    Maine
    Posts : 40,174
    Windows10Pro 64Bit

    Quote Originally Posted by davidhk View Post
    I am glad I am not the only one with the same aggravating experience.
    Chkdsk takes so long it's absolutely unbearable.
    Interesting to hear, as for me Chkdsk has never taken more than 3 to 4 mins tops. Granted both my computers have a SSD on their C-drive, but my D-drives are spinners. Even my D drives don't take long.
      My ComputersSystem Spec
  8.    22 Jan 2016 #8
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,206
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    Quote Originally Posted by OldMike65 View Post
    Interesting to hear, as for me Chkdsk has never taken more than 3 to 4 mins tops. Granted both my computers have a SSD on their C-drive, but my D-drives are spinners. Even my D drives don't take long.
    Depend on what option you use and how badly corrupted your HD is. It can take hours to run, sometimes seems to stall at one spot. For example, if you run with /r option, chkdsk will do a surface scan on every spot on the whole HD including unused spaces, also mark all bad sectors in the MFT table so Windows will avoid using them.
      My ComputerSystem Spec
  9.    22 Jan 2016 #9
    Join Date : Aug 2015
    Maine
    Posts : 40,174
    Windows10Pro 64Bit

    Quote Originally Posted by topgundcp View Post
    Depend on what option you use and how badly corrupted your HD is. It can take hours to run, sometimes seems to stall at one spot. For example, if you run with /r option, chkdsk will do a surface scan on every spot on the whole HD including unused spaces, also mark all bad sectors in the MFT table so Windows will avoid using them.
    Ahh I didn't use the /r option used /f option, which always reports it found no problems. Will have to try that sometime....not today thou.
      My ComputersSystem Spec
  10.    22 Jan 2016 #10
    Join Date : Oct 2014
    Posts : 207
    Windows 10 x64
    Thread Starter

    Assume it also depends on the size of the HDD. With me it was/is a WD USB 3.0 external 6TB drive.
    Also see: CHKDSK stuck in stage 4 of 5 since last night - Microsoft Community
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
How to delete old WindowsApps folder?
I have the problem below. Please help me! 1. Yesterday, I have changed Windows Apps Installation Drive to E: -> Windows 10 created WindowsApps on E: -> I have changed back to C: but WindowsApps folder still exist on E: -> I can not deleted that...
Performance & Maintenance
Can't delete folder on NAS
Hello, I have a WDMyCloud NAS drive for some time now, and all was fine until a few weeks ago when I upgraded my PC to Windows 10. Since then the same problem happened twice: a folder on it becomes read only, so it is impossible to create sub...
Network and Sharing
Solved Can I delete Windows.old folder ?
Can I delete Windows.old folder ? and is it any important file inside that folder ? and where can I find my device manager ? :really:
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 21:38.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums