Error: “We couldn’t create a new partition or locate an existing one. For more information, see the Setup log files.” when you try to install Windows.
1)Check if you have an SD Card in the system. If you do, you remove it and run setup again.
2) Once the setup fails to find the partition, just close the setup window (the top-right-hand side red X does the job).
From that point, you should be brought back at the initial setup screen.Choose “Repair” then go to the advanced tools and start the command line.
Type LIST DISK and identify your SSD disk number (from 0 to n disks).
Type SELECT DISK <n> where <n> is your SSD disk number.
Type CREATE PARTITION PRIMARY
Type FORMAT FS=NTFS QUICK
Type EXIT twice (one to get out of DiskPart, the other to exit the command line tool)