/build/static/layout/Breadcrumb_cap_w.png
09/24/2019 139 views

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?

2 Comments   [ + ] Show comments

Comments

  • DISK partitioning tasks are normally done in Pre Installation tasks, tasks you perform before calling for the Image (answer file included).

    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.
  • Yes I was thinking of the Pre-Install UEFI partition creation and Mid-level task of applying UEFI partitions, I just didn't take the time to actually check the console before posting. Thanks for the information.


Community Chosen Answer

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

Answered 09/24/2019 by: SMal.tmcc
Red Belt

  • 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.
    • my email is under my profile, remove any passwords and send me your answer file. I will post a diskpart script file that matches your settings
      • I'm sending this to you now. Thanks for the help with it.
  • see https://social.technet.microsoft.com/Forums/office/en-US/df523791-7424-4be7-b468-548bbd0c95ed/discconfiguration-error-0x80042565?forum=w8itproinstall

All Answers

1

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:

NTQ9UCZ878F7drtsz6uJOLAAAAAElFTkSuQmCC
Answered 09/24/2019 by: Channeler
Red Belt

0
Good timing, getting ready to head to UserKon so I will be out of touch for about 8-10 days.
Here is a diskpart script that matches your pe entries.  I noticed you do not assign drive letters you must let the install assign them.  you are installing to part 4 under the pe imageinstall setting in the ans file so this should do it.  Test it and let me know if you run into problems with the drive letter assignments you use.  Typically you assign S to the EFI and C to the OS. here is one without drive letters and one with.  Look at an existing machine and see what letter are in your image deployment.

Select disk 0
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"


Select disk 0
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
Answered 09/27/2019 by: SMal.tmcc
Red Belt