Making stateless image for Virtual Machines in Virtual Desktop Pool

Virtual desktop pool is a group of identically configured virtual machines on Remote Desktop Virtualization Host (RD Virtualization Host) server. All VMs in a virtual desktop pool are identically configured; a user should see same VD regardless of which VM in VD pool the user connects to. Therefore, when you’re setting up a VDI system, […]

Virtual desktop pool is a group of identically configured virtual machines on Remote Desktop Virtualization Host (RD Virtualization Host) server. All VMs in a virtual desktop pool are identically configured; a user should see same VD regardless of which VM in VD pool the user connects to. Therefore, when you’re setting up a VDI system, you often want the VMs in a pool to be “stateless images,” so that when the user logs off, the VM is reset to a known state. There’s an easy way to do this with Windows Server 2008 R2. First, prepare your VM in the initial state you want. Log off once you’ve finished your preparations. Second, create a Hyper-V snapshot of the VM. Finally, rename the snapshot so that it contains “RDV_Rollback” (without the quotes) anywhere in the name. That’s it. Now, as soon as the user logs off, the VM will automatically roll back to this snapshot, reverting all changes made by the user.

[Source]