When you create a collection of virtual desktops, the wizard will ask you in which organizational unit (which folder) you want to store them.
This will later allow you to apply group policies to a collection of virtual desktops, for example.
In our case, we created an organizational unit called VDI.
On your RDS server, go to Server Manager -> Remote Desktop Services -> Overview.
Then, click : Create virtual desktop collections.
The "Create Collection" wizard is displayed.
Enter a name for this collection.
In our case, we indicated : Win 8 Enterprise
Note : this is the name that will be displayed in the web access for your users.
For the collection's type, you have the choice between :
In this tutorial, we will create a pooled virtual desktop collection.
The other possibility will be covered in a future tutorial.
To create a virtual desktop collection, you must choose which virtual machine will serve as a template.
Important : the virtual machine selected here must be of generation 1 and have been prepared using sysprep.
If you didn't launch sysprep on the selected virtual machine, this error will be displayed : The virtual desktop [name] is not Sysprep generalized.
For virtual desktop settings, you can choose a sysprep answer file to automatically configure Windows (unattended install).
Or choose to specify them directly in this wizard by selecting the "Provide unattended installation settings" option.
If you selected the "Provide unattended installation settings" option, the wizard will ask you :
At the "Specify users and user groups" step, you will be able to :
Since we have only one virtualization host (Hyper-V server), we will create all of them on the same server.
However, if you have multiple Hyper-V servers with the "virtualization host" role, you can distribute them to better manage the resources of your servers and the performance of your virtual desktops.
Since the wizard will create copies of the selected computer at the "Virtual Desktop Template" step, you will need to choose where you want to store these copies :
Since these virtual desktops are pooled in our case, users will not necessarily get to the same virtual desktop each time (even if the user will not be aware of it).
It also means that the data created by your users will not be stored in the virtual desktop, but in a user profile disk.
It's therefore advisable to check the "Automatically roll back the virtual desktop when the user logs off" box. This also avoids having to repair a virtual desktop in the event that a user has done a bad job on it.
As previously stated, the changes made by the users will be stored in a user profile disk.
In order for these changes to be maintained over the days, you must check the "Enable user profile disks" box.
Then, specify the network path of the previously created shared folder (at step : 5. Storage of user profile disks).
Note the maximum size limits the data of each user to a precise size (default : 20 GB).
The wizard displays a summary of the configuration of your virtual desktops.
Click Create.
To begin, the wizard will export your virtual desktop.
On your Hyper-V server, you will see that the virtual machine being templated will be being exported.
Then, the wizard will create the virtual desktops on your Hyper-V server.
At that moment, you will see a 1st additional virtual machine (in our case : Win8-vm-0).
Thanks to the thumbnail, you can follow the beginning of its creation (and thus, detect a possible blue screen that would occur). This is very useful, otherwise you may lose 3 quarters of an hour of your time waiting unnecessarily until the wizard finally tells you that an error occurred during the creation virtual desktops.
If the bottom bar doesn't move a millimeter for 15 minutes, there may be a problem with the virtual desktop generated by the wizard.
This happens especially when the created virtual desktop cann't connect to your Active Directory server.
In this case, the wizard will tell you, but after a long time : The provisioned virtual machine could not connect to its primary domain.
To solve the problem, verify that your Active Directory server is reachable by the virtual desktop and that your DHCP server is configured to send the IP address of your Active Directory server as the primary DNS server.
If all goes well, the "The collection [name of the collection] has been created correctly" message will be displayed.
On your RDS server, you will see that you have a "Win 8 Enterprise" collection containing 2 virtual desktops of type "Pooled Managed".
If you choose your collection on the left, you will see :
On your Hyper-V server, you will find your virtual desktops (Win8-vm-0 and Win8-vm-1 in our case).
On your Active Directory server, you will find the computer accounts for your virtual desktops.
In the settings of your virtual desktops, you will see where their hard disks are stored.
In our case, this is the "C:\ProgramData\Microsoft\Windows\RDVirtualizationHost\Win_8_Entreprise\..." of our Hyper-V server.
If you look at the startup and shutdown options, you will see that the virtual desktops are configured to :
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment