when relevant content is
added and updated.
The first step is to create a registry file, let say the name of file will be Owner.reg:
Double-click your Owner.reg file to apply it to the registry.
You will have to grant access, click Continue.
The registry editor will give you a security prompt, click Yes.
You will be greeted with the following message from the registry editor, click Ok:
When you hold shift and right-click on a file or folder you will have the option of changing the ownership.
Please note that before the ownership will be changed, you must grant access, click Continue.
In order to verify that the “Take Ownership” dialog successfully processed, you can right-click on a file, choose Properties and then choose Details and you will see the “Owner” section changed to COMPUTERNAME\USERNAME.