How to use our existing unattend answer file with K2000
If I push our base image through K2000 and use the KACE Sysprep creator wizard to create an answer file, it will install. However if I push it and try to use the pre-existing unattended answer file that our group has created it will fail when it gets to the point of creating the multiple partitions we use. Running the install of this image with our answer file from a USB drive works properly.
During the installation via K2000 we get a message that Windows could not create a partition because an error occurred applying the answer files disk configuration setting, error code: 0x80042565.
The tech that created this answer file said we need to use it to create GPT partitions. Will using the KACE Sysprep wizard and post install tasks to create UEFI partitions allow us to do the same thing?
Answers (3)
The error could be the pxe kbe you are using is the wrong type. If the KBE is still legacy for pxe boot you will get this error.
Is the boot stick that works a uefi boot stick?
Is your dhcp set to legacy or uefi settings for pxe?
BTW
the create uefi partitions will do what you need as long as you are uefi pxe booting
the default script is, but you can modify how you want. Just take the settings you have in the answer file and create a script file instead
Select disk 0
Clean
Convert gpt
Create partition efi size=200
Assign letter=s
Format quick fs=FAT32
Create partition msr size=128
Create partition primary
Assign letter=c
Format quick fs=NTFS
Exit
Comments:
-
I will double check to make sure the KBE is UEFI. If using the install tasks gives me what I need, I can go with that. I haven't tried customizing these scripts yet but will look into it. Thank you. - ScottAday 5 years ago
-
see https://social.technet.microsoft.com/Forums/office/en-US/df523791-7424-4be7-b468-548bbd0c95ed/discconfiguration-error-0x80042565?forum=w8itproinstall - SMal.tmcc 5 years ago
The built-in tasks named:
Create UEFI Partitions (pre)
and
Apply UEFI Partitions (mid)
They require both the letters C: and S: to be captured in your Image, or else, the Apply UEFI Partition will fail.
If you just captured the letter C:, make sure you are booting in UEFI mode, and use the tasks named:
[DISK] Create BIOS/UEFI Partitions (pre)
and
[DISK] Apply BIOS/UEFI Partitions (mid)
Any of these tasks will generate your GPT, no need to do that via Answer File.
Again make sure the KBE detects you are booting in UEFI mode:
Clean
Convert gpt
Create partition primary size=450
format quick fs=ntfs label="WinRE"
set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
Create partition efi size=100
Format quick fs=FAT32 label="system"
Create partition msr size=16
Create partition primary
format quick fs=ntfs label="OS"
Clean
Convert gpt
Create partition primary size=450
format quick fs=ntfs label="WinRE"
set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
Assign letter=s
Create partition efi size=100
Format quick fs=FAT32 label="system"
Create partition msr size=16
Create partition primary
format quick fs=ntfs label="OS"
Assign letter=c
Remember that to deploy UEFI\GPT images, a FAT32 USB needs to be created.
I would remove the partitioning portion of your answer file, and use pre install tasks for this.
And make sure is a FAT32 USB KBE. - Channeler 5 years ago