Question No boot or freezed if booted

Dec 23, 2019
1
0
10
Hello everyone,
In 2010 I bought a computer and after using it for 7 years I stopped using it as I joined college and bought another device for myself ,recently I thought of checking it out after 2 years. I cleaned everything properly and to my surprise it booted up normally and everything was working fine then suddenly after few minutes it freezed up so I hard rebooted it again as ctrl alt delete was not even working, this time when it turned on it displayed motherboard information as usual and then displayed a black screen with a white line on it ,so i tried rebooting it again and this time it got stucked on boot screen after this i had to directly switch off ups and after which i tried turning it on again and this time it doesn't even show anything on screen but cpu was running and the yellow light which shows the activity of harddisk was off. After few hours i tried turning it back again and to my surprise it booted up but freezed again after few minutes.
One thing i observed was that the yellow light gets off whenever it gets stuck which I believe is associated with it's harddisk.

It doesn't even switch on for that much time that I can check it's components for any error using any software.

My specs are
Windows 10 home 32 bit
2gb Kingston ram
Intel dual core 2.93ghz
1tb hdd
No graphics card