SOLVED

Error Deploying from SiG image, WVD Spring 2020

%3CLINGO-SUB%20id%3D%22lingo-sub-1432367%22%20slang%3D%22en-US%22%3EError%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1432367%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20testing%20deploying%20a%20host%20pool%20using%20the%20new%20ARM-based%20deployment%20and%20I'm%20running%20into%20an%20error%20when%20deploying%20new%20versions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESource%20VM%20is%20running%20in%20Azure%20(server%202016%20datacenter%2C%20if%20it%20matters)%3C%2FP%3E%3CP%3E-Azure%20Backup%20taken%3C%2FP%3E%3CP%3E-Azure%20Backup%20restored%20as%20new%20VM%20in%20new%20VNET%3C%2FP%3E%3CP%3E-VM%20is%20modified%20(removing%20unneeded%20apps%2Froles%2C%20setting%20up%20FSLogix%2C%20Sophos%20sysprep%20script)%3C%2FP%3E%3CP%3E-VM%20is%20sysprep'd%2C%20OOBE%2C%20generalized%2C%20and%20shut%20down%3C%2FP%3E%3CP%3E-Image%20captured%20from%20VM%2C%20added%20to%20Shared%20Image%20Gallery%3C%2FP%3E%3CP%3E-New%20host%20pool%20deployed%20using%20SIG%20image%2C%202%20VMs%20provisioned%20successfully.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20based%20on%20guides%20I've%20found%20regarding%20deploying%20Spring%202020%20WVD%2C%20the%20thought%20is%20I%20should%20be%20able%20to%20update%20the%20%22golden%20image%22%20by%3A%3C%2FP%3E%3CP%3E-Provision%20a%20new%20VM%20from%20the%20SIG%20image%3C%2FP%3E%3CP%3E-Modify%20VM%20as%20required%20(app%20updates%20or%20whatever%20else)%3C%2FP%3E%3CP%3E-Sysprep%20again%3C%2FP%3E%3CP%3E-Capture%20new%20image%3C%2FP%3E%3CP%3E-Add%20image%20to%20SIG%20as%20new%20version%3C%2FP%3E%3CP%3E-Deploy%20new%20VMs%20to%20host%20pool%20using%20SIG%20latest%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20after%20the%202nd%20sysprep%2C%20the%20image%20created%20is%20un-bootable.%20Fails%20with%20this%20error%20(below)%20very%20quickly%2C%20every%20single%20time.%20I%20have%20a%20case%20created%20with%20Microsoft%20support%2C%20but%20the%20first%20info%20I%20got%20from%20them%20was%20%22we%20don't%20usually%20see%20people%20taking%20images%20of%20images%2C%20going%20to%20have%20to%20research%22%2C%20so%20I'm%20not%20hopeful.%20But%20I%20have%20seen%20at%20least%20two%20different%20guides%20explain%20this%20same%20process%20for%20updating%20the%20master%20image%2C%20so%20I%20am%20not%20sure%20what%20I%20am%20missing%20here.%20I%20appreciate%20any%20help%20provided!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%3CBR%20%2F%3E%22status%22%3A%20%22Failed%22%2C%3CBR%20%2F%3E%22error%22%3A%20%7B%3CBR%20%2F%3E%22code%22%3A%20%22ResourceDeploymentFailure%22%2C%3CBR%20%2F%3E%22message%22%3A%20%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%22%2C%3CBR%20%2F%3E%22details%22%3A%20%5B%3CBR%20%2F%3E%7B%3CBR%20%2F%3E%22code%22%3A%20%22OSProvisioningClientError%22%2C%3CBR%20%2F%3E%22message%22%3A%20%22OS%20provisioning%20for%20VM%20'WVDTEST'%20failed.%20Error%20details%3A%20This%20installation%20of%20Windows%20is%20undeployable.%20Make%20sure%20the%20image%20has%20been%20properly%20prepared%20(generalized).%5Cr%5CnInstructions%20for%20Windows%3A%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fdocumentation%2Farticles%2Fvirtual-machines-windows-upload-image%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fdocumentation%2Farticles%2Fvirtual-machines-windows-upload-image%2F%3C%2FA%3E%20%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%5D%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434091%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434091%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686039%22%20target%3D%22_blank%22%3E%40fgottman%3C%2FA%3E%26nbsp%3Bhi%2C%20this%20issue%20seems%20related%20to%20preparing%20the%20master%20image%20and%20not%20WVD.%20It%20is%20Azure%20compute%20that%20reports%20that%20the%20VM%20cannot%20be%20build%20based%20on%20the%20image%20provided.%20Path%20to%20for%20troubleshooting%20will%20be%20to%20try%20building%20a%20stand%20alone%20vm%20based%20on%20the%20image%20that%20has%20been%20selected.%20Once%20a%20single%20VM%20can%20be%20successfully%20provisioned%20then%20that%20image%20can%20be%20used%20in%20the%20with%20WVD.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETechnically%20an%20image%20from%20an%20image%20should%20work%20but%20if%20support%20states%20its%20not%20supported%20I%20cannot%20argue%20the%20point.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20also%20seen%20situations%20where%20certain%20applications%20break%20sysprep.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434530%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434530%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESupport%20hasn't%20said%20anything%20yet.%20I%20was%20hoping%20the%20community%20here%20might%20have%20run%20into%20a%20similar%20issue%20given%20the%20use%20case%2C%20as%20I%20can't%20find%20information%20about%20this%20anywhere%20else.%20I%20am%20going%20to%20have%20a%20need%20soon%20to%20do%20the%20same%20process%20with%20a%20Windows%2010%20image%20for%20a%20VDI%20deployment.%20I%20agree%20that%20the%20issue%20isn't%20directly%20related%20to%20WVD%2C%20but%20I%20can't%20find%20any%20other%20community%20that%20is%20attempting%20to%20use%20images%20in%20this%20way.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20same%20error%20occurs%20when%20deploying%20a%20VM%20straight%20from%20the%20image%20(no%20WVD).%20Sysprep%20process%20completes%20successfully%2C%20and%20I%20don't%20believe%20it%20is%20a%20conflict%20with%20an%20application%2C%20as%20this%20would%20have%20caused%20the%20first%20sysprep%20to%20fail%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20am%20I%20just%20fundamentally%20misunderstanding%20the%20point%20of%20using%20images%20for%20WVD%3F%20Is%20everyone%20just%20building%20out%20new%20host%20pools%20and%20session%20hosts%20any%20time%20they%20need%20to%20apply%20software%20updates%20to%20a%20hosted%20application%3F%20Do%20they%20not%20maintain%20a%20%22golden%20image%22%2C%20even%20for%20a%20desktop-VDI%20use%20case%3F%20Perhaps%20I%20will%20attempt%20all%20of%20this%20with%20a%20vanilla%20marketplace%20image%20instead%20of%20a%20cloned%20server%2C%20to%20see%20if%20that%20makes%20any%20difference%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1435390%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1435390%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686039%22%20target%3D%22_blank%22%3E%40fgottman%3C%2FA%3E%26nbsp%3Bthe%20process%20being%20used%20in%20this%20case%20is%20not%20exactly%20what%20we%20have%20recommended%20as%20best%20practice%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-customize-master-image%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-customize-master-image%3C%2FA%3E)%20and%20also%20seems%20very%20unique%20to%20your%20context.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20it%20comes%20to%20images%20in%20WVD%20there%20isn't%20one%20answer%20that%20fits%20all%20organizations%20out%20there.%20From%20what%20organizations%20have%20shared%20with%20me%20I%20am%20not%20aware%20of%20anyone%20doing%20the%20below.%20(Most%20have%20scripts%20to%20automate%20and%20with%20fewer%20steps)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1471694%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1471694%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686039%22%20target%3D%22_blank%22%3E%40fgottman%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20also%20in%20the%20same%20situation%20as%20you.%20I%20am%20using%20WIn10%20Enterprise%20multi-session%202004.%3CBR%20%2F%3EI%20customized%2C%20sysprep%2C%20and%20capture%20and%20I%20get%20the%20same%20error.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20tried%20deploying%20a%20hostpool%20with%20just%20the%20standard%20image%20and%20it%20works.%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20let%20me%20know%20if%20you%20find%20a%20solution%20or%20close%20to%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1511969%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1511969%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F436364%22%20target%3D%22_blank%22%3E%40NickMariano%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20is%20not%20possible%20when%20a%20hostpool%20has%20been%20created%20using%20a%20shared%20image%20gallery.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20would%20have%20to%20recreate%20the%20hostpool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20think%20the%20shared%20image%20gallery%20itself%20is%20the%20problem%2C%20we%20have%20deployed%20hosts%20before%20using%20image%20versions%20from%20the%20gallery.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20am%20now%20getting%20the%20same%20problem.%20My%20colleague%20had%20this%20too.%20We%20notice%20that%20when%20we%20run%20sysprep%20with%20the%20shutdown%20option%2C%20the%20VM%20is%20nevertheless%20rebooted.%20When%20that%20happens%20the%20image%20is%20not%20generalized%20anymore.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1513335%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1513335%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F723693%22%20target%3D%22_blank%22%3E%40Startkabels%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYes%2C%20once%20you%20use%20image%20SIG%20you%20can%20only%20create%20session%20hosts%20using%20that%20image.%20I%20had%20to%20recreate%20the%20hostpool.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20believe%20the%20problem%20is%20when%20you%20sysprep%20the%20system%20and%20the%20vm%20is%20disconnected%2C%20the%20sysprep%20is%20not%20actually%20finished%20sysprepping...%20I%20let%20it%20sit%20for%20about%2030-60mins%20just%20to%20make%20sure%20its%20completely%20generalized.%3CBR%20%2F%3E%3CBR%20%2F%3ENo%20problem%20so%20far.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572281%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572281%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F723693%22%20target%3D%22_blank%22%3E%40Startkabels%3C%2FA%3E%26nbsp%3Bdid%20you%20ever%20find%20a%20fix%20for%20this%3F%26nbsp%3B%20Have%20been%20using%20WVD%20for%20few%20weeks%20now%20and%20yesterday%20trying%20to%20update%20our%20master%20image%20we%20now%20get%20this%20error%20when%20deploying%20new%20servers%20into%20the%20host%20pool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20great.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586420%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586420%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F752240%22%20target%3D%22_blank%22%3E%40msimonds%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20we%20did%20not.%3C%2FP%3E%3CP%3EWe%20actually%20asked%20an%20external%20consultant%20for%20help%20but%20he%20could%20get%20this%20fixed%20either.%3C%2FP%3E%3CP%3EWe%20decided%20not%20to%20look%20any%20further%20because%20we%20have%20decided%20to%20move%20away%20from%20WvD%20for%20the%20scenario%20we%20were%20testing%20it%20for.%3C%2FP%3E%3CP%3EI%20guess%20I%20would%20just%20not%20install%20the%20feature%20update%20since%20installing%20cumulative%20updates%20is%20not%20a%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInvestigating%20this%20would%20take%20some%20time.%20You%20could%20prepare%20a%20new%20hostpool%20with%20a%20WvD%20host%20based%20on%20the%20standard%20Windows%2010%201909%20multiuser%20image%20from%20the%20gallery%2C%20then%20update%20to%202004%20and%20see%20if%20the%20problem%20is%20reproducible%20with%20gallery%20images%20that%20were%20not%20customized.%3C%2FP%3E%3CP%3EThough%20I%20cannot%20tell%20if%20you%20are%20having%20the%20issue%20with%20the%20same%20feature%20update...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586433%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Deploying%20from%20SiG%20image%2C%20WVD%20Spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586433%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F723693%22%20target%3D%22_blank%22%3E%40Startkabels%3C%2FA%3E%2C%20many%20thanks%20for%20the%20reply.%26nbsp%3B%20I%20found%20out%20what%20was%20causing%20our%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20was%20our%20Anti-Virus%20-%20Sophos%20-%20it%20has%20tamperproof%20feature%20and%20this%20seems%20to%20throw%20out%20the%20image%20when%20trying%20to%20redeploy.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20such%20we%20now%20deploy%20that%20after%20adding%20new%20VMs%20into%20the%20host%20pool%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello,

 

We are testing deploying a host pool using the new ARM-based deployment and I'm running into an error when deploying new versions.

 

Source VM is running in Azure (server 2016 datacenter, if it matters)

-Azure Backup taken

-Azure Backup restored as new VM in new VNET

-VM is modified (removing unneeded apps/roles, setting up FSLogix, Sophos sysprep script)

-VM is sysprep'd, OOBE, generalized, and shut down

-Image captured from VM, added to Shared Image Gallery

-New host pool deployed using SIG image, 2 VMs provisioned successfully.

 

Now, based on guides I've found regarding deploying Spring 2020 WVD, the thought is I should be able to update the "golden image" by:

-Provision a new VM from the SIG image

-Modify VM as required (app updates or whatever else)

-Sysprep again

-Capture new image

-Add image to SIG as new version

-Deploy new VMs to host pool using SIG latest

 

However, after the 2nd sysprep, the image created is un-bootable. Fails with this error (below) very quickly, every single time. I have a case created with Microsoft support, but the first info I got from them was "we don't usually see people taking images of images, going to have to research", so I'm not hopeful. But I have seen at least two different guides explain this same process for updating the master image, so I am not sure what I am missing here. I appreciate any help provided!

 

{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "OSProvisioningClientError",
"message": "OS provisioning for VM 'WVDTEST' failed. Error details: This installation of Windows is undeployable. Make sure the image has been properly prepared (generalized).\r\nInstructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/ "
}
]
}
}

