I bought a new pc and installed my old HDD as secondary drive , how can I take ownership of all files and folder on that harddrive.
I remember there was some commandline tool icals or something which could do that recursivly.
More info here:
I think you're looking for
You can also use the older