1 00:00:01,240 --> 00:00:03,730 Prior to installing Windows Deployment Services, 2 00:00:03,730 --> 00:00:06,030 we need to have an Active Directory server, 3 00:00:06,030 --> 00:00:08,650 unless we choose the standalone option. 4 00:00:08,650 --> 00:00:10,170 We also need a DNS server, 5 00:00:10,170 --> 00:00:13,820 which is going to be included in our Active Directory domain controller. 6 00:00:13,820 --> 00:00:18,430 So I'm going to create a domain and forest and then join the 7 00:00:18,430 --> 00:00:22,040 Windows Deployment server to the domain. 8 00:00:22,040 --> 00:00:25,040 Make sure you have a static IP address set on your domain controller 9 00:00:25,040 --> 00:00:27,710 and install the Active Directory Domain Services, 10 00:00:27,710 --> 00:00:35,120 click Add Features, click Next, Next, and Install. 11 00:00:35,120 --> 00:00:37,830 After the installation is complete, 12 00:00:37,830 --> 00:00:41,440 we'll go ahead and promote this computer to be a domain controller. 13 00:00:41,440 --> 00:00:43,420 Installation is complete. 14 00:00:43,420 --> 00:00:46,500 I can click Promote this server to be a domain controller here, 15 00:00:46,500 --> 00:00:52,340 or I can click Close and then click the triangle and do it from this section. 16 00:00:52,340 --> 00:00:54,440 Now a new wizard will come up. 17 00:00:54,440 --> 00:00:56,960 I'm going to choose to Add a new forest, 18 00:00:56,960 --> 00:01:04,340 and I'm going to call this PS.int, and click Next. 19 00:01:04,340 --> 00:01:06,770 I'll choose the default Forest and Domain functional level, 20 00:01:06,770 --> 00:01:11,650 which are the highest that they go, and I'll put in a password for recovery, 21 00:01:11,650 --> 00:01:18,040 and click Next, and continue clicking Next, 22 00:01:18,040 --> 00:01:25,430 choosing all the defaults, until we get to Install. 23 00:01:25,430 --> 00:01:29,760 Once installation is complete, the server will automatically restart. 24 00:01:29,760 --> 00:01:32,940 And we can see that it was successful, 25 00:01:32,940 --> 00:01:37,640 and it's automatically going to sign me out and restart. 26 00:01:37,640 --> 00:01:40,900 I'm now logged into the Windows Deployment Services server, 27 00:01:40,900 --> 00:01:45,340 and I'm going to go to Settings, and join the domain that I just created. 28 00:01:45,340 --> 00:01:52,140 I'll go to System, and I'll go down to About, 29 00:01:52,140 --> 00:01:57,090 and on the right‑hand side, I'll click on Advanced system settings, 30 00:01:57,090 --> 00:02:00,540 and Computer Name, and Change. 31 00:02:00,540 --> 00:02:01,990 I'll leave the computer name the same, 32 00:02:01,990 --> 00:02:06,160 but I'm going to join it to the PS.int domain. 33 00:02:06,160 --> 00:02:11,350 I'm prompted for the administrator username and password, 34 00:02:11,350 --> 00:02:15,710 and I'm now welcomed to the domain. 35 00:02:15,710 --> 00:02:17,240 So I'll go ahead and restart. 36 00:02:17,240 --> 00:02:21,050 After restarting the newly created domain controller. 37 00:02:21,050 --> 00:02:25,150 I can go to Tools and take a look at one of the other prerequisites, 38 00:02:25,150 --> 00:02:29,200 and that's going to be DNS, or domain name services, 39 00:02:29,200 --> 00:02:34,390 and by default, when you install an Active Directory domain controller, 40 00:02:34,390 --> 00:02:36,310 it installs DNS with it. 41 00:02:36,310 --> 00:02:39,560 I just want to make sure that it created it okay and everything looks good. 42 00:02:39,560 --> 00:02:42,070 It should have a couple of lookup zones that are 43 00:02:42,070 --> 00:02:44,660 forward and none that are reverse. 44 00:02:44,660 --> 00:02:46,970 You can create reverse ones if you'd like, 45 00:02:46,970 --> 00:02:50,340 but just for these purposes, it's not necessary. 46 00:02:50,340 --> 00:02:53,530 The first domain that you see here, the _msdcs, 47 00:02:53,530 --> 00:02:55,990 that is for the forest and the domain, 48 00:02:55,990 --> 00:02:59,920 and it replicates any other domain controllers we may create in the future. 49 00:02:59,920 --> 00:03:04,430 Then we have the zone, and the zone itself also gets replicated, 50 00:03:04,430 --> 00:03:08,720 but it just contains all the different records of the different clients, 51 00:03:08,720 --> 00:03:10,040 other servers, 52 00:03:10,040 --> 00:03:14,380 and other things that may have an IP address that get registered with DNS. 53 00:03:14,380 --> 00:03:17,250 And we see something such as Start of Authority, 54 00:03:17,250 --> 00:03:20,150 Name Server, as well as A records. 55 00:03:20,150 --> 00:03:22,980 Start of Authority means that this particular server can make 56 00:03:22,980 --> 00:03:26,490 changes to this zone because it is authorized. 57 00:03:26,490 --> 00:03:30,020 The Name Server means that this is the name server itself that you're 58 00:03:30,020 --> 00:03:33,300 going to look to for any type of name resolution. 59 00:03:33,300 --> 00:03:39,390 Here's the name resolution itself, ps‑dc1, and ps‑wdc. 60 00:03:39,390 --> 00:03:42,810 The resolution is the name to the IP address, 61 00:03:42,810 --> 00:03:47,700 whereas a reverse lookup zone is the IP address to the name. 62 00:03:47,700 --> 00:03:50,450 Now I'm going to minimize this and install one more 63 00:03:50,450 --> 00:03:55,500 role and that is the DHCP server role, 64 00:03:55,500 --> 00:03:59,350 and that's also required to give our client computers as 65 00:03:59,350 --> 00:04:02,500 they boot up into the PXE environment an IP address so they 66 00:04:02,500 --> 00:04:06,940 can connect into our WDS server. 67 00:04:06,940 --> 00:04:17,800 So I'm going to choose DHCP, click Add Features, click Next, Next, and Install. 68 00:04:17,800 --> 00:04:19,270 Once it's installed, 69 00:04:19,270 --> 00:04:22,820 I'll go ahead and create a server pool with various 70 00:04:22,820 --> 00:04:25,970 different options that we'll use for the scope, 71 00:04:25,970 --> 00:04:30,940 and then those computers will be able to get IP addresses when they boot up. 72 00:04:30,940 --> 00:04:33,810 I can go ahead and close and now configure DHCP. 73 00:04:33,810 --> 00:04:41,940 A wizard pops up, click Next. 74 00:04:41,940 --> 00:04:45,920 I'm going to choose to authorize the server to be able to hand out IP addresses, 75 00:04:45,920 --> 00:04:48,090 and click Close. 76 00:04:48,090 --> 00:04:50,020 Now I'm going to go to Tools, 77 00:04:50,020 --> 00:04:58,110 DHCP to open up the DHCP Manager, and I'll create what's called a scope. 78 00:04:58,110 --> 00:05:04,830 A scope is a range of IP addresses in a pool that will be handed out to 79 00:05:04,830 --> 00:05:09,000 our clients as they connect, and it also includes server options in 80 00:05:09,000 --> 00:05:11,550 order to hand out things like the DNS server, 81 00:05:11,550 --> 00:05:15,560 the gateway out to the internet, etc. So I'm going to right‑click and 82 00:05:15,560 --> 00:05:20,340 choose to create a new scope, and the scope wizard pops up. 83 00:05:20,340 --> 00:05:24,710 I'll just call it WDS Scope, and now we need to put in a range, and 84 00:05:24,710 --> 00:05:27,750 it should be a range that's not currently being used by any static IP 85 00:05:27,750 --> 00:05:35,420 addresses. And the length is correct. 86 00:05:35,420 --> 00:05:40,340 My subnet mask is the 24‑bit, but you can double‑check that yours is correct. 87 00:05:40,340 --> 00:05:42,900 I don't need to add any exclusions because there are no IP 88 00:05:42,900 --> 00:05:46,640 addresses in that scope that are using static IPs. 89 00:05:46,640 --> 00:05:50,360 Usually, I like to change the Lease Duration to one day so 90 00:05:50,360 --> 00:05:52,940 computers aren't hanging on to them for too long, 91 00:05:52,940 --> 00:05:56,970 click Next, and I do want to configure the scope options 92 00:05:56,970 --> 00:06:00,420 now. Now I want to put in the router, which will take the 93 00:06:00,420 --> 00:06:03,140 servers out to the internet, 94 00:06:03,140 --> 00:06:08,040 click Add, and it automatically found my domain name, 95 00:06:08,040 --> 00:06:11,580 which is great, and it also found my domain controller's IP address, so 96 00:06:11,580 --> 00:06:13,770 I don't have to do anything there, just click Next. 97 00:06:13,770 --> 00:06:17,470 We don't use WINS servers anymore, so I'll just click Next, and 98 00:06:17,470 --> 00:06:21,870 I'll want to activate that scope and click Finish. IP addresses 99 00:06:21,870 --> 00:06:25,420 will now be handed out to any computers that connect in through 100 00:06:25,420 --> 00:06:27,870 the pre‑execution environment. 101 00:06:27,870 --> 00:06:38,000 All of our prerequisites have been created and installed and configured, and now we can install the Windows Deployment Services.