Sony Xperia L won't turn on but it works well when I removed the SD card
Try this formatter https://www.sdcard.org/downloads/formatter_4/

The standard formatter integrated in windows isn't that great. Give it a shot. You can also try to set your phone back to factory settings after you did the format.