On-Prem RDS Session Host Migration To Azure WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-1409509%22%20slang%3D%22en-US%22%3EOn-Prem%20RDS%20Session%20Host%20Migration%20To%20Azure%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1409509%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%20I'm%20working%20on%20migrating%20our%20on-prem%20RDS%20session%20hosts%2C%20all%20running%20Windows2012R2%2C%20to%20Azure%20WVD.%20Since%20most%20of%20the%20RDS%20session%20hosts%20have%20complex%20configurations%2C%20I'm%20trying%20to%20figure%20out%20if%20there%20is%20a%20way%20to%20clone%20the%20RDS%20session%20host%20virtual%20machines(running%20in%20Hyper-V)%20and%20stand%20them%20up%20as%20a%20hostpool%20virtual%20machine%20in%20Azure%20WVD.%26nbsp%3B%20I've%20cloned%20an%20RDS%20VM%2C%20sysprepped%20it%2C%20converted%20the%20vhdx%20file%20to%20vhd%2C%20and%20uploaded%20it%20into%20Azure.%20After%20that%2C%20i%20used%20this%20doc%20to%20create%20the%20hostpool%20and%20create%20the%20vm%20from%20the%20image%20and%20then%20installed%20the%20Virtual%20Desktop%20Agent%20and%20the%20VDA%20Bootloader.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fcreate-host-pools-powershell-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fvirtual-desktop-fall-2019%2Fcreate-host-pools-powershell-2019%3C%2FA%3E%3C%2FP%3E%3CP%3EAt%20this%20point%2C%20I%20can%20access%20the%20cloned-from-RDS%20WVD%20desktop%20using%20Remote%20Desktop%2C%20however%2C%20if%20you%20look%20in%20the%20event%20logs%20on%20the%20WVD%20vm%2C%26nbsp%3Bthere's%20messages%20where%20it%20seems%20that%20the%20new%20WVD%20vm%20is%20still%20trying%20to%20reference%20the%20on-prem%20RDS%20system.%20Messages%20like%3A%3C%2FP%3E%3CP%3EThe%20RD%20Licensing%20grace%20period%20has%20expired%20and%20the%20service%20has%20not%20registered%20with%20a%20license%20server%20with%20installed%20licenses.%20A%20RD%20Licensing%20server%20is%20required%20for%20continuous%20operation.%20A%20Remote%20Desktop%20Session%20Host%20server%20can%20operate%20without%20a%20license%20server%20for%20120%20days%20after%20initial%20start%20up.%3C%2FP%3E%3CP%3EOn%20other%20thing%20as%20well%3A%20Let's%20say%20the%20cloned%20RDS%20session%20host%20was%20originally%20set%20up%20to%20use%20RDS%20User%20Profile%20Disks.%20Every%20time%20you%20log%20in%20in%20to%20the%20cloned%20WVD%20desktop%2C%20you%20get%20a%20temporary%20user%20profile%20and%20see%20this%20in%20the%20event%20viewer.%20Remote%20Desktop%20Services%20could%20not%20apply%20a%20user%20desktop%20for%20a%20user%20account%20with%20a%20SID%20of%20S-1-5-21-86470620-99333846-1478062314-20925.%20A%20temporary%20profile%20was%20enforced%20for%20the%20user.%20Verify%20that%20the%20user%20profile%20disk%20settings%20are%20correct.%20The%20error%20code%20is%200x35.82%3C%2FP%3E%3CP%3EHow%20do%20you%20undo%20a%20user%20profile%20disk%20configuration%20once%20a%20cloned%20vm%20is%20in%20Azure%3F%3C%2FP%3E%3CP%3EAll%20that%20I%20am%20asking%20is%20if%20anyone%20knows%20of%20a%20method%20to%20clone%20on-prem%20RDS%20session%20host%20virtual%20machines%20and%20stand%20them%20up%20in%20a%20WVD%20environment.%3C%2FP%3E%3CP%3EAny%20feedback%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434860%22%20slang%3D%22en-US%22%3ERe%3A%20On-Prem%20RDS%20Session%20Host%20Migration%20To%20Azure%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434860%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675722%22%20target%3D%22_blank%22%3E%40J_Bush%3C%2FA%3E%26nbsp%3BIf%20you%20use%20Windows%20Server%20as%20part%20of%20WVD%2C%20it%20will%20still%20require%20to%20have%20a%20license%20server%20up%20in%20Azure.%20It's%20recommended%20to%20reconfigure%20that%20in%20your%20Azure%20subscription.%20Overtime%20you%20could%20consider%20using%20Windows%2010%20Enterprise%20multi-session%20which%20doesn't%20require%20a%20license%20server.%26nbsp%3B%3CBR%20%2F%3EI%20don't%20know%20the%20answer%20to%20the%20UPD%20question%20but%20will%20ask%20around.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434908%22%20slang%3D%22en-US%22%3ERe%3A%20On-Prem%20RDS%20Session%20Host%20Migration%20To%20Azure%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434908%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675722%22%20target%3D%22_blank%22%3E%40J_Bush%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63584%22%20target%3D%22_blank%22%3E%40Pieter%20Wigleven%20(WINDOWS)%3C%2FA%3E%26nbsp%3B%2C%20if%20the%20VHD%20for%20the%20UPD%20is%20not%20transferred%20then%20you%20don't%20have%20that%20user%20profile.%26nbsp%3B%20I%20would%20assume%20that%2BSysprep%20would%20be%20adequate%2C%20then%20use%20that%20image%20as%20your%20base%20for%20WVD.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EYou%20would%2C%20of%20course%2C%20have%20to%20re-create%20the%20user's%20profile%2C%20preferably%20using%20FSLogix%20Profile%20Container.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHave%20you%20tried%20this%20process%20and%20it%20has%20failed%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi all, I'm working on migrating our on-prem RDS session hosts, all running Windows2012R2, to Azure WVD. Since most of the RDS session hosts have complex configurations, I'm trying to figure out if there is a way to clone the RDS session host virtual machines(running in Hyper-V) and stand them up as a hostpool virtual machine in Azure WVD.  I've cloned an RDS VM, sysprepped it, converted the vhdx file to vhd, and uploaded it into Azure. After that, i used this doc to create the hostpool and create the vm from the image and then installed the Virtual Desktop Agent and the VDA Bootloader. https://docs.microsoft.com/en-us/azure/virtual-desktop/virtual-desktop-fall-2019/create-host-pools-p...