9 Replies
Highlighted
Best Response confirmed by Eva Seydl (Microsoft)
Solution

@fgottman hi, this issue seems related to preparing the master image and not WVD. It is Azure compute that reports that the VM cannot be build based on the image provided. Path to for troubleshooting will be to try building a stand alone vm based on the image that has been selected. Once a single VM can be successfully provisioned then that image can be used in the with WVD. 

Technically an image from an image should work but if support states its not supported I cannot argue the point. 

We have also seen situations where certain applications break sysprep.

Highlighted

@Stefan Georgiev 

 

Support hasn't said anything yet. I was hoping the community here might have run into a similar issue given the use case, as I can't find information about this anywhere else. I am going to have a need soon to do the same process with a Windows 10 image for a VDI deployment. I agree that the issue isn't directly related to WVD, but I can't find any other community that is attempting to use images in this way.

 

The same error occurs when deploying a VM straight from the image (no WVD). Sysprep process completes successfully, and I don't believe it is a conflict with an application, as this would have caused the first sysprep to fail as well.

 

Or am I just fundamentally misunderstanding the point of using images for WVD? Is everyone just building out new host pools and session hosts any time they need to apply software updates to a hosted application? Do they not maintain a "golden image", even for a desktop-VDI use case? Perhaps I will attempt all of this with a vanilla marketplace image instead of a cloned server, to see if that makes any difference

