Can't create ISO - error message

zolcos

New Member
I am running Windows 7 trying to customize Windows 10. When doing "Apply" it stops with an error at the step "Create ISO". Originally it was this error:
EFI - 0x80004003 Boot sector read error, make sure that the original 'Boot' or 'Efi' directory is present.

Google took me to another thread here which suggests that the problem is missing oscdimg.exe. I could not find this file on my system so I installed Windows AIK, and copied oscdimg.exe out of that tool and into my NTLite install directory. Now, NTLite still gives an error at the same step, but it looks like this:
'[1] Incorrect function.', OSCDImg
 
Last edited:
I'm runing Win7 and I don't have issues, also I don't have oscdimg .exe in NTLite folder, System32 or SysWOW64.

For a long time I've been running 7 x64 and built some 10 ISOs without issues.

The drive could need some maintenance.
 
OK, I downloaded a fresh ISO (1909) using Microsoft's media creation tool and that error went away but now I get this error instead:

The image has been damaged by an offline servicing failure and no further servicing is allowed.
Check the following:
- Using Windows 7 as a host to integrate Windows 10 cumulative updates, use Windows 8.1 or 10 instead (can be a Virtual Machine)
- Updates page Analysis may contain helpful tips
- Are there any Servicing Stack updates for this image
- Integrating updates for the wrong Windows version, e.g. Windows 10 1511 (10586) updates on Windows 10 RTM (10240) image
- Removed components from this image prior to this integration session

I did not add any updates and it's an unaltered iso straight form Microsoft so none of those things mentioned in the error could be the cause
 
OK, I downloaded a fresh ISO (1909) using Microsoft's media creation tool and that error went away but now I get this error instead:

The image has been damaged by an offline servicing failure and no further servicing is allowed.

I did not add any updates and it's an unaltered iso straight form Microsoft so none of those things mentioned in the error could be the cause

The drive could need some maintenance.

Right click on the drive where the source image has been extracted/copied, - Properties - Tools (?) - Check (or Scan) Disk.
 
See below for the results of chkdsk. 0 bad sectors...
After running this I discovered you can go to microsoft's page for the media creation tool with a spoofed useragent indicating Linux and it will let you download the win10 iso directly. Tried it with that but still get the same "offline servicing failure" error



Checking file system on C:
The type of the file system is NTFS.

A disk check has been scheduled.
Windows will now check the disk.

CHKDSK is verifying files (stage 1 of 5)...
Cleaning up instance tags for file 0x2ee58.
1213952 file records processed. File verification completed.
2323 large file records processed. 0 bad file records processed. 2 EA records processed. 51 reparse records processed. CHKDSK is verifying indexes (stage 2 of 5)...
1536916 index entries processed. Index verification completed.
0 unindexed files scanned. 0 unindexed files recovered. CHKDSK is verifying security descriptors (stage 3 of 5)...
1213952 file SDs/SIDs processed. Cleaning up 2028 unused index entries from index $SII of file 0x9.
Cleaning up 2028 unused index entries from index $SDH of file 0x9.
Cleaning up 2028 unused security descriptors.
Security descriptor verification completed.
161483 data files processed. CHKDSK is verifying Usn Journal...
34636832 USN bytes processed. Usn Journal verification completed.
CHKDSK is verifying file data (stage 4 of 5)...
1213936 files processed. File data verification completed.
CHKDSK is verifying free space (stage 5 of 5)...
146402724 free clusters processed. Free space verification is complete.
CHKDSK discovered free space marked as allocated in the
master file table (MFT) bitmap.
CHKDSK discovered free space marked as allocated in the volume bitmap.
Windows has made corrections to the file system.

976759807 KB total disk space.
389337384 KB in 951824 files.
465176 KB in 161484 indexes.
0 KB in bad sectors.
1346347 KB in use by the system.
65536 KB occupied by the log file.
585610900 KB available on disk.

4096 bytes in each allocation unit.
244189951 total allocation units on disk.
146402725 allocation units available on disk.

Internal Info:
00 86 12 00 e7 fc 10 00 d7 05 1e 00 00 00 00 00 ................
cf 00 00 00 33 00 00 00 00 00 00 00 00 00 00 00 ....3...........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Windows has finished checking your disk.
Please wait while your computer restarts.
 
See below for the results of chkdsk. 0 bad sectors...
After running this I discovered you can go to microsoft's page for the media creation tool with a spoofed useragent indicating Linux and it will let you download the win10 iso directly. Tried it with that but still get the same "offline servicing failure" error

Checking file system on C:

CHKDSK is verifying files (stage 1 of 5)...
Cleaning up instance tags for file 0x2ee58.
2 EA records processed.
51 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 5)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 5)...
Cleaning up 2028 unused index entries from index $SII of file 0x9.
Cleaning up 2028 unused index entries from index $SDH of file 0x9.
Cleaning up 2028 unused security descriptors.
Security descriptor verification completed.
161483 data files processed.
CHKDSK is verifying Usn Journal...
Usn Journal verification completed.
CHKDSK is verifying file data (stage 4 of 5)...
File data verification completed.
CHKDSK is verifying free space (stage 5 of 5)...
Free space verification is complete.
CHKDSK discovered free space marked as allocated in the master file table (MFT) bitmap.
CHKDSK discovered free space marked as allocated in the volume bitmap.

Windows has made corrections to the file system.

976759807 KB total disk space.
See above the quoted content in bold, if check disk didn't fix it, the drive would need to format or replaceit.
 
I ran another chkdsk and the errors did not recur.
I can see why the evidence points to a bad SSD so I tried the whole NTLite process on another computer (with separately downloaded source ISO), and got the same error.

I narrowed down what the problem was, though. If I enable anything on the Features tab related to virtualization (hyper-v, WSL, etc) I get the "offline servicing failure" error every time, even if it's the only thing I change in the whole program. Without these, the export process runs successfully, and after installing this custom Windows I can manually enable these features without any problem.
 
I narrowed down what the problem was, though. If I enable anything on the Features tab related to virtualization (hyper-v, WSL, etc) I get the "offline servicing failure" error every time, even if it's the only thing I change in the whole program.
Enabling or disabling features leads to error because Windows 8 or 10 is needed, the same applies to updates because DISM does the process.
 
Hi,

thanks guys, it is true that HyperV (and Containers as part of it) cannot be enabled on Win10 from a Win7 host.
However that should have been already prevented in the UI, as Kasual suggested in a private message.
Will correct it for the next version, something must have been skipped during the upgrades over the years.
 
I checked now and the features in question are already disabled with the latest version for some time now.

Screenshot attached when loading Win10 image under Win7, let me know how you see it.

Thanks.
 

Attachments

  • 7-2020-01-21-18-38-22.png
    7-2020-01-21-18-38-22.png
    125.7 KB
Customizing win10 using a win7 machine, Hyper-V checkbox is disabled in your screenshot, but for me it's editable, if I go to the Features tab first.
However, if I go through customizing everything and then return to the Features tab later, I find that the checkbox is indeed disabled. I have not narrowed down exactly when the change happens.
 
Back
Top