TAKEOWN /F "<FolderPath>" /R /D Y
eg TAKEOWN /F "E:\Symbols" /R /D Y
To take ownership of file in current folder
takeown /R /F *
To reset all file permission got that folder using
cd yourfolder→
icacls * /T /Q /C /RESET
eg TAKEOWN /F "E:\Symbols" /R /D Y
To take ownership of file in current folder
takeown /R /F *
To reset all file permission got that folder using
cd yourfolder→
icacls * /T /Q /C /RESET