Quick question right here
I made a Windows Server 2022 gold image thanks to Packer and I use the following shutdown_command:
shutdown_command = "C:\\Windows\\system32\\sysprep\\sysprep.exe /unattend:E:\\sysprep.xml /quiet /generalize /oobe /shutdown"
(Note : i’m doing this for keeping network drivers while syspreping, else, Packer gets hung forever, more details here : https://github.com/hashicorp/packer/issues/4134#issuecomment-424492047 )
The sysprep.xml contains simple stuff mentioned in the link above.
My question is quite simple :
Does making the sysprep in shutdown mode is fair ?
i mean, if i clone this gold image, it will starts properly and ask for OOBE details (admin password etc…) but
does it means that all SIDs are re-generated ?
Thanks a lot !