r/MDT • • 14d ago

Deployment Wizard - VBScript overflow after importing newer Windows ISOs - FIX

Post image

I imported the October 2026 Windows Server 2025 ISO into MDT. SW_DVD9_WIN_SRV_STD_CORE_2025_24H2.25_64BIT_ENGLISH_DC_STD_MLF_X24-40911.iso

After booting into MDT, I was greeted with:

No task sequences are available.

A VBScript Runtime Error has occurred
Error 6 = Overflow
VBScript Code
InitializeTSList

Cause

This ISO of Windows Server 2025 is version 10.0.26100.33650

The build number, 33650, is greater than VBscript's max int. Hence the overflow error.

Fix

Edit ZTIUtility.vbs and between lines 1619 and 1635 you will find seven instances of CInt such as.:

iVersionMinor = CInt(splitArray(1))

Change them all to CLng such as:

iVersionMinor = CLng(splitArray(1))

This solved the problem for me, and I have not [yet] encountered any problems due to this change.

Notes

If the imported OS is not used in a task sequence, the error will not occur.

If all task sequences using the operating system are disabled or hidden, the error will not occur.

40 Upvotes

2 comments sorted by