Hi,
I am Tanvi, and I would be happy to assist you today!
Firstly, Ensure your user account has the necessary permissions to access the file or folder. Right-click on the file/folder, select “Properties,” and go to the “Security” tab. Adjust permissions as needed.
Secondly, Take Ownership of the File-
1. Right-click the file/folder, choose “Properties,” and go to the “Security” tab.
2. Click “Advanced” and “Change” next to the owner’s name.
3. Enter your account name and click “Check Names” to verify.
4. Click OK and apply the changes.
Also, Set Your Account as Administrator-
1. Press Win + R to open the Run dialog.
2. Type control userpasswords2 and click OK.
3. In the User Accounts window, check the box next to “Users must enter a username and password to use this computer” to set up your account as an administrator.
Additionally, to know more-
https://www.makeuseof.com/windows-11-fix-access...
https://support.microsoft.com/en-us/topic/-acce...
Disclaimer:
The link included is a non-Microsoft website that would provide accurate and safe information. Watch out for ads on the site that are frequently classified as PUP (Potentially Unwanted Products). There is no need to buy paid products to fix your computers as they sometimes do more harm than good.
I hope this helps. Please let me know if you have any other queries.
Good day