Deleting unwanted Vista files from non-system disk


  1. Posts : 5
    Windows 7
       #1

    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 Computer


  2. Posts : 11,840
    64-bit Windows 8.1 Pro
       #2

    You need to take ownership of the files... See Brinks tutorial -=> Here
      My Computer


  3. Posts : 5
    Windows 7
    Thread Starter
       #3

    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 Computer


  4. Posts : 144
    Windows 7 Ultimate x64
       #4

    geoffschultz said:
    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 Computer


  5. Posts : 1,179
       #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 Computer


  6. Posts : 209
    Windows 7 build 7100 x86
       #6

    what you need there is some thermite matey
      My Computer


  7. Posts : 5
    Windows 7
    Thread Starter
       #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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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:52.
Find Us