Highlighted

@fgottman the process being used in this case is not exactly what we have recommended as best practice (https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image) and also seems very unique to your context. 

When it comes to images in WVD there isn't one answer that fits all organizations out there. From what organizations have shared with me I am not aware of anyone doing the below. (Most have scripts to automate and with fewer steps)

Highlighted
Hi @fgottman,

I am also in the same situation as you. I am using WIn10 Enterprise multi-session 2004.
I customized, sysprep, and capture and I get the same error.

I tried deploying a hostpool with just the standard image and it works.

Please let me know if you find a solution or close to it.
Highlighted

@NickMariano 

That is not possible when a hostpool has been created using a shared image gallery.

 

You would have to recreate the hostpool.

 

I don't think the shared image gallery itself is the problem, we have deployed hosts before using image versions from the gallery.


I am now getting the same problem. My colleague had this too. We notice that when we run sysprep with the shutdown option, the VM is nevertheless rebooted. When that happens the image is not generalized anymore.

Highlighted
Hi @Startkabels

Yes, once you use image SIG you can only create session hosts using that image. I had to recreate the hostpool.

I believe the problem is when you sysprep the system and the vm is disconnected, the sysprep is not actually finished sysprepping... I let it sit for about 30-60mins just to make sure its completely generalized.

No problem so far.
Highlighted

@Startkabels did you ever find a fix for this?  Have been using WVD for few weeks now and yesterday trying to update our master image we now get this error when deploying new servers into the host pool.

 

Any help would be great.

Highlighted

@msimonds 

 

No we did not.

We actually asked an external consultant for help but he could get this fixed either.

We decided not to look any further because we have decided to move away from WvD for the scenario we were testing it for.

I guess I would just not install the feature update since installing cumulative updates is not a problem.

 

Investigating this would take some time. You could prepare a new hostpool with a WvD host based on the standard Windows 10 1909 multiuser image from the gallery, then update to 2004 and see if the problem is reproducible with gallery images that were not customized.

Though I cannot tell if you are having the issue with the same feature update...

 

Highlighted

@Startkabels, many thanks for the reply.  I found out what was causing our issue.

 

It was our Anti-Virus - Sophos - it has tamperproof feature and this seems to throw out the image when trying to redeploy.

 

As such we now deploy that after adding new VMs into the host pool