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 remove Win 7 Install files?

12 Nov 2009   #11


I used Home Premium Upgrade on two home computers which I set up to run as Administrator first thing after install running this CMD as administrator: net user administrator /active:yes

I then went into User Accounts and deleted my named account and files since there weren't any yet.

I am running as full Admin still in 7HP.

My System SpecsSystem Spec
27 Nov 2009   #12

Microsoft Windows 7 Professional 64-bit Service Pack 1

Purchased the Upgrade from W7Prem to W7Pro and now have the Admin account.

On the other than the main drive that still has the Windows directory, I took ownership, then changed the Owner to the Admin, but still had to change each directory one at a time to get the permission to delete the files and than that single directory. This takes forever!

How do you get the permission to delete after being the Owner?

I still have many directories and another drive to do the same thing to remove the Windows directory. Is there an easier way to delete this entire directory at once and not one at a time?
My System SpecsSystem Spec
27 Nov 2009   #13

Microsoft Windows 7 Professional 64-bit Service Pack 1

I found the answer and it worked!!!
1. open an elevated command prompt as administrator
issues the following commands:
3. For Files:
takeown /f file_name /d y
icacls file_name /grant administrators:F

4. For Folders or Directories (will perform action recursively):
takeown /f directory_name /r /d y
icacls directory_name /grant administrators:F /t

5. Then just delete it.............gone!
My System SpecsSystem Spec


 How to remove Win 7 Install files?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
office 2013 install failed now cant re-install or remove
Hey, I have a problem with my laptop when trying to re-install Office 2013 preview edition - basically the initial install failed for some reason and can I can neither remove or install this software leaving me in some sort of Microsoft limbo. Someone I know suggested logging onto the "my...
Microsoft Office
Remove Virtual Box Files, Files Left Behind?
I'm on Windows 7. I know that I had Virtual Box on my pc in the past. I don't see it in Add/Remove Programs, probably because I already removed it. But my C drive is filling up and SpaceSniffer shows that I have a folder named .VirtualBox which is 13.4 GB. How can I remove this to make space on my...
can't remove some folders and files
I have recoverd some folders and files from disater, but some of these are removed. I tried "FileASSASSIN" program to delete these, but it could not worked. If there are other program or tip, please let me know.
General Discussion
I can't remove files from my OLD XP
I can't remove old personal files present in my old XP. I don't need them anymore and I can't delete them in any ways I can find. I tried using FileShredders and ETC, Removing it using CMD forcefully, .. and the file is not in use. It would be nice if someone would help me. :) Thanks in...
General Discussion
remove files
Hi everybody I know there are lots of unnecessary file in window. Before I got one small application to remove them. However I dont remember what it is. Can you give me a hand. Thanks Tuan Tran
General Discussion
Cannot remove files
Hi All I downloaded a file recently and tried to move it to a formatted DVD as I tidied up a number of files I wanted to secure onto DVD and remove from my pc. Most allow me to do this but some do not because they require administrator's permission. (All I am doing is Ctrl-x, and Ctrl-C onto...
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 10:48.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App