Building a Windows 10 Reference Image Using MDT 2013 Update 1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome back to brown from the BTN HD and today we are dealing with MDT 2013 update 1 and Windows 10 now this video is an awesome one hopefully it's an awesome one it's dealing with building a reference image yes it's really a huge topic so when I before I started doing this video I started testing in my environment to make sure everything is working the way it is because I don't want to give you guys any false advertisement you know it works great but I had like a couple thousand issues and then you guys are gonna having 1000 issues because you know I started editing the video for it to look smooth ok so I started testing it out and I had a lot of problems because one my deployment pushed out the operating system but it kept on failing during the process of capturing it and this is the problem that I had right here ok I kept on saying unable to find the sit prep dot INF image deployment may not be automated failure 660 101 I like this I looked this up I started doing all the troubleshooting and still continue failing now the way that I got it to work with no problem is you have to do a couple of things one I had to destroy my deployment chair and recreate it again ok before doing that you guys need to replace a couple of files now there is a MDT update for Windows 10 technical preview build now this is old don't get me wrong this is pretty old but the files that you need to replace which is the LTI sit prep the zti gather the zti prerequisites the zti utilities all these files you need to replace the current deployment files that you have already in your machine for this to work also you also need to replace a client XML file as well as a state restored XML file now that's what I did ok you have you have to update those files to the latest and greatest one now the reason why is because these files to fix the problem that I was having with the sit prep now the other problem that I was having is that during my deployment time when the operating system was pushing out it was still talking outside is trying to connect to the Microsoft servers so when you guys are building your reference image on a Windows 10 build you got to make sure that your reference image is not allowed to talk outside of your land or your WAM or whatever make sure you create a private network that your MDT server is only able to connect to your reference image those are the only two machines that should be talking to each other your MDT server should not talk outside of your network and your reference image should not talk outside now I'm doing everything on a virtual environment with VM workstation so I created a private network which allows me to only talk within the virtual machine environment it's not talking outside of the host has not gone online okay so that was the other thing so let's get inside my MDT deployment and again I'm gonna place all these files in the description I'm I try to zip everything together so you guys can follow along and you know see if this could work on your environment so let's go inside the C Drive and I want to show you guys some of the replacements that did I went to programs and files Microsoft deployment toolkit and the first one that we needed to do is templates now within templates we needed to replace the XML client XML as you can see I just renamed it to dot old and we also needed to replace the state restore so this is the original one that came with the installation and this is the one that I replaced it with now the other folder that you guys needed to go into to replace stuff would be again templates and you want to go into distribution now this this fold all these folders when you first create your MDT deployment share this right here is the template it grabs all this here so you want to get into I believe scripts and within scripts again as you can see I just renamed dot old and I replace it with the new stuff now it's time to go inside your deployment web bench right click on the node create a new deployment share give it a name hopefully you guys understand that concept if not I have videos that I've done in the past how to create a deployment share also the links should be at the bottom of the description so once I got up that up and running so far so good the next problem was on my when I was testing everything out I had the old build I have had a very old windows 10 bills so make sure that you guys have the latest and greatest Windows 10 bill because if not what's going to happen is it's going to deploy with no problem but during the deployment time when it's installing Windows updates or the applications you're going to get a nasty little prompting you build this old and we need to restart so it's going to constantly do that and your deployment will never finish so make sure you guys have the latest ingredients operating system build from Windows 10 now the next thing that I did is I created a folder within my application known called in Microsoft and I wanted to push out a bunch of Microsoft Visual C++ now I'm pushing everything from 2005 2008 2010 12 13 and 15 they're both 86 and 64-bit okay and I'm doing a command line of C script and the visual basic script now this visual basic script I got it from a third-party individual which he's awesome he's a deployment guru which I'm also learning from him and I'm going to show you guys the source files so I'm gonna go right here and again I'm gonna be placing this stuff at the butt though at the bottom of the video at the description so you guys get a copy so hopefully you guys understand the concept of importing an application but I imported this particular folder within my deployment now within each individual video c++ folder i have two full I have a folder and I have the file the folder contains the 2xe the two exe files the 64-bit and eighty-six bit and now inside the source file we have our VB script now if I if I do edit and we view as you can see big shoutouts for Johan Johan is the one that created the script so within his script what he does he locates the source file and within the source file whatever's inside the source file he installs it so basically if you're deploying a 60 four-bit windows 10 operating system it's only going to install the 64-bit version see visual c++ application so that's awesome so within my application node I just right click new application it's going to be application with source files because that's what you have you're given a name really is up to you click on next the source directory is going to be wherever you drop those files in so let's do a quick let's do it real quick so your shared I've here here and this is the source so once you browse to this what's going to happen it's going to pull everything inside this folder it's going to pull the source folder and those two files that I had and as well as that script file click OK press next destination rename it if you want click Next give it the command the command is basically going to be C script and the name of the video script file and then once you do that you click on Next gives you a nice little summary and just finish it off I'm not going to do that because already done it you got to do it about 6 times again you really don't need to push out the visual C++ I'm doing it because I read an article from Joe Hans on website that is best to push out the Microsoft Visual C++ application within your reference image so I said why not let me try it out so once you do that you want to go into it inside your task sequence node now fantastic was known as you know if you've been following me for the very beginning I love creating folders just to keep myself organized so within my tasks sequence a call within my testing Quintanilla created a folder called Windows 10 64 tsts means test sequence now I will fit my test sequence I created a at a sequence call Windows 10 Enterprise x64 reference TS reference ID is ref Windows 10 64 0 0 1 ok and again if you guys don't know how to create a task sequence you just right-click go to new task sequence you give it an ID you give it a name click on next this because we're doing a reference image you would think I'm going to pick a sip rep and capture I'm not I want to do a stand the client in task sequence just hold on because we get we need to modify our Tass secrets as well as our custom settings I&I file to do the sip prep and capture stuff so that's when the whole automation thing happens so within this task sequence I did a standard client task sequence and I clicked on next you want to pick your operating system from here I did not specify a key click on next from here I just gave it an organization I didn't get an internet explorer homepage or full name click Next from here normally in my videos I knew I do provide administrative password but because this is a reference image I'm not going to provide a password within the task synchron's then you click on next got a nice little summary and just complete it now once you complete you're creating a task sequence you need to double click inside of it and we need to do some modifications with it so let's go inside at a sequence node now within the task sequence know within the state restore node and right after the tattoo attribute I created a group called custom tasks and I gave it pre Windows updates now to create a custom group you just basically click on add and just new group and then you name it within the group names actually went to add roles and I did install roles and feature and make sure you pick the correct operating system for me with Windows 10 because that's where we're trying to push out and also capture and I'm only pushing out the dot framework 3.5 which includes 2.0 and 2.3 dotnet applications after that this is where I started going in to add general and install an application and I started telling the test sequence that I want to push out my applications the reason that I did this is because I am skipping the portion of the deployment where it gives you a nice little dialog box and it tells you which applications you want to pick I want to skip that I want to automate this I want to actually have the installation files all the applications installed automatically during the deployment time I don't want to pick that stuff so again I placed a place to install files the way that I wanted to install during the deployment time after that I wanted to do a restart so I just click on add general and within general you just do a restart computer attribute the next thing that I did within my task sequence is I enabled my Windows updates my pre my post again within my task sequence within my deployment I'm going to be grabbing my Windows updates not from the Microsoft server not outside from the internet I want that stuff to be done in-house during my within my wsus server so that means my custom settings diner file I need I need to make modifications don't worry about it I'm gonna be going over that pretty soon next thing that I did was I just changed the custom tasks folder to post updates you probably have maybe you could if you want to push out office or you want to push out Adobe Reader you can just add them into your post again you're trying to automate this in the point that you don't have to touch it at all once you do all those modifications click OK ok that's half the battle now let's go inside your main deployment share and right click on it go to properties within properties you guys want to go to rules as you can see I made a lot of customizations this time within my custom settings down ifile but before we can tackle this I want to go inside my bootstrap diary because the reason again I want to automate this in the point I don't have to touch it as much if you guys have been tuning in with a lot of my MDT videos when I start the deployment what I have to do first I have to enter my username a password and my domain to initiate the deployment connection between the virtual machine or the physical machine to my MDT servers so it can start the process and also there's a welcome thing that I have to skip and all that good stuff so I'm I'm I did a little smart thing and I just added all that stuff already so when my deployment time happens it already initiates the connection I don't have to enter none of that information so within your bootstrap ini file you make sure your deployment route is assigned to the deployment share your user domain is assigned to your domain controller name you give it a the user ID will be a an account that has full access to your NDT server make sure that you use an account that has full access to your deployment share okay provide the password and because I'm skipping the BDD welcome screen I hit yes make sure you go file save and then good to go now the next thing I made a lot of modifications within the custom settings ini file first thing that I did is I'll customize the dialog box to say BTN HD because I use the SMS task sequence organization name and I just you can assign anything to it it's up to you now I'm using the attribute of user data location to none I do want to capture this I do want to install the operating system I'm assigning the local admin password to whatever again I bypassed that during the task sequence initiation so I'm actually assigning the password the administrative password with within the custom settings I and I file I'm setting my time zone which you can also do within the unintended within the operating system but I'm doing it here I'm not joining a workgroup because again when you're creating a reference image you do not want your image to be part of a domain you want it to be outside of that I'm hiding the shell my final action once everything is done the machine is going to shut down do not create an extra partition this is awesome because with when you've been if you have been pushing out deployments and you go into the computer management you see like an extra little partition that's attached to your C Drive that says like something about BBD partition or something like that if you don't want that little thing which is about 300 megabytes you can just add this attribute and they won't add it I'm telling my reference image that my to grow grab the updates within here my wsus server I'm not applying any GPO pack so I hit no and from here I am skipping the admin password because I already assigned it I am skipping the product key because most likely I have a kms a key management service in my inside my infrastructure I am skipping the computer name I'm skipping the domain membership because I already told it to join the workgroup I'm skipping the user data I'm skipping the locale selection the task sequence I'm not I'm not skipping the task sequence you could skip the task sequence but for now I'm not going to skip it I am skipping the timezone because I already told it to use Eastern Standard Time I am skipping the applications because as you saw within the task sequence are I created a customized a group and I told it what applications I wanted to install I am skipping BitLocker because I'm not doing that right now I'm skipping the summary I'm skipping the roles skip roles if you're dealing with MDT and database so I'm skipping that and I'm not skipping the capture because I want to tell the capture where I want my custom wim image to be dropped into and I am skipping the final summary so once you do all that stuff you press ok you right-click on your deployment and you update your deployment share so I'm going to update it right now so let that update so what I'm gonna do is I'm gonna go inside my host I'm gonna go inside my D Drive go to VMs I'm gonna create a new folder core BJ - temp got nothing in it make sure I copy this path close that update the deployment share is done so we're gonna hit finish on that and if you've been tuning in with all my MVC stuff I love pushing out my images during pixie and that's not because of a virtual machine environment I do pixie booting even on a physical environment because it's so easy especially if you have a high bandwidth of your land it's great so I'm going to go to my WDS I'm just gonna replay I'm going to replace my boot images so I just I don't know I don't know I don't know I can't really tell you this is best practice this is just something that I like to do it's one of those bad habits of Mines so I'm just gonna update this stuff I'm gonna go to my virtual I'm gonna go on my VM workstation I'm gonna go to file new virtual machine I'm gonna do next next I haven't updated my workstation so I'm gonna pick Windows 8 64 because it's the same thing as Windows 10 we're gonna click on next I'm going to give our virtual machine a name I'm going to drop it inside that path that we created I'm gonna give it only 25 gigs cuz make it 20 it's pretty good hit finish good awesome so let's go back inside our our MDT server hit finish let's replace our last boot image which is a 64-bit one and replace that again I don't even know why I do this I don't think you need to do this at all but I like doing it just to make sure my Windows deployment services is working properly and it has the latest and greatest boot images ok once that modification is there once it updates come on update awesome so once it updates hit finish I like I normally like to do is right-click on the WDS node put all tasks and just restart the services this will give me like a final uh like ok everything is working no problem if not that means I have to troubleshoot it before the deployment stuff works so let's click OK on that when I go inside a virtual machine that we created and we are going to start our virtual machine I'm going to click f12 like a Manman there goes f12 there goes now I am pushing out a 64-bit operating system so make sure you pick your boot image so I'm going to click OK ok so a couple of things I got to make sure that your reference image is not or does not have internet access it's within a private network that could only communicate with your MDT server also you got to make sure that you replace that client XML file as well as that state restore file and you also gotta replace those for Visual Basic scripts within your script folder to make this stuff work the way you want it to work alright so it looks like the deployment time is starting normally if you guys have been tuning in with my MDT videos you would honestly like a little welcome and I have to click on it and then another box come up to enter the username and the password and the domain controller that has not popped up yet and the reason why is because I customize my bootstrap and I file it's already processing is already communicating with the deployment share it's already doing that stuff so only thing that should pop up is to pick the test and also pick where I want to drop the custom women inch awesome so as you can see test sequence is up and running I'm going to just close this little box out of here I'm going to pick out Windows 10 Enterprise 64 referenced a sequence which is basically this right here let's go inside our workbench I'm picking this right here awesome is the same name same name we're gonna click on next and the next thing that we have is I capture image again those are the only two things that I did not skip during my custom settings down I file so once I customize this it's going to go straight to the deployment so from here I'm not going to drop it inside my C Drive this is where drops it goes to C Drive it goes to your deployment share it goes to captures I don't want to drop it in there because I always have the fare that I don't have enough space on my C Drive and there's a possibility if the women inch that or your reference image or your golden image is too huge or too big and it starts dropping in your C Drive that means your MDT server is probably going to have some performance issues so I created a partition with D Drive and I created a folder called capture and I share capture out to everyone it has for access ok so this is where I'm going to drop that capture image so I'm going to go inside our our virtual machine and I'm just going to remove deployment share because it's going to be BJ - MDT capture there we go and this is going to be the name of it do want to capture hit next and right now it's processing is doing this thing within the task sequence so it's going to each step of the task sequence right now it's partitioning it reformatting it once that's done it's going to start pushing out the operating system and once the operating system is pushed out it's going to reboot itself go inside the desktop once it's inside the desktop it's going to start installing our our group right here this little guy right here so you start doing this portion right here and then it's going to restart it's going to start talking to our Windows updates and then if everything goes well whole knock on wood it should stock the sit prep restart itself start capturing and then within this location right here we're fine on D Drive we should see that wim image appear you alright guys so it looks like uh the operating system was pushed out we are at the point of running our custom task group that we created right here it's installing the roles and features again you don't really need to do that but I'm doing it for my deployment and once that's completed it's going to start running its course and installing the visual c++ 2005 2008 2010 and once all that stuff is going to restart once it restarts its going to try to go inside my custom or my local WCS server pull whatever Windows 10 updates that I approve to the machine I don't have any install applications so it's great because I did it on this node right here and I don't have any custom posts Windows updates you could probably add like your office or Acrobat professional or Acrobat Reader into this node and once that's complete it's going to go inside the imaging part and start preparing it to copying all the sip prep files and it's going to start adding and executing the sip prep and it's going to start capturing the our reference image and creating a whim image out of it so I'm pretty excited let's go back inside our machine and say we are where we are at and as you can see it's still doing the install roles and features you alright guys so it looks like my installation of the applications is completed it is now talking to my wsus server and searching for any updates that have been approved I don't really have too many updates so this should go pretty fast so so far we have done this portion right here it did the restart it's right now doing the post application installation is not a padded bypass the install application because again I skipped that within the custom settings and I file because I wanted to customize the installation of the files within my tasks sequence so I did it that way uh it's still searching for more updates it's at the pre-application so it's actually right here if it finds something and grabs it and install it if it doesn't is going to go inside the install then the post and then the custom tasks and then it's going to complete the installation part and it's going to start prepping itself to capture it which is awesome again oh this is so awesome because I'll say about 95% of this task sequence or this deployment is automated which is great the other 5% is basically that we clicked on our task sequence and we click to initiate the pixi boot and we clicked on or modified the captured path and that's it that's 5% which is awesome so let's go inside our virtual machine right now is applying the Windows PE so that means is actually right here it's at is in the capture image node right now so I'm super excited oh this is so cool so once it does that now uh when I was testing this out beforehand this is where I receive that nasty little warning error that you guys saw that's the how to do some research and I found that that you needed to remove your reference image away from internet your your reference image should not have any internet access it should only talk to your MDT server which is that's what you want that's what's happening right now if you establish that connection properly the deployment is going to work if you cannot get the your reference image to only talk to your WDS but not sigh like have internet access that's going to be a problem again I'm doing everything in a virtual environment so I created a private network for all this stuff to work properly right now is executing the SIP prep which is awesome super excited I'm just going to see if I can get inside my virtual machine to move it over as you can see it's processing the cleanup phase awesome oh man this is so exciting to me once that's completed I think right now we are right here it's going to apply the Windows PE the BCD stuff is going to restart the machine once it restarts the machine what's going to happen is is going to start the process of capturing the wim image you all right guys it started creating the wim image it's capturing right now this process takes a long time so I'm not going to continue running the video for you guys I do apologize for that but what I will do is I'm going to go inside my MDT server and let's go inside our folder remember we dropped it inside this particular folder that I created I created another partition because I did not want my capture image to be dropped inside this folder because I always had the fair that the reference image is going to be too big it's going to be copied over to the C Drive and my MDT server is going to lag on performance and I don't want that so I created a partition and as you saw throughout the video I told it to go inside this folder and there goes I wim image so awesome I'm super excited it's already about 46 kilobytes I'm assuming it's gonna be about 15 gigs on size once that's completed 56 so if I if I hit right now f5 as you can see it's growing excellent that is awesome that is what we want again fully automated look how long it's going to take it's gonna take about an hour to complete and that's it guys hopefully you guys enjoyed this video I know it was a long one I do apologize for that but it's a lot of details hopefully guys enjoy have any questions leave them at the bottom at the comment section don't forget about hitting that like button because it does support the video as well as this guy and those thumbs up just basically tells me that you guys enjoy the videos and just gives me that that energy to make more of this stuff I think on the next video I'm probably going to take our custom limit import inside MDT server and then deploy it out and see how how good it works and I catch you guys on the next one peace out
Info
Channel: BTNHD
Views: 84,375
Rating: undefined out of 5
Keywords: Windows 10, Update, Microsoft Windows (Operating System), Microsoft Deployment Toolkit, mdt 2013 automation, mdt 2013 update 1 windows 10, windows 10 adk, windows 10 deployment, windows 10 golden image, windows 10 reference image, windows 10 mdt 2013, imaging windows 10, windows 10 imaging, golden image windows 10, sysprep windows 10, windows 10 sysprep, btnhd, tech, how to windows 10, how to mdt 2013, bjtechnews, wsus windows 10, task sequence windows 10
Id: Iv-Rc_V08-s
Channel Id: undefined
Length: 29min 9sec (1749 seconds)
Published: Mon Sep 28 2015
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.