In Windows 7, you have the option to change the ownership of a file or folder. The owner of a file or a folder has access to all the permissions to modify the particular file or folder. Windows assigns a default owner for a file or folder to the user who has created the file or the folder. To change the ownership of a file or folder the user has to be the current owner of the file or the folder or he has to be the administrator of the computer.
To change ownership of file, folder in Windows 7, follow the below given steps:
1) Right click on the File or the Folder for which you want to change the ownership and then click on “Properties”.
2) In the Properties dialog box go to “Security” tab.
3) Click on “Advanced” button.
4) In Advanced Security Settings dialog box, go to “Owner” tab. Click on “Edit”.
5) In Advanced Security Settings dialog box, click on “Other users or groups” button.
6) In Select Users or groups dialog box, enter the user name of the user under “Enter the object names to select”. Click on “OK”.
7) Under “Change Owner to”, select the user name you just added as the new owner of the file or the folder. Select option “Replace owner on subcontainers and objects” for assigning new ownership for all the files and subfolders of the current folder.
8) Click on “Apply” and then “OK” two times.