Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm on Windows 7 but experienced this kind of trouble on Vista as well sometimes. When I want to delete a folder when I have previously accessed a subfolder of it, Windows cannot delete it and instead says that I need permissions to do that. I own the files so it can't be that. The problem will usually only go away after I close the Windows Explorer Window in which I viewed the subfolder, or alternatively, I can delete the directory tree manually from the bottom up (because it can delete always delete empty directories.) Now, is there a workaround to that? Some setting or policy to tell windows not to bitch around?

To make it clear whether this is just a problem on my computer, maybe you can also check this: create a directory "A", and create another directory "B" inside it, and maybe create a text file "C.txt" in B. Open C from the explorer, type something, save, close, then click on the little "reduce" arrow sign next to A in the tree view, and then click on A and delete it. That doesn't work for me.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I don't have a solution to the cause of your problem but I have a suggestion to make. Recently I got irritated from all the file deletion errors and permissions that used to occur in Windows 7 and I searched on the net. I found out this nifty and very small tool called Unlocker . It bypasses all the file restrictions placed if you are the admininstrator and lets you delete as you want so if you want you can try it out........

share|improve this answer
    
Thanks, I'll try that! –  Felix Dombek Dec 20 '10 at 0:45
    
No Problem mate... I hope it helps... –  user57162 Dec 20 '10 at 0:48
    
+1 for Unlocker, I love that thing :) –  Weltenwanderer Dec 20 '10 at 0:52
    
After some problems with the 32-bit version which didn't do anything and made me post yet another question at superuser.com/questions/223881/… , it turned out that this actually works. The question remains whether all Windows 7 computers have this problem. –  Felix Dombek Dec 20 '10 at 4:21

Do you have an antivirus? sometimes these get stuck on a file and since they are being used you cannot delete them, the message about permissions is kind of generic in vista and 7, being display in occasions where permissions are not the problem.

share|improve this answer
1  
I do, but the problem is with Windows, I'm quite sure. There's no problem deleting C.txt or B. The only problem is deleting A directly without deleting C or B first. –  Felix Dombek Dec 20 '10 at 0:12
    
+1 This solved my (similar) problem with this issue. Couldn't delete files because Outlook was trying (and failing) to attach them to an e-mail. Closed Outlook, problem solved. –  Mitch Goshorn Nov 4 at 21:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.