Solved

Hyper-V virtual desktop collection creation error "Failed: The provisioned virtual machine could not connect to its primary domain"

Posted on 2015-01-19
8
613 Views
Last Modified: 2015-01-30
I'm trying to create a manged pool of personal desktops in Hyper-V. When I run the wizard I get the following error: "Failed: The provisioned virtual machine could not connect to its primary domain".

Server 2012 R2 was installed on the server, and the Hyper-V role was added, and called HV1. Two instances of Server 2012 R2 were created, one was set up as the Domain Controller (DC), called DC1, and the other as the Remote Desktop Services installation (RDSI), and called RDSI1. The RDS was installed according to this step by step tutorial (Technet blogpost).

The two Server 2012 R2 installations (HV1 and RDSI1) were joined to the third DC (DC1) one.

At this stage I attempted to create a collection of managed personal desktops, and am getting the above error.

The template I'm using is Gen1 (I tried Gen2, but Hyper-V said that they can't be used for a managed pool) Win 8.1 Pro sysprepped image (Sysprep /generalize /oobe /shutdown /mode:VM). I've created a VM from that image and it connects to the Internet, can run Windows Update, etc.

Please help!
0
Comment
Question by:ssvarc
  • 5
  • 2
8 Comments
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40560175
Are you able to ping the DC by name from the host and RDSH servers?
0
 

Author Comment

by:ssvarc
ID: 40560220
Yes. I typed "ping DC1" into command windows on both machines and got swift replies.
0
 
LVL 38

Expert Comment

by:Philip Elder
ID: 40560249
Was the desktop OS image created from an already domain joined OS?
0
 

Author Comment

by:ssvarc
ID: 40560400
No. I used the 8.1 ISO, installed to a Gen 1 VM, opened a browser to make sure it could connect, ran Windows Update, and then sysprepped using the above command.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 250 total points
ID: 40560500
Have you setup DHCP server which can provide IP configuration and DNS to personnel desktop collection
Otherwise I think it won't allow you to connect to DC
I have seen this problem with pooled VDI.
0
 

Author Comment

by:ssvarc
ID: 40560521
Right now my router is providing DHCP. The VM's that I've created have had no issues, only the managed collection.

DC1 has the DNS role.

What needs to be done?
0
 

Accepted Solution

by:
ssvarc earned 0 total points
ID: 40569936
Finally got it. I read this Technet article which discusses how-to setup the DHCP role in Server 2012 R2, as well as reading the chapter about it in Windows Server 2012 R2 Storage, Security, & Networking Pocket Consultant by William Stanek.

There are a few gotchas, such as needing to authorize the role, adding the correct permissions in AD, etc.
0
 

Author Closing Comment

by:ssvarc
ID: 40579366
While the expert gave a technically correct answer, he provided no assistance in how to implement the solution. My answer gives a few resources, so others faced with this issue can find some self help, as well as pointing out some common gotchas in implementing the solution.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now