Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unable to delete directory.

24 Apr 2013   #1
askeeve

Windows 7
 
 
Unable to delete directory.

I'm hoping somebody can help me here, I recently moved my Dropbox directory and bungled a few things. At the moment everything seems functional except that I cannot delete one of the folders left from before the move.

The folder is 0 Bytes. It is Read-Only and I am unable to change that. Under the security tab it says: "Unable to display current owner". I have tried deleting it from an administrator explorer window, with rmdir from an administrator cmd prompt. I've tried takeown and various other tricks. Everything gives me an "Access is denied" error.

This folder was the previous location of my music library and I had MediaMonkey installed and set to monitor that folder. I have double and triple checked that I removed this from the settings and I've killed all the MediaMonkey processes I can find. This has not fixed it, but it is the only cause I can think of. I would greatly appreciate anybody's advice in this matter.


My System SpecsSystem Spec
.
24 Apr 2013   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

Welcome to the Seven Forums.

You can try the take ownership method:
Take Ownership - Allow or Prevent Users and Groups To
or
Take Ownership Shortcut

Or you can install/use unlocker. See the link below the video in this post:
Two TEMP Folders
Be sure to install the correct version (32bit vs. 64bit) and opt out of the junk that may come with the installer.
My System SpecsSystem Spec
24 Apr 2013   #3
Ztruker

Windows 10 Pro X64
 
 

He said he already tried Takeown.

Try deleting it from a bootable Live Linux CD or flash drive. See here: Emergency Kit - save your files from a dead OS

Tutorial was written to help save files from a non-bootable Windows system but once you have the bootable flash drive you should be able to use it to delete any file or folder on the hard drive.
My System SpecsSystem Spec
.

24 Apr 2013   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
He said he already tried Takeown....
Yep, I saw that in the OP - but I was not sure if it was done correctly; hence the links tuts.
My System SpecsSystem Spec
Reply

 Unable to delete directory.




Thread Tools




Similar help and support threads
Thread Forum
Files won't delete in directory - can't rename the directory either
So i have 3 files i cannot delete after uninstalling a game. I also cannot rename the folder they are in without windows explorer not responding and i have to restart explorer. I did take ownership method but that froze up to. I went into safe mode, and tried it that way - also didn't delete, it...
General Discussion
is c/boot directory needed? may delete it?
when i have installed windows 7 ultimate then i didnt had this folder . but this time i am getting this boot folder,,,,is it required folder or not? why this is seen this time and not previous installtion of win7? may i delete this ? is there any wrong going if i delete this? please help me pic...
Performance & Maintenance
Can't delete directory on external hard drive
I have an external 1 TB hard drive. Its usually connected to an XP machine, but I can move it to a Win 7 machine. I am unable to delete a directory. I got a hint to try using the CMD window. The top of the dir list is: K:\ dir /X Volume in drive K is 1TB HD Volume Serial Number is...
General Discussion
Win 7 Pro: Need script to delete oldest file in directory
Howdy, I use a cloning program that automatically clones c: to e: (external drive) on a daily basis. I would like to automatically run a daily script (or something) to delete the oldest clone on the drive. I have absolutely no experience with scripting so if someone could offer simple...
General Discussion
Files that I can delete off of Main HD directory
I am terribly sorry if I posted this in the wrong place. I couln't really find a catagory that this could go under. This is the closest. I am cleaning out my HD, I am at the main directory and I know deleting certain files (such as C:\Windows) would screw up the system. There is tons of files in...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App