that is bad luck and bl**dy inconvenient.
There is always step one: (with the power off), loosen everything and refit, firmly, in place.
often memory contacts get a little crappy/loose, the heat up and expand so often.
and of course, as mentioned above ^^ reinstall Windoze.
Hope you fix it soon.