I've noticed that when installing Windows 8.1 the activation is not done by the end of the unattended installation and, actually, the serial number shown in the Activate Windows program is different than the one used to perform the installation. Also, when tring to activate the software it fails with the "Windows can't be activate. Try again later" message and no useful details about the error. So, in order to avoid this issue, let's force the activation in the FirstLogon phase of the installation script by directly editing the Slmgr.vbs options for Volume Activation. For more info about the Slmgr.vbs Options for Volume Activation, please, take a look on: https://technet.microsoft.com/en-us/library/dn502540.aspx Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- data/install-script/microsoft.com/windows-unattend-desktop.xml.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in index 78cba52..0bc1aeb 100644 --- a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in +++ b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in @@ -251,6 +251,13 @@ <Description>Turn Off Network Selection pop-up</Description> <CommandLine>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine> </SynchronousCommand> + <xsl:if test="os/version = 6.3"> + <SynchronousCommand wcm:action="add"> + <Order>2</Order> + <Description>Force windows activation</Description> + <CommandLine>cmd /c cscript.exe slmgr.vbs /ipk <xsl:value-of select="config/reg-product-key"/> /ato</CommandLine> + </SynchronousCommand> + </xsl:if> </FirstLogonCommands> </xsl:if> </component> -- 2.7.3 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo