Share via

Can't reach any other help so here you are!

Maxine Nietz 1 Reputation point
2026-03-18T17:59:57.2+00:00

I am trying to delete a folder. I am in the folder: C:\Users\nevadamax. I want to delete a folder named "Documents" but get the following error:FolderInUseError

I have checked Task Manager and no such folder is open. What now??????????????

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

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-18T18:00:14.89+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error indicates that a file or handle inside the Documents folder is still open by some process. Windows will not delete a folder while anything inside it is in use.

    Use these steps to identify and close what is using it, then delete the folder:

    1. Close obvious apps
      • Close File Explorer windows that are showing this Documents folder.
      • Close apps that might use files in Documents (Word, Excel, Notepad, backup/sync tools, etc.).
    2. Restart and try again
      • Restart Windows.
      • After sign‑in, do not open any apps.
      • Open File Explorer, go to C:\Users\nevadamax, and try deleting Documents again.
    3. Delete from Command Prompt
      • Press Win + X → choose Windows PowerShell or Command Prompt.
      • Run:
             rd /s /q "C:\Users\nevadamax\Documents"
        
      • If the folder is still in use, the command will fail, confirming that some process still has it open.
    4. Check for locked handles
      • Use a handle‑inspection tool (for example, from Sysinternals) to find which process has a file open in C:\Users\nevadamax\Documents.
      • Close or end that process, then delete the folder again.
    5. Check disk for file‑system issues (if it still will not delete)
      • File‑system corruption can also prevent deletion.
      • Open Command Prompt as administrator and run:
             chkdsk C: /f
        
      • Approve running on next restart, then restart the PC and let chkdsk complete.
      • After it finishes and Windows starts, try deleting the folder again.

    If the folder name contains unusual characters (for example, trailing spaces or periods) and normal deletion fails, delete it from Command Prompt using the extended path syntax:

    del "\\?\C:\Users\nevadamax\Documents"
    

    (Adjust the command if the actual folder name includes trailing spaces or other invalid characters.)


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.