Hello Everyone !
I have to create a W10 1703 template on my vCenter infrastructure.
To do this, I just repeated the same process than for the 1607 version.
1/ Create a VM and deploy our W10 1703 image
2/ Add the VM in WORKGROUP
3/ Convert in template
4/ Deploy a machine from this template with the associated customization
We have to use custom sysprep answer file (unattended file). I tried with the customization used by 1607 version but it doesn't work.
UnattendedFile.xml :
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microso
ft-com:una
ttend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-In
ternationa
l-Core" processorArchitecture="amd
64" publicKeyToken="31bf3856ad
364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="
http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>040c:0000040c
</InputLoc
ale>
<SystemLocale>fr-FR</Syste
mLocale>
<UILanguage>fr-FR</UILangu
age>
<UserLocale>fr-FR</UserLoc
ale>
</component>
<component name="Microsoft-Windows-Sh
ell-Setup"
processorArchitecture="amd
64" publicKeyToken="31bf3856ad
364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="
http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEU
LAPage>
<HideLocalAccountScreen>tr
ue</HideLo
calAccount
Screen>
<HideOEMRegistrationScreen
>true</Hid
eOEMRegist
rationScre
en>
<HideOnlineAccountScreens>
true</Hide
OnlineAcco
untScreens
>
<HideWirelessSetupInOOBE>t
rue</HideW
irelessSet
upInOOBE>
<ProtectYourPC>3</ProtectY
ourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>Qwerty1</Value>
<PlainText>true</PlainText
>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Local Admin</Description>
<DisplayName>Admin</Displa
yName>
<Group>Administrators</Gro
up>
<Name>Admin</Name>
<Password>
<Value>Qwerty1</Value>
<PlainText>true</PlainText
>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-De
ployment" processorArchitecture="amd
64" publicKeyToken="31bf3856ad
364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="
http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user Admin /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Sh
ell-Setup"
processorArchitecture="amd
64" publicKeyToken="31bf3856ad
364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="
http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<RegisteredOrganization>MY
ORG</Regis
teredOrgan
ization>
<RegisteredOwner>MYORG</Re
gisteredOw
ner>
<TimeZone>Romance Standard Time</TimeZone>
<ComputerName>mycomputer</
ComputerNa
me>
</component>
<component name="Microsoft-Windows-Un
attendedJo
in" processorArchitecture="amd
64" publicKeyToken="31bf3856ad
364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="
http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<Identification>
<Credentials>
<Domain>MYDOMAIN.FR</Domai
n>
<Password>mypassword</Pass
word>
<Username>SRV_ACC</Usernam
e>
</Credentials>
<JoinDomain>MYDOMAIN.FR</J
oinDomain>
<DebugJoin>false</DebugJoi
n>
<UnsecureJoin>false</Unsec
ureJoin>
<MachineObjectOU>OU=OU1,DC
=mydomain,
DC=fr</Mac
hineObject
OU>
</Identification>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/temp/in
stall.wim#
Windows 10 Pro" xmlns:cpi="urn:schemas-mic
rosoft-com
:cpi" />
</unattend>
SetupErr.log :
SYSPRP setupdigetclassdevs failed with error 0
SYSPRP MRTGeneralize:107 - ERROR: Failed DeleteInstance AntiSpywareProduct.instanc
eGuid="{D6
8DDC3A-831
F-4FAE-9E4
4-DA132C1A
CF46}" hr=2147749890
SYSPRP MRTGeneralize:116 - ERROR: Failed DeleteInstance AntiVirusProduct.instanceG
uid="{D68D
DC3A-831F-
4FAE-9E44-
DA132C1ACF
46}" hr=2147749890
SYSPRP Runtime provisioning encountered an unexpected exception
[gle=0x00000012a]
[0x0f0083] SYSPRP ActionPlatform::LaunchModu
le: Caught an unhandled exception whiletrying to load and execute 'ProvPackageSysprepGeneral
ize' from C:\Windows\System32\ProvSy
sprep.dll[
gle=0x0000
012a]
SYSPRP ActionPlatform::ExecuteAct
ion: Error in executing action; dwRet = 0x23e[gle=0x0000012a]
SYSPRP ActionPlatform::ExecuteAct
ionList: Error in executing actions; dwRet = 0x23e[gle=0x0000012a]
SYSPRP SysprepSession::Execute: Error in executing actions from C:indowsSystem32SysprepAct
ionFilesGe
neralize.x
ml; dwRet = 0x23e
SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x23e
[0x0f0070] SYSPRP RunExternalDlls:An error occured while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x23e
[0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x8007023e