The error 0xc0000017 points to ram failure though I think possibly hard drive has too many bad sectors hence the slow PC performance. Do you know of any friend that can check your hard drive if you can remove it and place in an usb enclosure? Any hard drive manager software should then report any errors on it. If it can only be opened through ignoring errors then it would seem the drive is worn out. If no errors found then reformat it and replace in your PC and try installing Windows 7 again. It's the hdd or ram failing in my humble opinion.
Surface Pro (2017) vs Surface Pro 4