Message "windows was unable to complete the format" means that Windows was not able to format the selected storage device. There may be various reasons behind this problem, such as file system corruption, partition damage, write protection, bad sectors, and the drive problems. First of all, make sure that you selected the right drive and saved all available data from it. It is possible to try another connection or formatting technique as well. In case you have some crucial data on the drive that you cannot access, it is not recommended to format it again, since it will make it harder to recover. Notchox data recovery program may be used in supported cases.
Read more - https://notchox.com/resources/recover-data-from-ssd-with-trim-enabled/