If you have updated to Windows 8 you might have had difficulties installing Fastboot and adb drivers for Xperia devices, here a way to do it thanks to aslike2 on XDA:
- download flashtool and install
- open cmd as administrator and type “bcdedit /set testsigning on”
- restart PC
- install driver in the flashtool “drivers” folder, check fastboot, agree when prompts
- type “bcdedit /set testsigning off” in cmd and restart PC
- go to “x10flasher_lib” folder flash whatever you want