How do I remove a folder?


  1. Posts : 274
    Windows 10
       #1

    How do I remove a folder?


    Windows 10 Version 21H2 (OS Build 19044.2604)

    I downloaded and unpacked this Brother package for a printer. I removed the original file I downloaded, but my computer won't let me remove the unpacked folder. I get:

    Folder Access denied
    You'll need to provide administrator permission to delete this folder.


    I clicked on "Continue" and then it said:

    You need permission to perform this action.
    You require permission from DESKTOP-7AD6CTF\***** to make changes to this folder.


    I've been to several links to try and remedy the problem but nothing seems to work. I wouldn't care so much except that it's a huge file and I'd like to get rid of it.

    Please help if you can.
      My Computers


  2. Posts : 1,256
    Windows 10
       #2

    It could be stuck in memory because the installer or unpacker never terminated completely or some file in the folder is still in memory. You can try restart the computer and then delete it, if this is the case it will delete after a restart failing that then....

    Open a CMD as admin and cd to the location of the folder. Example folder name.... folderToDelete

    cd into the location where the folder is.

    Example:
    cd /d C:\Users\name\Documents
    takeown /r /f folderToDelete

    Delete the folder.

    - - - Updated - - -

    https://learn.microsoft.com/en-us/wi...mmands/takeown
      My Computer


  3. Posts : 43,242
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    A handy free program that deals with locked and undeletable files which can also schedule their deletion on restart (when no permissions issues apply) is

    Emco Unlockit
    UnLock IT Free - Unlock a File or Folder Locked by the System

    See it in a video there too.

    Deleting it by booting to a command prompt, or by booting your PC from a Win 10 install disk or live boot disk basically achieves the same thing- but far less conveniently.
      My Computers


  4. Posts : 7,920
    Windows 11 Pro 64 bit
       #4

    I add Take Ownership to the right click menu as described here Add Take Ownership to Context Menu in Windows 10
      My Computers


  5. Posts : 274
    Windows 10
    Thread Starter
       #5

    Thank you all so much for these answers.
    I have "TakeOwnershipPro on my right click menu and had already used it to no avail. I decided to try it again after reading this and it worked. Go figure! Thanks again.
      My Computers


 

  Related Discussions
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 14:57.
Find Us




Windows 10 Forums