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: How to delete protected folders/files from previous install

15 Dec 2014   #1

Windows 7 Professional
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 having a UPS and the only thing recoverable was the contents of the hard drives. So on a new PC running an install of Win 7 from the same disk I copied the contents of the old C: drive to a secondary hard drive so I could recover the files I needed. Now that I have recovered them I would like to delete these folders to get back the storage space. Therefore, in regards to the potential damage to the OS, it doesn't matter who owns or who has permission to modify anything in these folders since they serve no function. I've tried a dozen methods from changing permissions on the folders and everything in them to various user groups and I gather from searching for a solution that Administrator and/or Administrators need to have ownership and full access to these folders and their contents. I am logged in as the "true Administrator" with (technically) full permission to all but the system folders. None of the suggested changes worked. Can I do this at all? I really need the space back that is being hogged by these folders without having to resort to adding another hard drive to get more storage. Reformatting the drive is not an option since I have no way of copying the contents I want to another drive (which I don't have and can't afford, it's a 1TB SSD).
My System SpecsSystem Spec
15 Dec 2014   #2

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

You can try either of these methods if you like:

Cannot delete o byte file that "doesn't exist"

In PowerTool just use the file tab to navigate to a directory and right click to get the delete options.

In UVK - Go to "Run Scripts" and then type:


followed by the directory path or you can specify multiple directories.



E:\Program Files (x86)
E:\Program Files
My System SpecsSystem Spec

Thread Tools

Similar help and support threads
Thread Forum
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...
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...
General Discussion
Cannot delete locked folders from previous installation with full own
An attempt to update to the Windows 8 preview orphaned a "windows" folder and I cannot get rid of it. I have ownership and full permissions for the folder and all children. There are no corruptions in the file system and I am at a loss! I have tried all NTFS permissions, unlocker, etc. PLEASE...
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
Previous Versions - Restore Files and Folders
How to Restore Files and Folders in Windows 7 with Previous Versions Previous versions are copies of files and folders created by Windows Backup when you back up your files, and copies of files and folders that Windows automatically saves as part of a restore point. When system protection is...

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 22:58.
Twitter Facebook