Hi Fab-people!
Being a novice administrator, I strive to learn everything new and how to absorb information through a sponge. I also appreciate the order in the IT infrastructure of the enterprise, consistency, accessibility and versatility. In an effort to achieve the latter, (to use for DNS Nix DNS - BIND) not so long ago suffered a fiasco, but do not stop there. I would like to share with you information regarding the role of
Windows Deployment Services in Windows Server 2012 and setting it up to work with a
third-party DHCP server on Ubuntu Server.
Part 1. Setting up a DHCP server
The entire network in our organization is built on UNIX-systems, and for, even if modest by IT standards, a fleet of 50 pcs. still want to use all the modern benefits and convenience of administration. The question arose: how to deploy Windows on users' PCs over the network, when will the TFTP server be separate from DHCP? The task, albeit a simple one, made me fluently study the operation and setup of a DHCP server on Ubuntu. Versatility is important to us. :) Do not raise the same for the "screw" DHCP.
All that was required, when describing the network, was to indicate with the
next-server command that the TFTP server was on a different host. Here is the DHCP config fragment using the example of the 192.168.1.0/24 network:
')
shared-network 2_Users { subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.254; default-lease-time 3600; max-lease-time 7200; option domain-name "test.jp"; option domain-name-servers 192.168.1.1; option routers 192.168.1.1; next-server 192.168.2.2;
That's all.
/etc/init.d/isc-dhcp-server restart . We proceed to configure WDS.
Part 2: Configure the Windows Deployment Services Role
About the installation of the role can hardly say something. It is simple, does not require a reboot, and asks you to specify which components to install. We need both components:
Deployment Server and
Transport Server .
After the role is installed, its console will be available in the Administration list of the Windows Server Control Panel and is called
Windows Deployment Services .

Initially, the server needs to be configured. PCM on the server on the left and select "Configure Server". Setting is not a big deal, I’ll only talk about important, in my opinion, points:
If you use Active Directory Domain Services in your network, then when setting up the server, you can specify whether the server will be isolated or run in AD. It will be much more important to note later that the DHCP server is in a different place and there is no need to listen to the connections on the ports of our WDS server.
- You will need to specify whether to integrate the server into AD
- Specify the installation image storage location
- Select answer policy for clients. Here is a little more detail.

If we restrict ourselves only to installing the system, then you can select the item “Answer all ...” because, installing Windows will require a login / password pair from the server from which it is being booted. Unauthorized installation of "Windows on the grid" is not a ride.
- At the end you will be asked to add the first image
I want to draw your attention to the tab "DHCP Protocol" server properties.

Here you just need to remove the birds if you use a third-party DHCP server. And on the "Client" tab, you can specify whether to bring new users to the domain.

Part 3. Interesting
As you know, Windows images are added to the WDS server in two stages: adding a boot image (boot.wim) and an installation image (install.wim). Here I noticed a small and interesting feature. Our company uses Windows, starting with Windows 7, Server 2008R2 and ending with Windows 8.1 and Server 2012. As you know, the contents of boot.wim are what we see by running the Windows installation from the disk. And if at installation from a disk only drivers for the HDD controller are important, then for a network installation, drivers for a network adapter are also important.
This article describes well how to integrate drivers into a distribution using a WAIK. But when I added the boot image from the Windows 8.1 distribution and checked it, I noticed that the database of drivers for network adapters was expanded. But the main feature is not the point. :) Using one, the latest Windows boot image (even if you collected it yourself using WAIK), you can install any editions of Windows, starting with Windows Vista, ending with Windows Server 2012R2. You do not need to add a bunch of images to download - choose one, versatile and modern. You can add only install images (install.wim), choosing which editions of Windows you need.
You can create image groups in the WDS management console ...

... and as a result, when installing, you will receive a list of all operating systems, from the Desktop and Servers groups, select the required one and install it.
Do not forget , to install, you need to enter the server administrator login / password.
The contents of the directory where the installation images are stored will look like this:

Despite the banality of what is happening, it will not prevent you from installing any of the Windows you added to the server.
That is, in fact, all that I wanted to share with you. If you want to expand the capabilities of WDS, on Habré there is an article "
Add WDS universality" , where there is an even bigger fan of this very "universality", tells how to make WDS use GRUB2, and hence the installation of Linux and reanimation utilities ... In general, everything so that the modern admin does not carry a flash drive with him.
I am for sharing Windows and Linux. Thanks for attention!