1 00:00:00,840 --> 00:00:03,650 Windows Deployment Server has a couple of features 2 00:00:03,650 --> 00:00:06,300 that help us with custom images. 3 00:00:06,300 --> 00:00:10,950 If I go to Boot Images on the left‑hand side and I take my 4 00:00:10,950 --> 00:00:13,880 Windows 2022 image that I've already created, 5 00:00:13,880 --> 00:00:17,440 I right‑click on it, we have a couple of interesting options. 6 00:00:17,440 --> 00:00:21,150 One is going to be to create a capture image and the other is a discover image. 7 00:00:21,150 --> 00:00:24,670 Discover images are for computers that do not have the ability 8 00:00:24,670 --> 00:00:27,430 to boot in to the pre‑execution environment, 9 00:00:27,430 --> 00:00:28,450 or PXE boot. 10 00:00:28,450 --> 00:00:32,870 All modern computers have this ability now, so it's a little bit outdated. 11 00:00:32,870 --> 00:00:35,040 Instead, we're just going to create a capture image. 12 00:00:35,040 --> 00:00:38,400 If you've already Sysprep'd another computer such as I have, 13 00:00:38,400 --> 00:00:42,920 we can take that custom image from the Sysprep'd computer and then we 14 00:00:42,920 --> 00:00:46,010 can add it in and deploy it to other computers. 15 00:00:46,010 --> 00:00:51,010 So I'm going to call this one Windows 2022 Capture Image, 16 00:00:51,010 --> 00:00:57,540 and I'm going to click on Browse, I'll call it win22capture, 17 00:00:57,540 --> 00:01:00,280 and it's going to save it as a WIM file, 18 00:01:00,280 --> 00:01:03,140 which is going to be used as a boot file later on. 19 00:01:03,140 --> 00:01:04,660 So I'll click Next, 20 00:01:04,660 --> 00:01:10,440 and now it's creating the source image file from my original boot.wim file 21 00:01:10,440 --> 00:01:16,050 that was pulled from the Windows 2022 DVD or ISO file. 22 00:01:16,050 --> 00:01:17,980 And now it's complete. 23 00:01:17,980 --> 00:01:22,240 I'm going to click to add that image to Windows Deployment Server now, 24 00:01:22,240 --> 00:01:26,040 and just go ahead and choose all the defaults. 25 00:01:26,040 --> 00:01:28,940 It will now add that in. 26 00:01:28,940 --> 00:01:29,910 Now it's complete. 27 00:01:29,910 --> 00:01:30,910 I'll click Finish. 28 00:01:30,910 --> 00:01:33,330 Now that the capture image has been added in, 29 00:01:33,330 --> 00:01:36,560 we can go ahead and switch over to the client computer and 30 00:01:36,560 --> 00:01:38,820 boot into Windows Deployment Services. 31 00:01:38,820 --> 00:01:43,040 I'm in my client computer that I've already Sysprep'd and shut down, 32 00:01:43,040 --> 00:01:46,580 and now I'm going to go ahead and boot into the PXE boot and it 33 00:01:46,580 --> 00:01:49,200 will connect to my Windows Deployment Server. 34 00:01:49,200 --> 00:01:51,440 Soon you'll see an IP address that will appear, 35 00:01:51,440 --> 00:01:55,240 and it'll prompt me to press F12 to continue. 36 00:01:55,240 --> 00:01:56,600 And there's my IP address. 37 00:01:56,600 --> 00:01:59,640 Pressing F12, it's contacting my server, 38 00:01:59,640 --> 00:02:02,200 and that is the correct IP address at that 196. 39 00:02:02,200 --> 00:02:04,630 You might also see it connect by name. 40 00:02:04,630 --> 00:02:10,390 Next it's going to go to the TFTP download to download the PXE boot file that 41 00:02:10,390 --> 00:02:13,510 will allow us to boot into Windows Deployment Services. 42 00:02:13,510 --> 00:02:15,370 And there's my capture image. 43 00:02:15,370 --> 00:02:17,230 I'm going to go ahead hit Enter to that. 44 00:02:17,230 --> 00:02:20,100 It's now loading the files for the capture image. 45 00:02:20,100 --> 00:02:24,080 Basically, what I'm going to do is I'm going to take this custom image where 46 00:02:24,080 --> 00:02:28,040 I've gone ahead and installed software, made some other changes, and I'm going 47 00:02:28,040 --> 00:02:32,760 to upload it into the Windows Deployment Server, and that way I can use it again 48 00:02:32,760 --> 00:02:38,550 with these customizations already done. And now the capture image wizard comes 49 00:02:38,550 --> 00:02:45,900 up, so now we can capture our custom image. Here's the volume to capture. I'm 50 00:02:45,900 --> 00:02:53,790 going to choose an image name, I'll just call this Win22Cap, and give it a 51 00:02:53,790 --> 00:03:05,100 description, and click Next. Now I need to choose the name and location where to 52 00:03:05,100 --> 00:03:05,880 save it. 53 00:03:05,880 --> 00:03:10,570 I can also choose to upload the image to the Windows Deployment Services server, 54 00:03:10,570 --> 00:03:12,700 which is exactly what I want to do. 55 00:03:12,700 --> 00:03:15,780 I'll click on Browse for the local location, 56 00:03:15,780 --> 00:03:20,210 click on This PC, and now you take a look, 57 00:03:20,210 --> 00:03:23,640 you can see the C drive is the System Reserved drive. That's not actually 58 00:03:23,640 --> 00:03:27,300 where Windows is installed. It's installed on the D drive. 59 00:03:27,300 --> 00:03:29,640 However, when you boot into the server, 60 00:03:29,640 --> 00:03:32,610 it's actually showing the installation on the C drive. 61 00:03:32,610 --> 00:03:37,190 So this is just because the wizard is interpreting all the different drives 62 00:03:37,190 --> 00:03:40,930 and assigning random letters to it. So you can ignore that. I'm going to go 63 00:03:40,930 --> 00:03:47,070 ahead and choose the D drive, and I'll save it right in the root and just 64 00:03:47,070 --> 00:03:55,610 call it win22cap, once again. Click Save. And now I'm going to click on 65 00:03:55,610 --> 00:03:59,330 Connect so my server does connect. 66 00:03:59,330 --> 00:04:03,950 I've got to add in my credentials. And make sure you use the down 67 00:04:03,950 --> 00:04:07,830 arrows to do all that. I have successfully connected to my server 68 00:04:07,830 --> 00:04:10,120 because I can now see my image group name. 69 00:04:10,120 --> 00:04:14,390 So I'll choose the WinServer2022 and click Next. 70 00:04:14,390 --> 00:04:17,540 And now it's capturing the image. 71 00:04:17,540 --> 00:04:20,340 The reason you see the option for both connecting to the local 72 00:04:20,340 --> 00:04:23,960 computer, as well as to the server is because if for some 73 00:04:23,960 --> 00:04:26,190 reason the upload to the server fails, 74 00:04:26,190 --> 00:04:29,830 then you can fall back to the local computer's WIM file and you can 75 00:04:29,830 --> 00:04:32,540 just copy that up to the Windows Deployment Server. 76 00:04:32,540 --> 00:04:35,200 Although I saved the files with a local D drive, 77 00:04:35,200 --> 00:04:38,210 which is actually the C drive when you boot into the Windows Server, 78 00:04:38,210 --> 00:04:42,610 it's a better idea to have a separate partition set up so you can 79 00:04:42,610 --> 00:04:44,900 copy that file to the other partition. 80 00:04:44,900 --> 00:04:47,940 But if you haven't thought of creating that extra partition beforehand, 81 00:04:47,940 --> 00:04:50,310 you can certainly save it to the C drive if you'd like. 82 00:04:50,310 --> 00:04:53,410 The installation image was created successfully, so I can go 83 00:04:53,410 --> 00:04:57,050 ahead and click Finish. And I return to my Windows Deployment 84 00:04:57,050 --> 00:04:59,640 Services server and I refresh, 85 00:04:59,640 --> 00:05:03,580 we can see my Win22Cap files now there, and I can go 86 00:05:03,580 --> 00:05:05,920 ahead and choose that as an installation. 87 00:05:05,920 --> 00:05:11,540 So I'm going to change the name by double‑clicking on it and calling this 88 00:05:11,540 --> 00:05:17,740 one Custom. So now we know it's the Win22 Custom image that has all of the 89 00:05:17,740 --> 00:05:21,790 installation software ready to go. The next step would be to boot once 90 00:05:21,790 --> 00:05:26,030 again into PXE for the pre‑execution environment, and this time instead of 91 00:05:26,030 --> 00:05:31,000 choosing the capture image, we go ahead and choose the installation image that we would like.