MDT : Debugging custom scripts ParadisJ Deployment VBScript Windows 7 Daniel Oxley has created a debugger for custom scripts in Microsoft Deployment Toolkit. You should look at it : MDT Debugger