PowerShell tome la propiedad Comando recursivo
takeown /f "c:\folder\subfolder" /r
Energetic Elephant
takeown /f "c:\folder\subfolder" /r