Share via

Read only attribute cannot be changed

Anonymous
2018-05-05T12:41:50+00:00

Half of my games are not working and I found the cause to be my documents folder being read only.

I can't change it via manually and cmd run as administrator is giving me access denied when trying to change attributes. I honestly don't know what to do anymore. Problem appeared few days ago and a lot of things on my PC stopped working properly or working at all.

Am I going to reinstall windows? And why windows just decided that it is read only?

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-05-05T12:47:05+00:00

Do this from the command line:

Open Start, type: CMD

Right click CMD

Click Run as administrator

Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)

TAKEOWN /F D:\ /R /D Y

Once you have taken ownership, then you have to set the permissions; for this, you use ICACLS:

ICACLS "D:" /reset /T

Restart then check if you can access your Documents again.

Also...

Open Windows Defender Security Center

Click Virus & threat protection

Click Virus & threat protection settings

Scroll down to Controlled folder access

Toggle it off

Also in Windows Defender Security Center

Open App & browser control

Set 'Check apps & files' to off

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2018-05-05T13:07:19+00:00

    Thank you very much! Turns out it was windows defender problem. Everything is working now! :)

    Was this answer helpful?

    0 comments No comments