My organisation currently has Windows XP (yes, I know official support for it ceases in less than 24 hours) and Windows 7 system images made with Symantec Ghost 11 that we routinely deploy to machines. A required step after deployment is to run NewSID to apply a new SID to the system. Obviously a potentially better way would be to use sysprep to make the images in the first place.
I've been reading about sysprep for both Windows XP and 7, and I see that a new SID is created at some point if you use the "/generalize" command line option. What I'd like to confirm is: Is the new SID applied to a system after deployment, i.e. if I deploy and start the image on 10 machines they will get 10 different SIDs? Also, is this true for both Windows XP and Windows 7?
Lastly, I've also read (but can't fully understand) that there are "different" kinds of SIDs. So is a new SID applied via NewSID the same as that by sysprep?
Thank you in advance for your answers.
From : Sysprep Command-Line Syntax
This means on the next reboot (after deployment!) your SID will reset. Your machines will get 10 different SID's, yes.
There are multiple kinds of SID's. Users have SID's, Machine's have SID's, there are local SID's, Domain SID's, and there are "special" SID's, but the SID's you are talking about (MachineSID) is the same in sysprep and NewSID (Machine SID)
There are Machine SIDs, Service SIDs, Domain SIDs, and User SIDs. NewSID and sysprep /generalize only reset Machine SIDs. Yes, those are the same Machine SIDs, and yes, sysprep changes the Machine SID after deployment.
However, changing Machine SIDs is not necessary. According to this blog entry on TechNet by Mark Russinovich:
ThatGraemeGuy here on Server Fault agrees with me.
Seriously, you don't need NewSID. Microsoft has retired NewSID on the grounds that it's not necessary. The NewSID download page says, "Note: NewSID has been retired and is no longer available for download. Please see Mark Russinovich’s blog post: NewSID Retirement and the Machine SID Duplication Myth."
Sysprep still gets rid of things like those pesky registry keys that interfere with WSUS, however. Microsoft does not support cloning without sysprep.
I presume from your question that you're hoping to get rid of that NewSID step (yay!) by saying that sysprep /generalize performs the same function. This is true, but hopefully pointing out that NewSID has been unsupported since 2009 will also help you get rid of that unnecessary step in your rollout process.
After deployment. Common sense. If the generalization would generatea new SID, you would have to repeat it on every machine - which would sort of totally go against what the word means.
After generalize the machine is generalized and then reinitializes on next boot. So you shut down, deploy and then - the deployed images boots and generates a new SID pe machine.
There's a SYSPREP lab about /generalize and SID:
http://www.sysadmit.com/2014/11/windows-sysprep-sid.html