If you want to hide the big ugly black command window of the default prestart command wizard hook. You can fin one way to do that at Alexsemi’s Blog.
His version is to workaround the inject of SCCM MDT with cscript.exe, by wrapping it with an AutoIt exe. This way OSD won’t replace the wscript.exe call with cscript.exe. So there is no window visible.
But because I don’t like to have any unnecessary files, I found a solution with a PowerShell call.