Yes, frequent sudden shutdowns are a major cause for rig failing and windows core files getting corrupt.
It is advisable to use a UPS so as to help the rig to withstand the fluctuations in current plus give you enough time to shutdown the rig safely without loosing data and saving the components.
For the present remedy, I can't think of anything other than getting it checked physically by a technician, especially since it's a Dell Desktop.