Customizing & Capturing a Windows image

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
alright guys welcome back to the next video in this video we're going to be making our custom windows image what I did from the previous tutorial we have a client Windows 10 Enterprise build have gone ahead and installed it on a new virtual machine and now that we're on this initial setup screen what we're going to do is we're going to click into the virtual machine and we're going to hit control shift f3 that's going to launch us into on it mode auto mode is essentially a place that you can get three windows before you set it up initially it will log you in as a local administrator and you can make any kind of changes you want to the operating system what this will allow us to do is essentially saw some software maybe keep some files maybe make some changes to the background stuff like that customizations that you want to do for your deployment what I usually do is install some web browsers maybe like notepad plus plus and run Windows Update so every time that I deploy a computer I don't have to sit for an hour waiting for Windows to update now you can see here we've already loaded into audit mode we're just going to click out of the network's screen and we're going to keep this window open if you close out of the subscribe tool it's easy to get it back no problem I'm going to go ahead and show you a very basic thing and run Windows updates and we'll be back alright now we're back the updates have been installed on the computer and in the meantime while that was happening I've installed Google Chrome and I've installed notepad plus plus should be there somewhere yeah there anyways as you can see windows telling us that we need to restart the computer to finish updates so I'm going to go ahead and do that and we are in audit mode you restart the computer it will go back to audit mode automatically no action that you need to take so we'll go ahead and restart it now okay it looks like the computer has restarted and we're back in on it mode and like I said I installed two applications installed all windows update now we're available and I also just for fun added this text file here just so we'll see that it is in fact coming back when we do is subscribe so if you've accidentally closed out of the this prep tool that's okay what you do just open up a command prompt and when you're in the system 32 folders you do the change directory into this press and run sprat Exe if you want the graphical user interface you can also do it through command line switches but for the sake of this video we'll just do it like this now we have a couple of actions that we can take here we can either enter audit mode again which we won't in this case what we need to do since we're going to be setting this up click o for a brand new installation we're going to enter the OOBE mode the out-of-the-box experience mode generalise means that it will remove all traces of the profile that we have and it will basically make it and make it a real out-of-the-box experience and after this task is done what we want to do is we want to shut down I'm going to go ahead and press ok you'll see that the tool is going to start running in a minute here and once it's done the computer will automatically shut down ok now that the computer has finalized this is prep process and it's shut down now what we need to do is we need to capture the image what this essentially means is it takes the hard drive that is it takes the drive and it converts all that Windows installation into a window into a wind file you remember the wim files from the windows deployment services video that's what we're going to be creating there's two ways to create these wind files and I'll show you both ways the first way it's going to be more of the manual way second way is much easier and we'll do it through WDS but let's go ahead and set it up the hard way first so you can see how it works first things first is we're going to need to either use a network share to store the win or store it onto a second hard drive what I'm going to be doing now is I'm going to be the storing it on a second hard drive so what we're going to do is we're going to go to the scuzzy controller we're going to add a new hard drive I'm going to make it a dynamic you know disk doesn't really matter here you could just call it this literally doesn't matter just call it whatever you want just make sure that when the disk is going to be you can have enough space for your wim file a default wind file is about four gigs if you're installing updates if you're installing software make sure you account for that I'm usually tend to stick to a twenty gig disk because I don't install a whole lot of software inside of the image but 20 20 gigs should be safe okay I'm going to wait for that to finish we're going to apply that change and the next thing that we're going to do is we're going to add another scuzzy controller for the DVD now we're going to mount a Windows PE image you can make your own Windows PE it's free you have to follow some guys online and then we're going to need to boot to that what we're going to need to boot to that Windows PE disc so go ahead and select that DVD drive here at the beginning and windows PE stands for pre-installation environment it's basically just a command line interface like this is basically a terminal I took mine i customized it a little bit I added this thing called Explorer plus plus so I can get a UI like file explorer you know but this is pretty much what it is so next thing we're going to do is we're going to open up disk part to view our disks stop and list disk you'll see that we have two disks this 0 is going to be the operating system disk and disk 1 is the new disk that we just created to store that wim file let's go ahead and collect the first disk the operating system disk okay when you list a partition you'll see that there is the last partition the primary is the largest the nice nineteen gig that's the one that we're going to want to capture so let's go ahead and select partition four and we're going to find at a letter like a drive letter okay now we're going to select this one there's no partitions make sense because we actually have two the clean disk with nothing on it what we need to do is now we need to create some partition so let's create basically creating a primary partition assigning that fatso NTFS actually we probably need to select is telling us that it is and then now we will find it great now that we have mount point a assign to the operating system disk in a mount point B assigned to the empty disk we're now going to go ahead and create the win file so to create the wim file we have to use command C is M and just follow along the data capture image just draw everything right okay so we're giving it a capture image flag the image file is where that wind file is going to be living like I said we've mounted B to the new disk plus MD we're capturing the partition there is the disk a we're giving it the name Windows 10 custom and you'll see where that comes in and I like to also have a big flag for compressed Mac's to make sure our wim file is the smallest possible so now we're going to go ahead and press ENTER and we're going to wait for this to capture it takes anywhere between ten to fifteen or more minutes depending on how much stuff you put into your image and depending on how large your image is it's going to give you a progress bar so just make sure you follow along with that and we'll be back once done all right so the image has successfully been exported to a whim so now what we need to do is with this client VM we just need to turn it off there's nothing else that it's really going to do for us turning it off on the mount that second disk that we created and now what we're going to do is we're going to mount that wind file into WDS so then we can install it so that's on our deployment machine we're going to go ahead stander sign in we're going to go into the setting we're going to add a hard drive we're going to browse to that disk that we created earlier I called it Windows storage so there is let's go ahead and apply that change and then we should be able to pull it up on this computer here all right so there we go there's that install that wind file that we created earlier now what we're going to do is go back into WDS we're going to add an install image and we're going to follow that disk install dot whim and let's see what the name is remember when we gave it that name flag this is what it this is what it looks like right here so it looks like Windows 10 customs so we're just going to leave that as is and we're going to import that into WDS while that's happening we're going to go back to our client machine we're going to change the boot settings to boot from the network adapter and we're going to just wait a little bit until this is done okay looks like it's done now we're going to boot it up and make sure that we right so one thing I forgot to do since both of these virtual machines have that new disk mounted or attached it's currently in use on one VM that's on and it's not and so it's trying to access it whether it works we're going to just remove that drive because we don't really need it from here and let's boot it again so once this gets an IP address we're going to press ENTER and you'll see that that Windows 10 custom is going to be listed here and when we install it you'll see what happens so I'll just go through the steps here real quick while this is the while it's loading all right mmm you see Windows 10 custom that we've created so it's going to go to next and we're going to just wipe out everything that we did earlier you can test this on a new VM you can snapshot whatever it doesn't matter but here we go I'm going to install it and I'll be back one once it's done all right so Windows just finished installing on the with the new image so let's just go through the setting we're not going to go into audit mode since we're not creating a new image we're just making sure that it works I like to uncheck all this stuff even for a test we're going to delete okay so I'm going to actually pause this while I go through and type in the username and password actually alright now I'm going to positive part usually takes a while alright so the logon process is finishing here and as you can see on first logon we're seeing the message that updates are installed because that's what we did in our last image let's be notepad plus plus is here Google Chrome is here and let's see and there's a file so as you can see we custom made our own windows image we exported it using the complicated method and it's working one thing I did forget to mention however is when I create my own windows images and I install Windows updates I usually like to run a cleanup command that makes it basically compacts the size of the updates so we're not able to restore back from those updates but that will make the wim a little bit smaller I'll put that command into the YouTube description just make sure to run that command before you do the out-of-the-box experience and subscribe alright now that you saw that using is the hard way to capture an image I'm going to show you a way that's slightly easier what I've done is I've taken the operating system that we installed Isis prepped it again because it won't work if the image isn't sysprep so I since prepped and shut down the VM we're going to go to our WDS machine that disco we mounted here I'm just going to go ahead and delete that installed out wim file not necessary for us anymore I'm going to go under disk manager and I'm also going to remove this disc from the VM okay so I made it I've disabled the disc and I'm just going to physically remove it okay now we're going to use the client machine to capture the image again so what we're going to need to do is we're going to need to add that disk back so we're going to go to back to us because you controller we're going to add the hard drive called it Windows Storage okay and then we're going to make sure that we're going to the network adapter is the first boot option because we're going to be booting to it now we're going to go back to our deployment virtual machine with WDS installed we're going to view our boot images if you've been following along you only have one boot image if you have multiple just make sure you select the one that you use the most we're going to right click on it and select create capture image the capture image is basically a visual representation of doing what we did manually we're going to call this capture image and the location and file name is just a place where you can store the wind' file that this is going to generate I'm going to throw it to the root of the C Drive you can place it wherever you want okay we're just going to click Next and we're going to wait for this to finish all right now after that process is done you're going to view this screen and we're going to check the box to add the image to the windows deployment server automatically it's going to automatically select that capture wim that we specified in the last dialog and I'm just going to call it capture image okay now after that's done I feel free to do what you want with your wim file you can delete it you could store it it doesn't really matter now we're going to go back to the client machine remember it's set to network boot and it has the second hard drive that we're going to be storing this image on I'm going to power it on and we're going to pick C with it here you see that we have the two boot files those set up in a capture we're going to go to the capture all right here we're going to click through the prompts if you successfully sis prepped your disc and it's attached to this virtual machine it's going to show up automatically here if this volume to capture drop-down is blank you have not just prepped your OS make sure you go back since prep shot down and try again so we're going to select feet we're going to call this younger phantom custom capture give it some sort of description now this is asking is where we where we want to save this image and this is where that second disc that we attached comes in handy we're going to find that local disc could be and we're going to call it here so swim and save I'm assuming if you have a network share you can save it like that as well I haven't done it here just because it's easier to show using a second like using a second disc but I'm sure you can go through network share there's a checkbox here to upload the image to a Windows deployment server if you want were see let's see if that works actually it's probably not going to work this fella right okay so since I spelled it wrong it's clearly not going to work so lab deploy one should work on kind of promise for credentials okay and you can see that the two groups client and server are coming up those are the two groups that we have here the reason it asks you to store it locally two is a ensures the image is not corrupted if there is a network malfunction so it's going to save it into two places for us we're going to create the wind file and it's going to automatically upload it to our WDS server so let's like next it's saying that that image already exists so so let's call it something else quinton customer okay there you go now it's doing all the work that the tool in the command line did for us but it's a little easier because we can just click through it and we're able to see a user interface so I'm going to pause the video while this captures and then we'll be back once it's done all right looks like this is reporting that the operation is complete so let's go back to the idea and we'll refresh like we pull up the client Windows 10 custom capture that's exactly what we specified here and it looks like it's now important to delete yes so let's select finish and the machine will likely reboot so what I'm going to do is just turn it off actually let's not even turn it off let's let's boot into that Windows 10 cap a custom capture let's see if it works so we're on the source screen here I'm going to select Windows setup and I'll go through the install process and report back alright so I just finished installing the image that we captured with WDS and looks like we're back there's Google Chrome notepad everything is there and everything worked ok so in this video I went over the success how to create a custom windows image in Windows autumn own I show you how to capture that image using the manual method with Windows PD and the command line and I also showed you how to create a capture image within WDS and how to capture that using those tools now in the next video we're going to extend our deployment tools by installing MVT and configuring a custom a few custom applications okay thank you for watching
Info
Channel: George Babichev
Views: 129,487
Rating: undefined out of 5
Keywords: George Babichev, WDS, Custom Windows Image, Windows 10, MDT, DISM
Id: VvAXgxUjGK0
Channel Id: undefined
Length: 20min 42sec (1242 seconds)
Published: Thu Feb 02 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.