Let’s give permission to the folder and check if that helps.
Follow these steps to give permissions to the folder or drive.
- Right click the folder, then click Properties
- Click the Security tab, clicked Advanced, click Change Owner or Change Principal
- Type the name of the person I wanted to give ownership to and click Check Names. (In this case, I used the Administrator account of my new machine). You can also choose “Everyone” and set full-control, it depends on your needs.
- Click OK
- Select the Replace owner on subcontainers and objects check box
- Clicked OK
Another automated way is to use a command like :
TAKEOWN /F /R /D Y
For more info check :