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
786 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 39

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 39

Expert Comment

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

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 

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
 
LVL 37

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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.

752 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