I need to automate the Installation of NT Svr,Sql Svr and IIS.

I first tryed using a ghost image. I created one image with the O/S and all the apps and used Norton Ghost to apply to multiple machines. Well, since they were using the same image file I had to change the SID. After changing the SID I rcv an error from IIS stating "The Protected Storage couldn't find the Admin Acct Password. So I took IIS off the original image and applied after IIS after changing the SID and rcvd the same error msg. Anyone now a way to fix this or a better way to automated the install. I hv tryed unatted and had problems with the partition sizes.