How do you delete a folder & contents that System has a lock on?


  1. Posts : 223
    Win 10 Pro 64bit v 21H1 build 19043.1166
       #1

    How do you delete a folder & contents that System has a lock on?


    I've got a duplicate 121Gb folder on my games drive that System has a lock on and I can't delete it. It's a duplicate of one in the Windows App folder on my C:\ drive and I'm not sure how it got on my games drive but I need the space.

    I've tried to change ownership through the various security options for the main folder, individually for the subfolders, and even on individual files. Nothing I've done at this point has made a difference in trying to delete the stuff.

    I've tried RevoUninstaller and CCleaner but they only see 'installed' programs and not these folders. Outside of completely formatting my games drive, I'm at a loss.

    Any ideas?
      My Computer


  2. Posts : 14,020
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    If forthcoming suggestions don't work I'll relate my method of using a Linux Mint LiveDVD, boot to it, locate the files/Folders and Delete. This does not give any indication of the resultant effects of doing so, it's a 'brute force' solution.
    An 18.2 .iso file used to create the disc:
    Editions for Linux Mint 18.2 "Sonya" - Linux Mint
    The Cinnamon version is nice.
      My Computers


  3. Posts : 1,020
    Windows 10 Pro 20H2 19042.572
       #3

    You could try this: Add Take Ownership to Context Menu in Windows 10 Just follow the instructions in the tutorial.
      My Computers


  4. Posts : 31,673
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    Berton said:
    If forthcoming suggestions don't work I'll relate my method of using a Linux Mint LiveDVD, boot to it, locate the files/Folders and Delete. This does not give any indication of the resultant effects of doing so, it's a 'brute force' solution...
    Another 'brute force' solution could be to boot to Advanced Start up and use the Command Prompt under Advanced options. Again, no guarantee of the resultant effects of deleting the files/folders.

    Boot to Advanced Startup Options in Windows 10
      My Computers


  5. Posts : 223
    Win 10 Pro 64bit v 21H1 build 19043.1166
    Thread Starter
       #5

    Did the 'Take Ownership' route and it worked perfectly!

    Thanks a lot to all for your responses!
      My Computer


 

  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 12:33.
Find Us




Windows 10 Forums