Use the command line:
takeown /f folder1\folder2\*
Question
Setting it file by file works, but is slow.
Selecting all of them at once doesn't have this configuration.
And the files can't inherit the security properties of the folder because they don't have my ownership.
Solution
Use the command line:
takeown /f folder1\folder2\*
OTHER TIPS
Run command as admin
takeown /f . /r /a /d y