Using Steam, when I try to reinstall one of my games, it always says "Disk write error". I went to content_log to go to the specific place and gave full access to all of my computer like a guide told me to but it still says "Disk write error". I have scanned my drive and moved the game over to my SSD and back. It still doesn't work. I am using Windows 10. What should I do?
Open a Command Console with Administrator Privileges by right clicking on your start-menu button and selecting the entry for it.
Then enter the following command:
CHKDSK D: /F /R /B
D: with the corresponding letter of the drive that is problematic. Do NOT use this command on your SSD. It is also very likely that this will make Windows ask you if you want to take the Volume offline while scanning. Close all programs that live on that drive to avoid being forced to do a reboot. However, in some cases you will have to do a reboot so this command can run without interference. This can also take several hours to complete, so it is wise to do this during the night or while at work.
If that does not solve the problem, there is a software called EaseUS Partition Master which has a feature called "Surface Test". This procedure has the ability to mark bad sectors so the OS will not try to write to those anymore.
The ultimate solution, however, would be to buy a new HDD in the near future.