PowerShell Take Recirtive Command
takeown /f "c:\folder\subfolder" /r
Energetic Elephant
takeown /f "c:\folder\subfolder" /r