Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Unable to Delete Folder Even as Owner; Really Confused

  • Please log in to reply
2 replies to this topic

#1 dxandbatista


  • Members
  • 14 posts
  • Local time:12:55 PM

Posted 16 December 2013 - 04:22 PM

So my Avast has been acting up lately (can't bring it up) so I decided to uninstall it. Its folder on the C Drive was still there though, so I tried deleting it but I can't as it keeps giving me the 'Folder Access Denied' message where it says 'You require permission from Users to make changes to this folder'.


So I go to the advanced security settings for the folder and set 'Users (****-pc\Users)' as owner, but it still says that my access level is 'Read & execute' only, not 'Full control'. I still can't delete the folder; what the heck is happening?  

BC AdBot (Login to Remove)


#2 cryptodan


    Bleepin Madman

  • Members
  • 21,868 posts
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:05:55 PM

Posted 16 December 2013 - 05:16 PM

Can you try this: http://www.filehippo.com/download_unlocker/

Also where is the folder located?

#3 JohnnyJammer


  • Members
  • 1,117 posts
  • Gender:Male
  • Location:QLD Australia
  • Local time:03:55 AM

Posted 16 December 2013 - 09:06 PM

Even setting the Admin as owner and applying permissions down the directory doesnt always work. You would have to go to the very last file and change the settings one by one, another option i do is use handle.exe from Nirsoft and create a registery entry so i can right click on folders to see what application is still using it.

Downlaod the Nirsoft sweet and put the handle.exe file in the C:\Windows  directory then create/save this txt as a ViewOpenFiles.reg and merge it.

Windows Registry Editor Version 5.00


@="View Openfiles"


@="cmd.exe /k handle -a -u \"%1\""

To also create a directory print save these 2 files to the C:\Windows drive.


Batch file (Call it PrintDirectory.bat)

@echo off

del "%temp%\Listing.txt"

dir %1 /b /on /s > "%temp%\Listing.txt"

start notepad "%temp%\Listing.txt"


Registry file call PrintDirectory.reg

Windows Registry Editor Version 5.00




@="Print Directory Listing"


@="PrintDirectory.bat \"%1\""




@="Print Directory Listing"


@="PrintDirectory.bat \"%1\""





Now i created both of these because i need to first print the directory of the stubern folder to see whats in it, then using the viewopenfiles it will show you the svhost.exe number with PID. Very handy for any SysAdmin.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users