Windows 10 have better security than its previous versions.
So sometimes it shows a permission denied issue when you perform some action on a file.
Most of the time it should be due to a file permission.
So you gotta assign appropriate permission to that file.
And sometime you find that you cant edit file permission, or they are disabled.
It is because you are not the owner of that file.
Step 1
Right choose the file / folder and then select properties.
Properties window will look likes the below screenshot.
press the Security tab on it.
Step 2
Now pick the Advanced button for advanced parameters of the file permissions.
It will bring up a window as like below.
It shows the current owner of the file on the second line after the file with Owner information.
Next to current owner name there is a text button Change will appear.
tap on the change the owner.
It will pop up another window to write / go for the new owner.
Step 3
New owner already must be existed.
Click OK after entering the valid name.
Hint:bang out Users for the current user or Administrator for the Administrator user in the box.
tap on OK button to close this window then another OK to close window under this.
Now you will be able to Edit the permission of the file to perform the action on the file.