How can I take ownership of multiple files in Windows?

Marco picture Marco · Aug 26, 2013 · Viewed 17.3k times · Source

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.

Answer

Martin Binder picture Martin Binder · Aug 27, 2013

Use the command line:

takeown /f folder1\folder2\*