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
orerockon

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
Callender

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

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:

<Delete>

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

Example:

<Delete>

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

 How to delete protected folders/files from previous install




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Cannot delete files from previous hard drive, administrative issues
Hello! I have been systematically moving old pictures and other files of value from my the hard disk that used to my primary drive in my old PC. I have now moved everything over and want to delete everything from it making it an empty drive for storage. Unfortunately it seems a lot files are still...
General Discussion
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
How to delete all folders/files with a certain name
I want to delete all the files/folders with a certain name like the __MACOSX folders that comes with many icon packs. Is there a tool or script that can do that? I think there should a command-line instruction to do this but i couldn´t find it.
General Discussion
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...
Tutorials


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 03:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App