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: Deleting unwanted Vista files from non-system disk

04 Oct 2009   #1
geoffschultz

Windows 7
 
 
Deleting unwanted Vista files from non-system disk

I have a new system where I installed Windows 7 on a SSD drive and am using the HDD that came with the system as a user data drive. I want to delete Vista /Windows, /Program Files, etc, but when I try to delete them, I'm told that I need permission from "TrustedInstaller". Without reformatting the drive, how do I get rid of these old Vista files?

-- Geoff


My System SpecsSystem Spec
.
04 Oct 2009   #2
Tews

64-bit Windows 8.1 Pro
 
 

You need to take ownership of the files... See Brinks tutorial -=> Here
My System SpecsSystem Spec
04 Oct 2009   #3
geoffschultz

Windows 7
 
 

I've actually just done that, but it now says that I require permission from FX6800\Geoff (that's me) to make changes to this folder...
My System SpecsSystem Spec
.

04 Oct 2009   #4
Cyberwolf

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by geoffschultz View Post
I've actually just done that, but it now says that I require permission from FX6800\Geoff (that's me) to make changes to this folder...
I had the same problems... Do This...

Goto the Security Tab on the folder you wish to modify permissions...

Click the Advanced Tab

Click the "Allow" line which lists your user account. Click Change Permissions.

Click the "Allow" line again. Ensure it says Full Control, and for your user account. Then check the two boxes below...

- Include inheritable permissions from this object's parent
- Replace all child object permissions with inheritable permissions from this object.

Click Apply, then OK.

This should allow you to nuke any files within that directory (and the directory itself.) Repeat with other directories if necessary.
My System SpecsSystem Spec
04 Oct 2009   #5
Snufffed

 

when in doubt:
orbit --> cmd (run as admin) --> takeown /? {enter}
========================================
Description:
This tool allows an administrator to recover access to a file that
was denied by re-assigning file ownership.
Parameter List:
/S system Specifies the remote system to
connect to.
/U [domain\]user Specifies the user context under
which the command should execute.
/P [password] Specifies the password for the
given user context.
Prompts for input if omitted.
/F filename Specifies the filename or directory
name pattern. Wildcard "*" can be used
to specify the pattern. Allows
sharename\filename.
/A Gives ownership to the administrators
group instead of the current user.
/R Recurse: instructs tool to operate on
files in specified directory and all
subdirectories.
/D prompt Default answer used when the current user
does not have the "list folder" permission
on a directory. This occurs while operating
recursively (/R) on sub-directories. Valid
values "Y" to take ownership or "N" to skip.
/? Displays this help message.
NOTE: 1) If /A is not specified, file ownership will be given to the
current logged on user.
2) Mixed patterns using "?" and "*" are not supported.
3) /D is used to suppress the confirmation prompt.
Examples:
TAKEOWN /?
TAKEOWN /F lostfile
TAKEOWN /F \\system\share\lostfile /A
TAKEOWN /F directory /R /D N
TAKEOWN /F directory /R /A
TAKEOWN /F *
TAKEOWN /F C:\Windows\System32\acme.exe
TAKEOWN /F %windir%\*.txt
TAKEOWN /S system /F MyShare\Acme*.doc
TAKEOWN /S system /U user /F MyShare\foo.dll
TAKEOWN /S system /U domain\user /P password /F share\filename
TAKEOWN /S system /U user /P password /F Doc\Report.doc /A
TAKEOWN /S system /U user /P password /F Myshare\*
TAKEOWN /S system /U user /P password /F Home\Logon /R
TAKEOWN /S system /U user /P password /F Myshare\directory /R /A
C:\Windows\system32>
(The Official Windows Script Method) from Cmd Prompt
My System SpecsSystem Spec
04 Oct 2009   #6
antt

Windows 7 build 7100 x86
 
 

what you need there is some thermite matey
My System SpecsSystem Spec
04 Oct 2009   #7
geoffschultz

Windows 7
 
 

Cyberwolf: Your solution seemed to solve most of my deletion issues. However, I get the following error:

An error occurred while applying security information to:

D:\Program Files (x86)\Internet Explorer\SIGNUP\install.ins

Access is denied.

----------

Never mind, I just went in and applied this to each sub-directory that I was having issues with and was able to delete them one by one.

Thanks, Geoff
My System SpecsSystem Spec
Reply

 Deleting unwanted Vista files from non-system disk




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Deleting unwanted name from File name.
Computer repair engineer reinstalled windows7 premium back on to my computer but changed the ? name on the folder files i.e. C:\users\ Fixed4U\ documents\ or whatever. Can anyone tell me how to get rid of "Fixed4U" and replace it with my own name etc. Regards.
General Discussion
Free disk space does not increase after deleting files
Recently I made a few videos with fraps that took up around 110 gigs of space, so I decided to compress all that and upload to youtube, the amount of space the videos are taking up are now down to 70, but my free disk space hasn't increased, in fact it's decreasing as if I never deleted the videos,...
Hardware & Devices
system optimisation: assistance with deleting vista
When I bought my new computer I had the HDD from my old computer (which ran vista) installed into the casing of my new system and used as a backup drive. it works fine, the only problem is the drive still contains vista which is taking up valuable space. My main question is, what process should I...
Installation & Setup
Having trouble deleting the old Vista files
When I u/g to 7 from Vista it left a bunch of folder on each partition of my hard drive. They were prefixed by the $ sign. They are large - many Gbs and I want to get rid of them. When I try to delete them I get the usual UAC window asking for permission, which I give, but then I get a window...
General Discussion
Deleting System Restore Points Selectively - disk usage
Hi, Thank you for WindowsSeven forums. I have just registered but during the last 6 months or so I have used the resources provided here - particularly the tutorials - to set up my Wndows Home Premium x64 system. Looking at one of the tutorials:...
Performance & Maintenance
deleting system files ? ? ?
Had to do a reinstall of Win 7 Pro and now I want to delete the Windows.old folder. I am the only usr on this system, and the OS says I need permissions to delete. (see screenshot attached of folder I want to delete). Can someone assiste me in deleting this folder? Thanks.
General Discussion


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 17:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App