question

SarahRStreet-7772 avatar image
0 Votes"
SarahRStreet-7772 asked AmitaMenon-3691 edited

Windows Virtual Desktop non-persistent desktops

Hello,

I am experimenting with Windows Virtual Desktop, and I was wondering if it is possible when session hosts are rebooted, to revert them back to the OS image they were created from. So that if a user logs into a session host and makes changes, those changes are lost when the session host is rebooted.

I found an ARM Template on GitHub here that reverts session hosts back to a given OS image, but it only works with WVD Classic, and I am using WVD with Azure Resource Manager objects. And that template doesn't revert the session hosts when they are rebooted, but perhaps that could be automated.

Thank you in advance for your help!


azure-virtual-desktop
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

its possible to do it with Azure Ephemeral OS disk.

0 Votes 0 ·

1 Answer

karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered

Thanks for your question.
The only way to achieve this currently is either by using some third party image management solutions (for example, Nerdio, Citrix etc) or using either Ephemeral disks or a devOps pipeline that performs the rebuild for you (using automation to kick it off). We don't have a way to do this in portal as of today as a WVD function.

Please refer to this documentation on Ephemeral disks: https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks

Furthermore, this works with domain joined VMs as well.
You may find this video helpful : WVD Stateless VMs | Windows Virtual Desktop #15

Hope that helps answer your question.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.