No problem. On Mon, Aug 14, 2017 at 1:18 AM, Cloud List <cloud-l...@sg.or.id> wrote:
> Hi Todd, > > Just a quick update -- below solution works! Thanks for pointing me to the > right direction. > > Cheers. > > -ip- > > > On Mon, Aug 14, 2017 at 8:50 AM, Cloud List <cloud-l...@sg.or.id> wrote: > > > Thanks Todd. > > > > I found out that the correct syntax is: > > > > cd c:\windows\system32\sysprep > > sysprep.exe /oobe /generalize /shutdown /unattend:c:\windows\system32\ > > sysprep\unattend.xml > > > > Trying this now and will share the outcome shortly. > > > > Thank you for your advice. > > > > Cheers. > > > > -ip- > > > > > > On Fri, Aug 11, 2017 at 6:21 PM, Todd Pigram <t...@toddpigram.com> > wrote: > > > >> You need to specify the xml in the command. > >> > >> sysprep.exe /oobe /generalize /shutdown c:\system32\sysprep\unattend. > xml. > >> > >> On w2016, its Autounattend.xml for the file name. > >> > >> On Fri, Aug 11, 2017 at 5:28 AM, Cloud List <cloud-l...@sg.or.id> > wrote: > >> > >> > Dear all, > >> > > >> > I am using CloudStack 4.8 and KVM hypervisor, andI tried creating a > >> Windows > >> > Server 2016 OS template using sysprep following the instruction on the > >> > "System Preparation for Windows Server 2008 R2" section of the > >> > documentation at below URL: > >> > > >> > http://docs.cloudstack.apache.org/projects/cloudstack- > >> > administration/en/4.8/templates/_create_windows.html > >> > > >> > However, after the template is created and I tried to spin off a new > VM > >> > using the template, the console is still prompting the Language and > >> > Country/Region selection, EULA and change password selection when > >> > booting-up. It seems that the sysprep process to automate those steps > >> > didn't work. > >> > > >> > I did saved the unattend.xml file into the C:\Windows\System32\sysprep > >> > folder and run "sysprep.exe /oobe /generalize /shutdown" before > creating > >> > the template from the main VM. > >> > > >> > Did I miss anything, or is the sysprep process for Windows Server 2016 > >> is > >> > different from 2008? The same method worked for 2012 last time. > >> > > >> > Any advice is appreciated, thank you. > >> > > >> > Cheers. > >> > > >> > -ip- > >> > > >> > >> > >> > >> -- > >> > >> > >> Todd Pigram > >> http://about.me/ToddPigram > >> www.linkedin.com/in/toddpigram/ > >> @pigram86 on twitter > >> https://plus.google.com/+ToddPigram86 > >> Mobile - 216-224-5769 > >> > >> PGP Public Key > >> <http://pgp.mit.edu/pks/lookup?op=get&search=0x96B7B0F0C55933BB> > >> > > > > > -- Todd Pigram http://about.me/ToddPigram www.linkedin.com/in/toddpigram/ @pigram86 on twitter https://plus.google.com/+ToddPigram86 Mobile - 216-224-5769 PGP Public Key <http://pgp.mit.edu/pks/lookup?op=get&search=0x96B7B0F0C55933BB>