At this point, I can access the cloned-from-RDS WVD desktop using Remote Desktop, however, if you look in the event logs on the WVD vm, there's messages where it seems that the new WVD vm is still trying to reference the on-prem RDS system. Messages like:

The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.

On other thing as well: Let's say the cloned RDS session host was originally set up to use RDS User Profile Disks. Every time you log in in to the cloned WVD desktop, you get a temporary user profile and see this in the event viewer. Remote Desktop Services could not apply a user desktop for a user account with a SID of S-1-5-21-86470620-99333846-1478062314-20925. A temporary profile was enforced for the user. Verify that the user profile disk settings are correct. The error code is 0x35.82

How do you undo a user profile disk configuration once a cloned vm is in Azure?

All that I am asking is if anyone knows of a method to clone on-prem RDS session host virtual machines and stand them up in a WVD environment.

Any feedback appreciated.

2 Replies

@J_Bush If you use Windows Server as part of WVD, it will still require to have a license server up in Azure. It's recommended to reconfigure that in your Azure subscription. Overtime you could consider using Windows 10 Enterprise multi-session which doesn't require a license server. 
I don't know the answer to the UPD question but will ask around. 

Highlighted

@J_Bush , @Pieter Wigleven (WINDOWS) , if the VHD for the UPD is not transferred then you don't have that user profile.  I would assume that+Sysprep would be adequate, then use that image as your base for WVD. 


You would, of course, have to re-create the user's profile, preferably using FSLogix Profile Container.

 

Have you tried this process and it has failed?