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
655 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
"Error while attempting to connect to View Composer" 4 230
Windows Install Standalone Mode 14 58
Hyper-V Replication 3 52
Clustering Windows Hyper V 9 36
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

863 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

26 Experts available now in Live!

Get 1:1 Help Now