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 Windows 7 RC a year or so ago on my second drive while running Vista on my main drive, just to test Windows 7. Since then, I have of course upgraded my main drive to Windows 7, 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.

Gary
My System SpecsSystem Spec
.


21 Dec 2009   #4
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
Reply

 protected files - how to delete..




Thread Tools




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 10:24 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33