Share via

How can I delete corrupted folders on my USB drive when normal methods and CMD access don't work?

Anonymous
2024-09-02T03:11:13+00:00

I'm having trouble deleting two folders on my USB drive because they are corrupted, and normal deletion methods aren't working. I've tried using the Command Prompt (CMD) to resolve the issue, but I'm struggling to access the USB drive, which is located at "D:". The CMD opens to "C:\Windows\System32>", and I'm not familiar with how to switch to the D:\ drive or what steps I need to take from there. I would appreciate any guidance from the community experts on how to proceed with deleting these problematic folders. Thank you!

HP Pavillion All-in-One

Processor Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz 2.40 GHz

Installed RAM 32.0 GB (31.8 GB usable)

System type 64-bit operating system, x64-based processor

Edition Windows 11 Home

Version 23H2

OS build 22631.4112

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Quinn.HP 8,670 Reputation points Independent Advisor
    2024-09-02T05:19:10+00:00

    Hello, I'm Quinn, and I'm happy to help.

    Sorry for any inconvenience this may have caused. Please follow these steps to delete corrupted folders on your USB drive using Command Prompt:

    1. Open Command Prompt, and run as administrator.
    2. Switch to the USB Drive, then type: "D:"
    3. If the USB are directly under the root of D, you can skip this step. If they're in a folder, type: "cd path\to\folder"
    4. Delete the corrupted folder. Replace "foldername" with the name of the corrupted folder: type: "rd /s /q foldername"
    5. If the folder isn’t deleted, remove the files inside the folder, type: "del /f /q foldername\*"

    Then, try deleting the corrupted folder again, type: "rd /s /q foldername"

    1. If the folder isn’t deleted, run "chkdsk D: /f" command to fix file system errors. Afterward, try deleting the folder again. A restart might be needed to apply changes.

    After completing these steps, safely eject your USB drive to prevent data corruption. If the problem persists or you have questions, feel free to reply. All the best.

    8 people found this answer helpful.
    0 comments No comments
  2. Quinn.HP 8,670 Reputation points Independent Advisor
    2024-09-03T02:50:55+00:00

    You're welcome! Let me know if you need anything else.

    0 comments No comments
  3. Anonymous
    2024-09-02T20:18:27+00:00

    Awesome! Thanks Quinn. You Rock!

    0 comments No comments