Thursday, November 11, 2021

How to delete psdprestart in the boot image of MDT.

 If you get any error related to pre start commands or screne got stuck in initial screen.


You can skip those parts in the boot image.


For testing, you can edit the file and remove below entry:

boot Litetouch iso extracted\ Sources\ Boot.wim extracted\Unattend.xml

 <RunSynchronousCommand wcm:action="add">
                    <Description>Run PSDPrestart.ps1</Description>
                    <Order>3</Order>
                    <Path>powershell.exe -noprofile -windowstyle hidden -file X:\Deploy\Scripts\PSDPrestart.ps1</Path>
                </RunSynchronousCommand>

Here, comment the above part and set the next command to this order.

No comments:

Post a Comment