I have created a Windows XP image, using a virtual machine on VMWare Server and an XP source slipstreamed with SP3 and all the current driverpacks (KTD option enabled), to be imaged and deployed by a Fog server, to be used on a wide variety of hardware (desktop/laptop, amd/intel, old/new).  Initial trial, syspreped with basic sysprep.inf file (no sysprepmassstorage section, using mini-setup and detect non plug and play hardware options selected) worked with some computers but not all (STOP 7B error before minisetup).  Next trial with modded sysprep.inf file (blank sysprepmassstorage section added with BuildMassStorageSection=Yes option added), this worked with a few more computer types but again still not all.  I am currently trying the following but keep getting the error 'An error occurred while trying to update your registry. Unable to continue' and sysprep fails:

removed the BuildMassStorageSection=Yes option
ran sysprep -bmsd
ran FindHWIDS v3.2j on the \driverpacks\M folder only
added this list to the sysprepmassstorage section of the sysprep.inf file (after the list created by bmsd)
ran sysprep with mini-setup and detect non plug and play hardware options selected.

After about an hour and a number of unsigned driver warnings (clicked continue) and target file exists and is newer than the source (clicked no don't overwrite) messages sysprep crashed with the error updating registry/reseal failed message.  I next tried copying the sysprepmassstorage section to excel and checked for duplicate HWIDs, several were found so I deleted the duplicated values from the driverpacks list and tried again but got the same registry error.

Any ideas why I keep getting this error, is there anyway to pinpoint where the fault is in the sysprepmassstorage section, any ideas for alternative options I can try.

Thanks