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

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

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

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

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

 

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

Windows 7 build 7100 x86
 
 

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

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



Similar help and support threads for2: Deleting unwanted Vista files from non-system disk
Thread Forum
Free disk space does not increase after deleting files Hardware & Devices
system optimisation: assistance with deleting vista Installation & Setup
Deleting leftover files after System Restore Backup and Restore
Having trouble deleting the old Vista files General Discussion
Solved deleting unwanted Windows themes Themes and Styles
Solved Deleting System Restore Points Selectively - disk usage Performance & Maintenance
Solved deleting system files ? ? ? 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 08:54 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