You may have a hardware problem of some kind, by the sounds of it, since it
shuts down on you like that. If that's the case, it's nothing reformatting/reinstalling
Windows will resolve. You should maybe have someone check out your machine/ computer.
Blocking Unwanted Parasites with a Hosts File