Hi,
For access denied issue, there is a useful article can help you, please refer to the link:
"Access Denied" or other errors when you access or work with files and folders in Windows
https://support.microsoft.com/en-us/help/2623670/-access-denied-or-other-errors-when-you-access-or-work-with-files-and
In addition, you can also refer to this thread and check the result.
How to take ownership of files and folders on Windows 10
https://www.windowscentral.com/how-take-ownership-files-and-folders-windows-10
Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Tao
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.