The best way is to replace the owner on all your files, You can do this by replacing owner on the top directory and recurse it through child items. TechNet-article
1.Open Windows Explorer, and then locate the file or folder you want to take ownership of.
2.Right-click the file or folder, click Properties, and then click the Security tab.
3.Click Advanced, and then click the Owner tab.
4.Click Edit, and then do one of the following:
◦ To change the owner to a user or group that is not listed, click Other users and groups and, in Enter the object name to select (examples), type the name of the user or group, and then click OK.
◦ To change the owner to a user or group that is listed, in the Change owner to box, click the new owner.
5.To change the owner of all subcontainers and objects within the tree, select the Replace owner on subcontainers and objects check box.
EDIT
As well as doing the above
Make sure your user has full control of all file and directories by doing the following.
- Right click on the top directory and choose properties. Click on
Security tab and choose advanced.
- Click on the permission tabs,choose change permissions.
- If your current username is in this list, then choose it and click edit (If your username is not in the list
then click add, and then add your user in and then select user and
click edit.
- Tick full control press ok.
- Tick box that says
replace all child object permissions with inheritable permissions from this object
- Press OK
Well, I followed the article's instructions and it did indeed seem to go through every file on the drive and change the owner to my user account. It took a while.
However, I'm still getting the same error messages.
I also just noticed something else of interest: In Properties > Security for some of these folders I'm seeing, under "Group and user names," items such as "Account Unknown(S-1-5-21-1512981947-3363430766-393...)"
What might that mean? – Limne – 2014-03-20T22:24:35.873
The
Account Unknown(S-1-5-21-1512981947-3363430766-393.
is because its a SID of a user that your system knows nothing about. I would of thought that changing the owner would of fixed it. Maybe the permissions are broken too Ill update answer. – squareborg – 2014-03-20T22:28:33.397