Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
861 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 1000 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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Suggested Courses

715 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