answered 2016-03-30 19:10:09 +0200
To replicate what is done by the installer to re-sysprep is the best commandline
sysprep.exe /generalize /oobe /shutdown /unattend:C:\progra~1\cloudb~1\cloudb~1\conf\Unattend.xml