Run as administrator cmd
takeown /f 文件夹名称 /r
Such as D following mypc folder command
takeown /f d:\mydata /r