Systems Management Question
Weirdness with K2000/Diskpart/Windows 10
11/29/2016 1308 views
Working on creating a Windows 10 image. I'm pretty close, but during the OS install I occasionally get this error -
"The partition selected for installtion (1) does not exist in disk 0. Make sure the unattend anwer file's <ImageInstall> setting references a valid partition on this computer, and then restart the installation"
Weirdly enough I don't get it every time, and sometimes I can retry and I don't get the error. I have a preinstallation task that formats the disk and creates Partition 1, so I'm not too sure why this comes up intermittently. Here's the Diskpart script -
select disk 0
create partition primary
select partition 1
The unattend.xml file just uses the InstallToAvailablePartition command so not sure what the issue is. I've tried specifying the Disk/Partition and it didn't make a difference...still get that error maybe 25% of the time. Just figured I'd see if anybody has any ideas.