Share via

MDT "Unable to find litetouch.wsf" Error Post-Reboot Requiring Manual Diskpart Clean

OCD77 Ephelios 0 Reputation points
2026-04-23T13:13:25.39+00:00

Hi guys! We use MDT to capture a thick image so our field techs can deploy faster without waiting for a massive task sequence to install every single app, but I keep hitting a "Unable to find litetouch.wsf" error right after the first reboot. The weirdest part is that it only goes through if I manually run a diskpart clean on the drive first, even though my task sequence is already set up to format and partition the disk like normal. Its a total pain for the team to have to manualy wipe the drive and restart the whole process just to get a basic image to stick. Does anyone know why MDT is failing to find the boot script on a dirty disk but works fine when the drives totally blank?

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments

1 answer

Sort by: Most helpful
  1. Tan Vu 2,330 Reputation points Independent Advisor
    2026-04-23T13:30:23.0333333+00:00

    Hi Ephelios,

    This usually means the task chain is continuing from a disk layout that MDT hasn't fully reset, rather than litetouch.wsf itself disappearing. MDT's LTI process is controlled by LiteTouch.wsf, and the disk preparation script ZTIDiskpart.wsf sends the CLEAN command to Diskpart before creating partitions. The WipeDisk property is also not the same as wiping the entire disk: it only formats DiskIndex 0 / Index 0. So, if the machine still has leftover OEM/recovery/boot partitions or an unwanted boot layout, MDT might return after the first reboot to search its local runtime environment in a location that no longer matches the disk state. That's why manual cleanup using diskpart helps it function correctly.

    The practical solution is to have the task sequence perform the same "pre-wipe disk" operation each time, before the reboot point, and verify that it is targeting the correct physical disk. At the same time, ensure the firmware boot mode matches the partition type you are deploying, as BIOS/UEFI mismatches can produce the same type of error after reboot.

    To troubleshoot, the critical MDT log files are located in C:\MININT\SMSOSD\OSDLogs during deployment, and then they are moved to %WINDIR%\TEMP\DeploymentLogs after the task sequence finishes. The BDD.log and ZTIDiskpart.log files will typically show whether MDT actually cleaned and repartitioned the disk, or whether it continued working on the wrong drive.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.