Thursday, July 7, 2011

Final Configuration Script

I have been trying to use Johan Arwidmark's Final Configuration Script under MDT 2010 p1 and it was consistently failing to achive one of its goals, deleting the MININT directory.  It seems the reason for this was that when it attempted to do so some of the files were still in memory and therefore had open file handles.  I made some changes to the script(s) to resolve this problem, by introducing a longer delay before attempting to do the cleanup.  This seems to make the success of the deletion much more likely.  This is probably not the ideal solution, but it works so I am going with it.
z-finalconfig.wsf
z-finalconfig.hta