Results 1 to 4 of 4

Thread: Tips for Taking File Ownership in Windows 7 & Vista

  1. #1
    Join Date
    Apr 2008
    Posts
    598

    Tips for Taking File Ownership in Windows 7 & Vista

    Every file or folder in Windows 7 & Vista is protected and to get access to have to get the ownership right for that. The owner controls are those permissions which are are set on the object for which permits are granted. If an administrator needs to edit or change the permission on any file or folder, then the Archive property should be taken. The owner can always change permissions on an object, even when denied all access to the object. To take ownership of files, right click and select Properties.

    Solution 1

    The Access Denied message in Vista with us every time we try to do something with a system file. On the file system users do not have permits, the owner of those files is the user TrustedInstaller (TrustedInstaller is service Windows Installer modules, under which programs are installed on Windows.).

    This security measure prevents a user overwrite, delete, or replace Windows system files. The solution to handling these files is to take possession of them and, as owners, assign permissions to your user.Change the permissions of the Windows system files can cause problems
    With Windows Explorer.

    To take ownership of a file:
    • Right click on the file (or folder) Properties
    • Security Tab
    • Advanced button
    • Owner Tab
    • Edit button. May ask us to privilege elevation
    • Select or add the user or group> OK button.
    • Give permissions to our user / user group:
    • We return to the Security Tab> Edit button
    • We seek our user or group and select permissions. If not we'll add it with the Add button
    • This we must do for each file you want that our user has permissions.


    By command line.

    We have 2 commands that help us to take ownership of a file and set permissions. takeown is the command for that. Used to take ownership of a file, formatted takeown /f filename. For example, to take possession of the file explorer.exe. takeown /fc:\windows\explorer.exe. Displays and grant privileges to a user or group on a file. icacls Path_And_File_Name /GRANT USER:F. For example to give full control permissions to the administrator user on the file explorer.exe: icacls C:\windows\explorer.exe /grant administrator:F. Both should run in a cmd with elevated privileges.

  2. #2
    Join Date
    Apr 2008
    Posts
    598

    Re: Tips for Taking File Ownership in Windows 7 & Vista

    Solution 2

    • The first thing to do is look to see if we are users if we are not administrators, we are hardly able to take full possession of the file.
    • You can access that by a right click on the file and then go to properties.
    • Click the Security tab, and then click OK on the Security message (if there is one).
    • Click Advanced, and then click the Owner tab.
    • In the Name list, click Administrator, or the Administrators group, and then click OK.
    • To change the permissions on the file it now owns, follow these steps:
    • Click Add.
    • In the list Enter the object names to select (examples), type the user account or group that want to have access to the file. For example, type Administrator.
    • Click Add.
    • In the Names list or user group, click the account you want, then select the check boxes of the permissions you want to assign to this user.
    • When you are finished assigning permissions, click OK.
    • You now have access to the file.
    • Those are the basic steps, leading to take possession of a file.

  3. #3
    Join Date
    Apr 2008
    Posts
    598

    Re: Tips for Taking File Ownership in Windows 7 & Vista

    Solution 3 :

    If you need access to a file or folder for which you do not have access (permission), must take ownership of that file or folder, where you must replace the security permissions to allow himself access.

    How to take ownership of a folder


    NOTE: You must be logged on the computer with an account that has administrative privileges.

    To take ownership of a folder:
    • Click the right mouse button (mouse) in the folder you want to take ownership and then click Properties.
    • Click the Security tab, and then click OK on the Security message (if one appears).
    • Click Advanced, and then click the Owner tab.
    • In the Name list, click your user name, Administrator if you are logged on as Administrator or Administrators group. If you want to take possession of the contents of that folder, click to select the check box Replace owner on subcontainers and objects.
    • Click OK. The following message appears, where folder name is the name of the folder you want to take ownership:
    • You do not have permission to read the contents of the folder. Do you want to replace the directory permissions with permissions granting you Full Control?
    • All permissions will be replaced if you Yes
    • Yes.
    • Click OK, and then reapply the permissions and security settings you want for the folder and its contents.

  4. #4
    Join Date
    Apr 2008
    Posts
    598

    Re: Tips for Taking File Ownership in Windows 7 & Vista

    Solution 4 :

    The Unlocker Program


    Unlocker is a simple program and capable of detecting what applications, processes and / or library have blocked the file you want to delete, so release it and let you delete it without problems. With Unlocker Simply right click on the file in question, choose Unlocker and release the file. Ready.
    The main function of Unlocker is to unlock files in use by some program, one of its functions collateral is that we can rename, delete or copy files which do not have permissions even if they are not blocked by any program. Renaming a file will give Full Control permissions and make us owners of the file.

    Unlocker is a program that helps us to unlock locked files and we cannot eliminate. This program not only unlocks in-use programs, but also applies to the following system message when trying to delete a file:
    • Cannot delete file: Access is denied.
    • There has been a violation of the system.
    • The source or destination of the file is in use.
    • The file is in use by another program or user.
    • Make sure the disk is not full or write-protected and that the file is not currently in use
    .
    Once installed, open a file browser window and go to the file or folder that you could not eliminate. right-click on the folder and / or file and click on the option Unlocker. If the selected folder or file is protected or locked, a window displays with the processes that are blocked. Now simply select all the items listed and click on the button Unlock or Unlock All. You also have the option to terminate the process is using the target file or folder.

    Ready, now try again to eliminate file or folder. If the folder or file you are trying to delete is not protected, you will only options Delete, Rename and Move. If the system, let selected the option Check for updates always run Unlocker, it tries to connect to the site to check for updates. UNLOCKER.EXE must allow the process and create a rule type Browser so you can update without problems.

    One of the major complications when we delete a file or folder is when it is being used by the process explorer.exe, delete order correctly, we must do the following :

    • Stand in the locked file or folder and right click on it or it and click Unlocker
    • In the actions drop-down box, select Delete
    • Now select (to select multiple, use SHIT + click or CTRL + click) the process that is blocking your file or folder and click on the button "Unlock" or "Unlock All" if you want to unlock and delete all files in the list blocked processes.
    • That is all, surely there is some other method to take ownership / change permissions, but these will solve most needs.


    Note : Still, this will only remove the files or folders you want, do not alter the explorer.exe is a Windows application.

Similar Threads

  1. Replies: 5
    Last Post: 05-04-2011, 08:08 AM
  2. Taking Ownership
    By hellzscream in forum Operating Systems
    Replies: 5
    Last Post: 21-03-2009, 04:59 PM
  3. Replies: 0
    Last Post: 17-03-2009, 07:10 PM
  4. Files ownership in Windows Vista
    By Ektaa in forum Operating Systems
    Replies: 2
    Last Post: 11-02-2009, 12:32 PM
  5. Replies: 1
    Last Post: 29-07-2007, 08:01 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,539,247.30409 seconds with 17 queries