SOLVED
Home

Unable to deploy custom image to WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-734760%22%20slang%3D%22en-US%22%3EUnable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-734760%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20we've%20been%20testing%20WVD%20in%20our%20organization%20for%20a%20about%20a%20month%2C%20we've%20had%20some%20of%20the%20common%20issues%20others%20were%20having%20deploying%20host%20pools%2C%20getting%20connection%20errors%2C%20etc.%20We've%20worked%20all%20of%20that%20out%20and%20can%20now%20do%20personal%20and%20pooled%20deployments%2C%20create%20app%20groups%20and%20deploy%20applications%20all%20without%20issue.%26nbsp%3B%20The%20problem%20I'm%20running%20into%20now%20happens%20when%20I%20do%20a%20deployment%20with%20a%20custom%20image.%20The%20deployment%20finishes%20successfully%20but%20does%20not%20attach%20itself%20to%20the%20WVD%20service.%20The%20machine%20gets%20built%2C%20I%20can%20RDP%20into%20it%20but%20it%20doesn't%20show%20up%20in%20the%20Remote%20Desktop%20Web%20Client%2C%20in%20powershell%20the%20host%20pool%20doesn't%20show%20in%20the%20tenant%2C%20nor%20the%20management%20UI.%20I've%20also%20created%20the%20image%20in%20several%20different%20ways.%20I've%20used%20sysprep%20on%20one%20of%20the%20machines%20already%20deployed%20in%20WVD%2C%20captured%20the%20image%20from%20the%20Azure%20portal%20and%20did%20a%20WVD%20deployment%2C%20I've%20followed%20the%20steps%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-customize-master-image%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20arcticle%3C%2FA%3E%2C%20I've%20also%20created%20a%20machine%20from%20the%20marketplace%20using%20the%20multi%20user%20Windows%2010%20%2B%20O365%20image%2C%20sysprep%2C%20and%20deploying%20using%20the%20VHD%20URI%20of%20the%20disk.%20Each%20one%20results%20in%20the%20same%2C%20the%20deployment%20goes%20through%20without%20error%2C%20the%20machine%20joins%20the%20domain%20and%20shows%20up%20my%20computers%20OU%2C%20you%20can%20RDP%20to%20it%20and%20use%20it%20normally%2C%20but%20it%20does%20not%20show%20up%20in%20RDP%20and%20you%20cant%20find%20any%20trace%20of%20the%20host%20pools%20or%20sessionhosts%20in%20powershell%20using%20any%20of%20the%20Get-RDS%20commands.%20Appreciate%20any%20help%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-737173%22%20slang%3D%22en-US%22%3ERE%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-737173%22%20slang%3D%22en-US%22%3EAre%20you%20happen%20to%20deploy%20your%20custom%20image%3F%20If%20so%20please%20ensure%20you%20follow%20these%20steps%20and%20install%20our%20agent%20and%20bootloader%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%23prepare-the-virtual-machines-for-windows-virtual-desktop-preview-agent-installations%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%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%23prepare-the-virtual-machines-for-windows-virtual-desktop-preview-agent-installations%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-740286%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-740286%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139744%22%20target%3D%22_blank%22%3E%40Eva%20Seydl%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply%2C%20I%20actually%20managed%20to%20get%20it%20up%20and%20deployed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-835913%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-835913%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360382%22%20target%3D%22_blank%22%3E%40Yipsilon%3C%2FA%3E%26nbsp%3B%20Nice.%20What%20is%20the%20issue%20%26amp%3B%20resolution%3F%20may%20be%20of%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-854195%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-854195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360382%22%20target%3D%22_blank%22%3E%40Yipsilon%3C%2FA%3E%26nbsp%3BYes%2C%20what%20was%20your%20solution%20exactly%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-854691%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-854691%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360382%22%20target%3D%22_blank%22%3E%40Yipsilon%3C%2FA%3E%26nbsp%3B-%20I%20was%20experiencing%20the%20exact%20same%20issues.%26nbsp%3B%26nbsp%3BGet-RdsSessionHost%20-TenantName%20%24myTenantName%20-HostPoolName%20%24myHostPool%20would%20never%20return%20a%20value.%26nbsp%3B%20I%20tried%20both%20UPN%20and%20SPN%2C%20but%20neither%20worked.%26nbsp%3B%20What%20ultimately%20did%20it%20was%20deploying%20the%20custom%20image%20and%20uninstalling%20all%20the%20Remote%20Desktop%20Agents%20including%20the%20Geneva%20Agent.%20I%20then%20installed%20an%20older%20agent%201.0.1.7%20using%20the%26nbsp%3B%3CSPAN%3ENew-RdsRegistrationInfo%3C%2FSPAN%3E%26nbsp%3Btoken%20and%20re-installed%20the%20boot%20loader%20(although%20it%20probably%20didn't%20need%20to%20be%20done).%26nbsp%3B%20It%20registers%20successfully%20and%20then%20automatically%20re-installs%20agent%201.0.1288.2700%20and%20the%20Geneva%20Agent%2042.5.4.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-859937%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859937%22%20slang%3D%22en-US%22%3EFor%20me%20it%20was%20a%20piece%20of%20software%20in%20my%20image%20which%20piece%20I'm%20not%20sure.%20We%20deploy%20our%20user%20images%20fully%20loaded%20and%20something%20must%20have%20been%20interfering%20so%20one%20by%20one%20I%20took%20out%20each%20package.%20Eventually%20we%20got%20around%20the%20issue%20by%20deploying%20a%20plain%20image%20and%20scripting%20the%20installation%20of%20the%20other%20software.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-867468%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-867468%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F408019%22%20target%3D%22_blank%22%3E%40m_grewnow%3C%2FA%3E%26nbsp%3B-%20can%20you%20let%20me%20what%20the%20links%20were%20that%20used%20to%20download%20all%20the%20agents%3F%20I%20can't%20seem%20to%20find%20them%20online.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-868035%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20deploy%20custom%20image%20to%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-868035%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411991%22%20target%3D%22_blank%22%3E%40ramitadros%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20found%20the%20agent%20in%20the%20deployed%20image%20in%20this%20path%20%22C%3A%5CDeployAgent%5CRDInfraAgentInstall%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Yipsilon
New Contributor

So we've been testing WVD in our organization for a about a month, we've had some of the common issues others were having deploying host pools, getting connection errors, etc. We've worked all of that out and can now do personal and pooled deployments, create app groups and deploy applications all without issue.  The problem I'm running into now happens when I do a deployment with a custom image. The deployment finishes successfully but does not attach itself to the WVD service. The machine gets built, I can RDP into it but it doesn't show up in the Remote Desktop Web Client, in powershell the host pool doesn't show in the tenant, nor the management UI. I've also created the image in several different ways. I've used sysprep on one of the machines already deployed in WVD, captured the image from the Azure portal and did a WVD deployment, I've followed the steps in this arcticle, I've also created a machine from the marketplace using the multi user Windows 10 + O365 image, sysprep, and deploying using the VHD URI of the disk. Each one results in the same, the deployment goes through without error, the machine joins the domain and shows up my computers OU, you can RDP to it and use it normally, but it does not show up in RDP and you cant find any trace of the host pools or sessionhosts in powershell using any of the Get-RDS commands. Appreciate any help on this.

 

Thanks!

8 Replies
Are you happen to deploy your custom image? If so please ensure you follow these steps and install our agent and bootloader: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell#prepare-the-virt...

@Eva Seydl 

 

Thank you for the reply, I actually managed to get it up and deployed.

 

Thanks!

@Yipsilon  Nice. What is the issue & resolution? may be of help

@Yipsilon Yes, what was your solution exactly?

Solution

@Yipsilon - I was experiencing the exact same issues.  Get-RdsSessionHost -TenantName $myTenantName -HostPoolName $myHostPool would never return a value.  I tried both UPN and SPN, but neither worked.  What ultimately did it was deploying the custom image and uninstalling all the Remote Desktop Agents including the Geneva Agent. I then installed an older agent 1.0.1.7 using the New-RdsRegistrationInfo token and re-installed the boot loader (although it probably didn't need to be done).  It registers successfully and then automatically re-installs agent 1.0.1288.2700 and the Geneva Agent 42.5.4.

For me it was a piece of software in my image which piece I'm not sure. We deploy our user images fully loaded and something must have been interfering so one by one I took out each package. Eventually we got around the issue by deploying a plain image and scripting the installation of the other software.

@m_grewnow - can you let me what the links were that used to download all the agents? I can't seem to find them online.

@ramitadros 

 

I found the agent in the deployed image in this path "C:\DeployAgent\RDInfraAgentInstall".

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies