If you ever tried to use the DaRT integration in MDT Lite Touch with Windows ADK 2004 or later versions, you probably noticed that you will not see the command prompt in the remote viewer when pressing F8. This is due to a code change in Windows ADK 2004. Here is a quick fix for that.
Note: This fix is for MDT Lite Touch only. for a ConfigMgr version of this post, go here: https://deploymentresearch.com/adding-dart-to-configmgr-boot-images-and-starting-it-earlier-than-early/
Add the below script to your scripts folder, name it ADK2004DartFix.vbs.
Function UserExit(sType, sWhen, sDetail, bSkip) UserExit = Success End Function ' Add support for Windows ADK 2004, making command prompts not showing in the remote viewer unless forced to use old layout If oEnvironment.Item("OSCurrentBuild") >= 19041 And oEnvironment.Item("OSVersion") = "WinPE" Then oShell.RegWrite "HKCU\Console\ForceV2","0","REG_DWORD" End if
Modify your Customsettings.ini file to run the script, for example via the [Default] section: