Hello,
Moved to the vCenter Server forum.
Until ESX fully supports 2008, you may have limited success with using these tools. However, most likely you need a 2008 ready version of sysprep to make it work. That comes from Microsoft.
As for templates, you approach is correct.
As for running a script within the VM, you could put a script within the GUest OS and set it up as a first run sort of thing as you make the template.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast
--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill