VMware Horizon Community
RobinPlomp01
Contributor
Contributor

vcenter OS Customization for Horizin

     Hi,

I have build a static desktop pool in Horizon it is using vcenter OS customization. I am looking for an example of how I can configure the VM to be placed in the correct OU?

Thanks,

Robin

0 Kudos
3 Replies
Shreyskar
VMware Employee
VMware Employee

Hi RobinPlomp01

While editing/creating the View desktop pool, you can provide AD OU path under 'Guest customization' tab:

pastedImage_0.png

0 Kudos
RobinPlomp01
Contributor
Contributor

Hi I know that part. What I mean is creating a Full Machine VDI, that the OS customization from vcenter. How can I choose the target OU there?

0 Kudos
RoderikdeBlock
Enthusiast
Enthusiast

During the creation of the Customization Specification template you are able to add the VM to Active Directory. The disadvantage is that the computer objects will be created in the Computers folder in Active Directory.  After the creation you will have to move the computer objects to desired OU.

There are 2 ways to workaround this issue:

1. pre-create the computer object in the destination OU when using Full VM's and customization specification.

2. Use a script which I just find at: https://www.joeydegraaf.net/provision-a-full-virtual-machine-pool-in-specific-ou/

Roderik de Block


Blog: https://roderikdeblock.com