Run script during OSD boot wizard?
I am looking to run a script to make some calls to Maik's webservice during the osd boot wizard before the task sequence is chosen. im not sure the best way to accomplish this... the goal is to check if the computer being imaged is already in the sccm
database and if so, delete it before continuing on to select a task sequence. i know i can do that calling the webservice but not sure how to make it happen in the wizard.
any guidance is appreciated
July 7th, 2011 3:21pm
This is called a pre-execution hook. There isn't a direct way to implement these as you must manually modify the boot image:
http://technet.microsoft.com/en-us/library/bb694075.aspx.
If you search the web for "pre-execution hook" you'll find lots of examples. MDT uses one. You can also use the pxefilter.vbs script from older versions of MDT as a starting point for your own pre-execution hook script because it contains logic for what
you've described above.
Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 4:16pm
Thanks thats what I ended up doing -- running the script to make the webservice calls via pre-execution hook. works like a champ thanks.
July 8th, 2011 1:23pm