{{:user:servarica.png?direct|}} {{ :user:xenica.png?direct|}}
gpedit.msc
{{:run.png?direct|}}
----
* Expand Windows Settings
* Select Scripts (Startup/Shutdown)
* Double click Startup
* Click Show Files and copy/paste a shortcut of Startup.cmd file in to this folder
* Click the Add button on the startup properties , then Click Browse and double click on the script to choose it.
* "OK" out of all windows to apply the new settings.
{{:user:gpedit.png?direct|}}
----
* In the downloaded package you will find this file xenica\shell_scripts\windows\unattend.xml.
* If you are planning to have non-English windows template : open the unattend.xml file and change the following lines to match your language
en-US
en-US
en-US
en-US
{{:user:language.png?direct|}}
----
- Copy the unattend.xml file into the c:\windows\system32\sysprep directory
- In the command line run the following command
cd c:\Windows\System32\sysprep
sysprep /oobe /generalize /shutdown /unattend:unattend.xml
{{:sysprobe.png?direct|}}
* Convert the VM to template and the name of the template must include the word windows all lower case.