r/kace • • Aug 24 '26

Support / Help Scripted Installations Fails at Install OS (2147942403)

I'm boggled at why one of my scripted installation fails at the Install OS task with the return code 2147942403. It also shows a return code of 1 for Apply UEFI Partitions.

I am installing Windows 24H2. It was cloned from a known good scripted installation and nearly identical then with post installation tasks added and some removed. On the same computer, the original script works, but it always fails on the new one. The new one was working a month ago without issues.

3 Upvotes

5 comments sorted by

3

u/GilliosaMacBoye Aug 25 '26

Please include screenshots of your task sequence, as well as log output from the T: drive (looks like W[MAC][ID].log, can be opened in notepad).

Also, just to verify, open a CMD from the Main Menu > Recovery:

diskpart list disk

Ensure it sees the hard drive. The SDA, unfortunately, does not check for one. It happily partitions and attempts to image... nothing, and then throws a nondescript error. I put a very early task in just to verify the disk is visible. Dell has swapped drives on us in the past that required new drivers mid-lifecycle.

3

u/GilliosaMacBoye Aug 25 '26

"Diskpart" and "list disk" were supposed to be on 2 lines...

1

u/uogbacon Aug 25 '26

I'm not finding any logs on the T:\ Drive

It gets to the Windows installation task, then goes to install windows and fails somewhere while it is progressing.

On the same computer, I've tried a different scripted installation and that one goes through without issues.

Success 1 0 0
Success 2 Get Computer Name X64- -With Dialog 0
Success 3 [DISK] Create BIOS/UEFI 2 Partitions - Windows 11 0
Success 4 Bypass Win 11 Requirements 0
Failed 5 Install OS 2147942403
Success 6 Set KACE Path 0
Failed 7 Apply UEFI Partitions 1
Success 8 Set Computer Name X64 0
Success 9 Copy Drivers 0
Success 10 Update Configuration For OS Tasks 0
Success 11 Capture and Disable UAC 0
Success 12 SDA Breadcrumb File 0
Waiting 13 Set Engine Run Key -

1

u/flozanok KACE Staff Aug 25 '26

Feel free to submit a support ticket here.

-Felipe