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: protected files - how to delete..

21 Dec 2009   #1

Windows 7 Ultimate 64bit
protected files - how to delete..

Here is my situation. I installed Win7 RC a year or so ago on my second drive while running Vista on my main drive, just to test Win7. Since then, I have of course upgraded my main drive to Win7, and no longer need Win7RC on my second drive.

I have removed it from startup options, and deleted all the files I could, from the following folders: program files, program files (x86), users, programdata and windows.

However, in all of these folders, there remain other folders and files that I cannot delete, no matter what I try.

So far, I have tried safe mode, I have tried to load PELoader and access the drive completely without any OS, I have tried the attrib command, and even with the attrib command, it says ACCESS DENIED.

There are about 10GB of folders/files in the Windows folder, so that is quite a bit, and about 1GB in the other folders I mentioned.

If everything else fails, I will format the drive, but I would really like to do this properly so I know how to proceed in the future. I can't believe even attrib won't work, these files are seriously protected, somehow, even tho they have nothing to do with the OS that is currently running. How is that even possible?!?!?!

Can anyone help?

My System SpecsSystem Spec
21 Dec 2009   #2

Win7 Ultimate X64

In properties under security tab, click advanced, then change ownership/permissions to your liking

You should then be able to do with files as you please
My System SpecsSystem Spec
21 Dec 2009   #3

Vista Ult 64 bit Seven Ult RTM x64

Welcome to 7 Forums salvinorum.

Have you tried this: Take Ownership Shortcut

If there is nothing on the drive you want to save, the easiest/fastest way I know of is with disk management.

Rt. click on the partition you want empty, select delete volume. It will become free space. Rt. click on the free space and new simple volume. Click Next at each window.

Hope this helps.

My System SpecsSystem Spec

21 Dec 2009   #4
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate

Hello salvinorum.

In disk management which OS is listed as "System" that can't be deleted/removed, if that's the case with you mark the OS you want to keep as active and run a Repair Install to see if that will take care of it for you, (it may take a couple maybe three) "repairs" to get it right.

See my pic below.

protected files - how to delete..-boot.jpg

My System SpecsSystem Spec
22 Dec 2009   #5

Windows 7 Ultimate 64bit

Thanx for the info, I'll get on it and let you know if I succeeded.
My System SpecsSystem Spec
22 Dec 2009   #6

Windoze 7

/off topic
does your name have any relation to salvia divinorum??
My System SpecsSystem Spec
22 Dec 2009   #7

Windows 7 Pro & Vista Home Premium

My System SpecsSystem Spec
23 Dec 2009   #8

Windows 7 Ultimate 64bit

Just to let you know, nothing worked, not even changing ownership (it was owned by trustedinstaller, i changed it to myself).

I'll try third party software, but really, that shouldn't be an option, there has to be a way.

How is it even possible for these files to be so locked that I can't even delete them when I go to DOS via a third party OS, that has nothing to do with Windows? Unbelievable.
My System SpecsSystem Spec
23 Dec 2009   #9

Windows 7 Ultimate 64bit

Oh, and I just tried three different programs, including lockhunter and unlocker, and they couldnt' delete my files/folders.

First they say that nothing is locking the files/folders, but when I try to delete them using the program, the program says it couldnt' delete the files in question even tho they are not locked.
My System SpecsSystem Spec
23 Dec 2009   #10

Windows 7 Ultimate x64 SP1

Maybe I'm missing something, but why wouldn't you just back up your important data from the second drive, and format it through Disk Management?

Upon further reading, you mention wanting to do this the proper way. Formatting it through Disk management is the proper way. You are dealing with a former system volume, with all it's inherent permissions and such. There's no reason to do this by the method you are attempting, unless you have soo much data on the drive, that it can't be copied off anywhere else. If you want to do it properly, back up any important data, clear the drive, format at to be a data drive, and copy your data back.
My System SpecsSystem Spec

 protected files - how to delete..

Thread Tools

Similar help and support threads
Thread Forum
Password protected files
Is there a way to password protect a file in W7 or do you need 3rd party software?
System Security
Force delete of protected system files
I am reorganising my software to have only Windows functional files on drive C:/ and all other files on drive D:/. I cannot delete Program files, Program Files(X86) and similar from drive C:/ because system will not allow access to the files. Can anyone please advise how to overcome this system...
How can I delete a protected dynamic disc partition
I am running a custom built PC with a 120GB SSD for boot and a 1TB HDD. I accidently made my HDD a dynamic drive and am trying to convert it back to the basic format. To do so i understand I have to delete all of its partitions/volumes I did that successfully for the large 931.41 GB but the other...
Hardware & Devices
How to delete protected folders/files from previous install
Forgive me if this has been answered but I can't find anything that applies to my situation. I would like to delete the Program Files, Program Files (x86) and ProgramData folders from a previous installation of Win 7 x64. Why I want to do this is because my PC was fried by a power surge despite...
System Security
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

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 21:23.
Twitter Facebook