Take Ownership of files/folder
Run CMD as Administrator
Run following commands to grant permission to current user
TAKEOWN /F <type in the path of the folder that you want to take access> /R /D Y
Then run
ICACLS <type in the path of the folder that you want to take access> /grant administrators:F