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: deleting undeletable folders/files.

07 Mar 2010   #1
Gw2

Windows 7 Ultimate x64
 
 
deleting undeletable folders/files.

i have 3 or 4 folder which are giving me an error message saying something about me not having permission. ive tried taking ownership and giving myself full permissions but i stll cant delete them.


My System SpecsSystem Spec
.
07 Mar 2010   #2
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

Can you list them here? Once you take ownership of a file or folder you also have to right click on the properties to make sure the "read only" box remains unchecked too. That will prevent deletiing them if that remains checked off.

Some files and folders under "C:\users\user name" become unavailable to change if any are found there. In that circumstance you might actually have to delete the entire admin or user account in order to remove them. Windows has them locked up as reserved.
My System SpecsSystem Spec
07 Mar 2010   #3
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by Night Hawk View Post
...make sure the "read only" box remains unchecked too. That will prevent deletiing them if that remains checked off...
Read only does not prevent a file from being deleted.
My System SpecsSystem Spec
.

07 Mar 2010   #4
Gw2

Windows 7 Ultimate x64
 
 

they're windows xp installation folders on my secondary hard drive (d drive). the folder names are 8d2331f1b822608de007e8c93a1d, 53309402d2af3d21870df85c, fbaa350e425955e6ccb19055.
My System SpecsSystem Spec
07 Mar 2010   #5
Gw2

Windows 7 Ultimate x64
 
 

nevermind i used the command prompt from the 7 install dvd. worked great.
My System SpecsSystem Spec
08 Mar 2010   #6
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by Night Hawk View Post
...make sure the "read only" box remains unchecked too. That will prevent deletiing them if that remains checked off...
Read only does not prevent a file from being deleted.
For folders it will. It depends on what folders there too. Windows protected or simply from a old software installation. You'll find this even more true when needing to delete all of the sub folders before you can remove the Windows.old folder entirely at times. Some of the subs may end up being read only and have to be taken care of first there.

Glad to hear you have that solved. Gw2 Even while those were on a separate drive from a previous version they were still being seen as protected. Once you booted live you bypassed the Windows restrictions.

The alternative if no other files were present and you wanted to clean up the drive would be to reformat D entirely simply to insure the complete removal of the past XP install there. Something else to point you to here for future reference is the "Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista ".

It's a free registry mod for add the option and works quite well for many hard to remove files and folders at times. Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek
My System SpecsSystem Spec
08 Mar 2010   #7
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by Night Hawk View Post
For folders it will. It depends on what folders there too. Windows protected or simply from a old software installation. You'll find this even more true when needing to delete all of the sub folders before you can remove the Windows.old folder entirely at times. Some of the subs may end up being read only and have to be taken care of first there.
Actually, no. Read only is not causing that. Read only never applies to folders, ever. And Read only does not stop deletion, this is very testable.
My System SpecsSystem Spec
08 Mar 2010   #8
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

You may want to review the MS article 326549 "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7" to see what I was trying to explain. You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7

As a general rule the attributes for the files and folders within a main folder are what are effected by the read only box and why you have to remove sub folders and files before you can see the Windows/old folder removed completely if a previous installation was on when it was created. That was precisely what was seen when performing an upgrade repair install on one of the RC installations where you had to go into all sub folders and clean up the files there before the mail folder could be removed by unchecking the read only on the subs too.

Another exampple presently seen in 7 is the Program Data folder where you denied access due to it being a Windows protected archive. You will also note the "hidden" attribute is also set.


Attached Images
 
My System SpecsSystem Spec
Reply

 deleting undeletable folders/files.




Thread Tools




Similar help and support threads
Thread Forum
Permanently deleting files/folders forever
Maybe I'm really OCD but I downloaded certain applications that I now don't need, so is it ok to go into regedit and find those applications and delete them or should I just use add/remove programmes and search windows explorer? I've noticed that even though I've deleted an application in...
Performance & Maintenance
Sub-folders in Libraries- get rid of- without deleting files
I have a new computer and would like to set it up as my previous computer was set-up. A computer tech set it up. Previously I could click on the documents library and all my documents would show up. Now I have sub-folders and I have to click through about 3 sub-folders to come to my documents. ...
Music, Pictures & Video
How to delete Undeletable folders or files from any Drive
Help me. I have three partitions/drives i.e drive C, drive D and drive E. I have installed windows7 Ultimate x86 on drive C. But i have a problem in drive E. There is a folder on drive E which I want to delete. I tried many times to delete that folder but failed every time. If someone know than...
General Discussion
Deleting protected folders/files
Hello. Recently I had a major system crash of pretty much unknown origin, anyway I had to reinstall my Windows 7. I've got two hdd's and being afraid the one I used for system is somehow corrupted I first installed Win 7 on the other drive. Then I decided to install it on the first drive. Now...
System Security
Deleting the undeletable
As I am certain that this topic has been beat to death already I apologize for this, but I have tried everything that I can find to delete my folder. The folder is based from a windows.old folder when I switched from vista to seven, I have renamed to file to something different though. Here is...
General Discussion
Problems deleting files/folders
Hi folks Hoping you can help with what I feels like a simple problem, but very frustrating. the problem exists around deleting folders succession; I'm cleaning up my music collection, so I'm deleting folders containing MP3 files. I delete the first folder no issue, but I try to delete the...
Software


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:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App