Import an Existing AVD Session Host VM as a Desktop Image
Note: It is not recommended that you use existing session hosts, where the AVD agent has already been installed, as a desktop image. If the session host VM was provisioned from an Azure managed image, then it is recommended that you import that image instead. See Import an Existing Azure Managed Image as a Desktop Image for details.
If you do not have an existing Azure managed image and want to proceed importing an existing session host VM as a desktop image, then follow these steps.
To import an existing AVD session host VM as a desktop image.
Power off the VM.
In the Azure portal, navigate to Settings > Disks.
Select the OS disk and then select Disk Export.
Select Generate URL.
The URL is generated.
Copy the generated URL to the clipboard.
In Nerdio Manager, at the Account level, navigate to Desktop Images.
Select Add from Azure VM.
Enter the following information:
SAS URL: Paste the URL from the clipboard.
Join to AD: Unselect this option and provide the local admin credentials to be created on the imported VM.
Enter the information for the other fields. See Overview of Desktop Images for for detailed information.
Once you have entered all the desired information, select OK.
The desktop image import task starts.
Once the import task finishes, power on the newly imported image.
RDP to the VM with the local admin credentials previously created.
Completely uninstall all traces of the AVD agent.
Remove it from Control Panel > Programs and Features. (Ensure that all components are gone after a reboot.)
Remove all traces from the registry (HKLM\Software\Microsoft\RD*), if any.
From the action menu, select Power off & set as image.
Comments (0 comments)