Windows Lab 1 - Setup 2016 Domain Controller

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello YouTube okie Joe here on P Joe's Playhouse how're we doing today you know I went over a couple of my previous videos and I would column by my channel hunky Joe's place and then hunky Joe's Playhouse don't worry I'm not changing the name it's just I'm old and I forget things so you know you know how it goes today is Sunday the 11th of December I am congested again as you can hear my whole life is a story of congestion but another story for another day today it was supposed to be partly cloudy 65 degrees I woke up this morning we had fog it was in the 50s so can went outside you know today I was gonna do part two of the server room clean up by a lot planned for today working outside but it's just too wet and it's too cold for this old man to be caught crawling around outside the dirt running cables and hooking up light fixtures so I'm gonna delay that till next week and next week is kind of up when it starts getting around the holidays people are not focused on their work so my workload is less around the holidays so I'll have some time next week even with Christmas coming up to do those things so what I thought I'd do today and I've had a lot of demand for this and so I'm going to go ahead and do it I'm gonna start a new series called my Windows lab series and what that's going to be remember we we set up a server with Windows Server 2016 on it and installed the hyper-v role on it and that server is the beige one sitting behind me right there where my finger is pointing it's that MSI motherboard with AMD quad core and 16 gig ram and I was planning on doing this these videos after the first of the year but I thought let's go ahead and get a start on them because I really don't have anything else to do other than my server room and it's a combination of things in my server room one I'm not real eager to get my server room done because it's a major undertaking I mean I know I need to do it but and two it's just too wet and cold outside to work right now so we'll get to it I promise you I won't I won't tell you lies you see this box right here we're gonna be unboxing that when we go and do the server room videos part 2 part 3 part 12 whatever it is I end up doing so you'll get to see what's in that box when we do that because it's part and parcel of what I'm going to be doing outside anyway I've had a lot of requests from from subscribers to do more server related videos and technical videos and that kind of stuff and those are really what I'm really good at well I think I am so I'm going to go ahead and do one of those today and what we're gonna do is we're gonna set up a Windows Server 2016 on windows server sorry 2016 that box right there in a virtual machine we're gonna create a virtual lab and I'm going to show you what that entails and the first part of creating a virtual lab is creating a virtual domain controller for that lab so this lab is going to be on a different subnet it's gonna have its own domain controller own DNS own DHCP so I can show you the basics of getting that set up so now you're probably asking your son well why would I want a Windows lab well if you want a future an IT and you want to get your feet wet and on virtualization on it and on how Windows works and this is this is what I would recommend this is what I actually do I was originally gonna wait until I ordered my other Dell our 710 server off of ebay but that's not going to happen till February of March I just don't have the funds it's just not in the cards to do it right now unless y'all would like to send me some PayPal donations 149 bucks is all I need to order it so if you want to see that server here sooner send in some donations and I'll order it sooner if not I gotta pay for it out of pocket so I gotta get a wait till the funds are available but in the meantime I have that beige box right here and it's more than capable of running hyper-v and and doing a virtual lab on it so we'll just once I get the virtual lab down on that I can just move everything over to the new Dell server and and we'll still have it and that could be yet another video where I show you how we do migration between hyper-v servers so without further ado let's get this video started now my buddy Morton over at at my Playhouse is the VMware guy and he uses ESXi to do his virtualization and that's great and Morton really knows what he's doing on ESXi have watched pretty much every damn video Morton's done so he's in my favorite channels on my channel so if you if you want to compare Windows hyper-v to ESX I go for it and I suggest you go to Morton because that's what he deals with and works really well for him I'm not a fan of ESXi it's great VMware is great I just prefer to use Windows products I will outline the reasons and compare them you know when I do something specific under hyper-v I'll try to compare how it's done under VMware so you know what the differences are so these videos are going to be long-winded they're going to be a lengthy they're gonna be full of details because I want to try and be as informative as I can I keep seeing me look down remember I'm an old guy I use a steno pad to keep notes on just the way I am works well for me I was originally going to use Windows Server 2012 r2 but now that Windows Server 2016 is out we're gonna be based on every hang on Windows Server 2016 and because I already did a video on the server install and hyper-v install we'll just go ahead and use what we have so this the beige box behind me then it saying that is a member server on my existing domain and that's what we're gonna do the lab on so today we're going to install Windows Server 2016 on that unit and I'm going to show you some of the things I do to get it installed and then we're going to make that a domain controller running DNS domain name system which is required by Active Directory DHCP which is not required by Active Directory but I've just always put them together dnh DHCP and it's going to be a domain controller there is something that Microsoft does out there and it's called Microsoft best practices and most of the time the majority of the time you should follow Microsoft's recommendations so you're gonna see a lot of what I do here in the lab that goes completely against Microsoft's recommendations because in a lab environment they're in a production environment you can take everything Microsoft tells you with a grain of salt now then the other thing is where to get the software well Microsoft loves you to evaluate their software in fact I have not verified this with Windows Server 2016 but Windows Server 2008 r2 2012 r2 all had 180 day evaluations where you could run them in a lab not a production Microsoft an recommend you run them in a production environment but you can run them in a lab for 180 days and you can reactivate it twice so ie you get about 360 days of free use of the Windows Server product so if you're in a lab environment I would just go to Microsoft's website download the ISO for the trial you can then later convert that trial software if you have a key to a retail om or not a volume license but to a retailer an OEM with just a few command-line arguments will convert it automatically so you don't lose all the work you've done if you're really serious about learning Microsoft products and you can either go out and do a TechNet subscription or you can become a Microsoft Partner and which is what I do and you pay 500 dollars a year and you basically get all of their servers software all of their Windows operating systems office Visio Microsoft Project the list goes on if you're a Microsoft Partner and you're real serious about this and you got to spend a little money under education that's what I do and trust me parting with five hundred dollars is like heaven five teeth pulled for me that is not a lot of a hundred dollars is mine is my point right I start hurting when I spend money anything under 100 I'll blow twenty thirty dollars here and there all day long but when it gets to five hundred boy I have to really sleep long and hard on that but I used Microsoft products so much you just it just makes sense for me to use it and if you are running a business you can use these products these partner products to run your business it's perfectly okay with Microsoft to do that in fact they encourage that so I use it here to run my my office network and I use it in my daily work I use office and I use all of the products that Microsoft makes availability available to be under this partner pack it's called the action pack so if you're serious about it go out spend the money you won't you won't regret it so let's let's get started installing that at that server that Active Directory server and we'll come back when I get that screen up so now on my screen is the machine I like to affectionately call hb3 or hypervisor 3 I have that's how I've named it will go over naming conventions too when we do this creation but here's a here's a great example of the difference between VMware and Windows hyper-v I get a GUI in Windows hyper-v I get a GUI I like a GUI I'm a GUI guy and let's see what kind of impact this has if we go to task manager you can see the heaviest impact is on memory so in order to have a GUI I give it one point two gig of memory I don't care Ram is cheap a portion of that sixteen gig of ram is going to the video card the onboard video card again I don't care I really don't care now Microsoft does have a non GUI version of hyper-v and that is free just like ESX I under BM where is free if you don't go over a certain amount of this and that the other but I like having the GUI so if you want to if you would really want to compare you sex I to VMware or to hyper-v there is also a free version of hyper-v just look it up on Google and you will find it me I like the GUI so and you know if you've ever had to deal with the ESXi you know you boot up you you install ESXi onto a onto a thumb drive or an internal SD card and then you it comes up to a a command line screen to a text screen and then you go over to another machine and get in through either a web browser or through their their program I'm on this machine right now through RDP if you go back and look at my server 2016 video you'll see how I set this up and configured it and configured hyper-v to run on it a couple of things I want to check I want to make sure that my network cards are set up properly I have two network cards in here one of them I'm not using that's the Intel now can I'm gonna go ahead and disable that so there's no confusion and when I installed hyper-v on this machine it already created a virtual Ethernet adapter for me for hyper-v so we got that out of the way the next thing I want to do is show you how I prepare my my hard drive on hyper-v so my boot drive is 200 it's a 500 gigabyte Western digital enterprise class drive and there that's good god the things 8 9 years old keeps running won't die not God would but anyway so I put my operating system on one partition and I reserve the rest as a data volume and I've created some some directories out there ISO is just what it says these are all my highest so files for my various operating systems and I'm going to install on this hyper-v server then I've got a folder called V HD for the virtual hard drives and then one for the virtual machines and keep in mind this is the first time I have used Windows Server 2016 other than to install it and configure it and all I did was took what I learned from Windows Server 2012 r2 and I applied to when to Windows Server 2016 so it should be fairly the same so the first thing I want to do is go into hyper-v manager right down here and bring that up because I want to create a new virtual machine all right now I've already configured hyper-v let me see I've already created a virtual switch I've also already told it where to put my virtual hard drives where to put the virtual machine files I can I can use live migrations and we will do that in a future video I'll show you how to do a migration from from hyper-v machine the hyper-v machine and I've also created a virtual switch based on the realtek Ethernet adapter that's in there and I've also told to allow the management operating system to share this network adapter so what I'm gonna do now is I'm gonna create a new virtual machine so we just come right over here new new virtual machine and we brings up a little wonderful wizard tell it next and what are we going to call this I'm going to call this lab - dc1 for my lab domain controller and right here it tells you where it's going to store that virtual machine this is going to be a second-generation machine click on next I've initially got to give it two gig of ram to do the install to set it up and that's the other thing you know if you're on but let's say a 50 user network or less you don't really Windows server does not need a lot of RAM to run even with even with Active Directory DNS and DHCP so if you're on a small network you know I'd say 50 users or less you're I don't I don't typically give my servers any more than about 4 gig of ram and when I do the install I only do I only give them two and then I come back and I tweak it later for the networking we're going to use the subnet 5 adapter that's just what I've called it and we're gonna create a virtual hard disk to store the operating system on and I just take I accept the defaults now it's going to create what's called a dynamically expanding hard disk instead of a fixed one and Microsoft has made the made the statement that since Server 2012 r2 there's virtually no speed difference between a dynamically expanding hard drive or a fixed hard drive so do what you want but based on that information about the only time I create a fixed virtual hard drive is when I'm setting up an exchange server because the database I would prefer to be on a fixed virtual hard drive rather than a dynamically expanding but do what you want I'm gonna browse because I am I'm an organizational freak so I actually want to create a folder under the VHD on the D Drive and we'll call it lab - dc1 same name as the machine select the folder so it's going to create a dynamically expanding hard drive - dc1 in lab dc1 folder 127 gig next I'm not going to install an operating system yep I'm just gonna create the virtual machine and I'm gonna finish the creation of the virtual machine if Server 2016 hyper-v is anything like Server 2012 hyper-v there's a little trick to getting this to run now in a lab environment let's go I let me start again I just right-click on the Machine and go to settings now in a lab environment I don't enable secure boot we do what you want but it just adds to the complexity of the machine so I make sure I turn that off and note enable secure boot the other thing I do is I come here to my scuzzy controller and I'm gonna add a DVD Drive and point that to an image file so that when this server goes to boot it'll have something to boot off of and that's why I copy those iso's to my D Drive iso folder and I'm going to choose the Windows Server 2016 English and I'm going to use that and then I'm going to apply now the other thing I need to do is tell it to boot off of that DVD Drive first so I'm going to come down here and I'm going to move that up to the top and then I'm going to apply alright very good sound okay now what we're gonna do is we're gonna actually double click on this we're going to we're going to fire this up and see if it boots off the ISO file so let's do that now start it up and then hit the spacebar okay that's the beauty of doing these live because you catch all the boo-boos and I make and then great now right now I'm just gonna get Windows server setup I don't care about an IP address I don't care about anything because I'm setting this machine up on my land my MCS not local domain it'll get an IP address and all that then we can come back and tweak that in a bit so right now when I just telling English United States us keyboard next install now and it should run through the install here in a moment there we go all right so this is very important do you I don't have a product key and I don't want to put a product key in here I'm gonna tell it I don't have a product key and it's gonna tell me okay that's fine so then we have some choices here standard standard with desktop experience data center or data center with desktop experience said all the desktop experience means is it's gonna install a GUI okay you can install it without a GUI for you Linux fans out there that believe a GUI is an abomination under server operating system I'll pray for you and I'm gonna install the GUI anyway cuz I like the GUI I'm a GUI guy look I had 15 years 10 years of the command line I'm done with the command line unless unless I have to do something specific so we'll click Next and it should go about doing it's in stall oh I have to accept the License Agreement next I always do a custom install I'm just gonna have it use the entire hard drive to install the OS on to tell it next and we'll let it install all right so now we need to enter a password for the administrator account so we'll enter that here now one of the first things you want to do once you get the operating system installed and again if you don't have a DHCP server in your in your network you're going to need to set up an IP address for this machine but that's one step I don't have to do I have already I have already I have a DHCP server on my network so it hands at an IP address to any new operating system or machine on my network but we're still going to go out and verify that once the OS comes up and so we'll let that come up here and see what it tells us all right so it looks like the operating system has finally come up now I think that's yeah it should I was gonna say it should launch server manager when you first come up and this will give us a plethora I love that word let the rap you ever seen three amigos that's right okay remember back on my video about what was that video about oh yeah where I did my server cleanup and came back up and suddenly my machine wouldn't connect to the network or I couldn't connect to my hyper-v machine because the network had changed this is what was waiting for me on the screen when I logged into an edit console so this gives you an idea of anytime Windows finds a new network card or a new network it Ashley if you want allow your PC to be discoverable so we're gonna tell it in this instance we're gonna tell it yes but that was that message they came up that I wasn't able to see and that's why I wasn't able to get into that remote machine I'm gonna go to local server and just verify right here as soon as it comes up and I forgot how slow this old AMD machine was it is really kind of just chug-chug-chug analog but it gets the job done so and I don't know if that speed is due to the hard drive probably more than likely usually most your bottleneck is is hard drive so we'll let this screen update it will eventually come up and tell us it's updated now the first thing I like to do when I install a server product is go out and do all the updates before I start doing anything else and that way I know my my operating system has all the updates it's up to date etc but to see it slowly populating the screen here we could have given it a bit more memory as well that might have helped but one of the first things I want to do is go out now and change the time so so we're just going to click right here on the time so now we're going to change that because I have a central time yes Microsoft not everybody lives on the west coast so there we go done and it's not gonna it's not going to update here till i refresh it here the other thing i wanted to is okay good my IP address is assigned by dhcp and everything else I'm going to leave let's go ahead and refresh that and make sure it got our our time zone change Pacific time US and Canada I don't see that it's updated yet okay no biggie it will refresh it one more time it hasn't changed my time but for some reason just sit there we go finally finally so a couple ways to do this you can come right up here and go to Windows Update or you can do what I've done and that is to download the updates with that wsus update utility that we covered it covered in a previous video and you get your updates that way so I went out and looked at the updates that I have and all of mine are back from August 26th I haven't updated them so I'm just going to go ahead for the sake of argument and you I want to do Windows updates through through this interface and let that run and I'm really sorry this is taking such a long time I don't understand why this thing is running so slow let me do something here we go to task manager and see how much it maybe I need to add some more RAM to this I was going I based my RAM the 2gig of RAM based on installing Server 2012 and it could be that Server 2016 maybe a bigger Pig with RAM now keep in mind that Windows Server 2016 a Windows 10 your same operating system yeah you see it's just nailing my processor right now what's nailing my cpu windows module installer so it's installing stuff in the background you see it's only used half of the memory I've assigned it so the the big things sucking up CPU cycles right now is the the modules installing in the background so that's why it's a little sluggish so what I'm going to do is up the first thing I'm gonna do is go out and get all my Windows updates done rather get him dead now then then wait and do it at the end so I'm gonna have set this running check for updates and install them and we'll come back to the video when that's done I honestly should have better prepared for this video because here we are I don't have a watch on but I'm going to pretend like I'm looking at my watch as you can see I've got the studio lights on behind me because it is now nighttime I started this video when did I start it at 2:30 this afternoon it is now 6 o'clock it is taken Windows Server 2016 that long to download and install updates and it is just now coming back up let me so we'll switch over to that video this is that's one of the reasons I recommend that offline update utility let me just show you here so the updates completed from between 2:30 and 6:00 p.m. so what two and a half hours and I'm doing one last check for updates and what the the whole idea of this is once I get all the updates done and I get my settings kind of the way I want them then what I'm going to do is run a run the Syst prep program I assume that it still has it built into Windows I'm gonna run the sysprep program to sysprep this machine with the updates up to today and then I'm going to export that image that's the first thing I'm going to do is export it and then we'll build our actual domain controller off of that exported machine or re-imported booted up for the first time and then allow that to go through its initial setup and the reason I do that is so next time I want to spin up a Windows 2016 server I don't have to wait three hours for the updates to complete like I said I should have prepared better for this video I should have had all that stuff in place but it's kind of a spur of the moment video because the weather and the canceling of the plans so I promise you once we add to that point we'll come back we'll move on with this the rest of this video alright so it looks like the updates have now completed I just basically got the base operating system up and running so now what I want to do is I want to go out to file explorer and I want to see if I can see if I can find sysprep out here hopefully Microsoft has not moved it usually it's under windows system32 and then there's usually a cyst prep folder out there which is prepped right there and it looks like we do still have sysprep so while we're gonna we're gonna try this while y'all are watching see if it actually works so I'm going to double click on this prep I think I'm ready we want to enter out-of-the-box experience and we're going to generalize the operating system and I want to shut down and I want it to reboot because I want to export it after I've sysprep it so I'm gonna go ahead and click OK and as I've explained before what sysprep does is it goes out and basically just destroys the hardware abstraction layer that's the layer of the software that speaks with the hardware that's built onto the machine you've installed it on and generalizes it and puts it back to the point where it asks who's the owner the product code etc everything like that and prepares the system to be copied to multiple machines so if I worked for Dell in other words I would have I would create one master image for all my servers generalize them using sysprep put it on a master server then I can go around to each server I'm doing an install on or each workstation because this works for Windows 10 Windows 8 Windows 7 even Windows XP and Windows 95 and 98 had sysprep in them I know because I used to prepare 20 30 40 machines at a time and this is how we would do them the only difference is we would use a program called ghost to transfer them off of our network on to our new machines so subscribes going to take a little raw to run will let that run and we'll come back when it's done all right so sysprep is completed it's turned the virtual machine off and it's this prepped so now it's ready to be exported now this server this 2016 server is also a member of my domain so I have access to my backup drive which is on my sand and I have access to the apps drive on my sand but what I want to do is I want to go to my hypervisor one because I have another backup folder under here yeah it's the same thing okay just a mirror what I want to do now is I want to export this to a network location so that I can create a new Windows Server 2016 that's got all the updates and ready to go so I'm gonna right click on it I'm sorry I'm going to right click on it and I'm going to choose export and I'm gonna see if it'll allow me to export it to the network drive and you see it doesn't it doesn't show the network map drive up here so I'm gonna have to actually go to the network I'm gonna go to mice and I'm gonna go to the backup folder and to the exports folder under there and I'm gonna select that now this should work because I am a member this machine is a member of the domain so I should have the correct privileges to be able to write to this folder if you're a server that you're doing this on is not a member of your domain you may have may prompt you to enter a password it may give you an error completely but I'm just gonna see if it'll work and it appears to be yep it appears to be exporting so let's go to that folder and it's actually drive X if I go to exports it should have created a folder now called lab dc1 and there it's copying the data into that folder so we'll let that run and then we'll come back and I'll show you the next steps we're supposed to learn from our mistakes right so let me share with you one mistake I made I am exporting this but I didn't rename it it's not a huge deal but you remember me telling you I'm I'm kind of crazy about naming convention what I should have done is called this 2016 server - gold meaning a gold image that I base all my other images off so that when I went to imported I would be able to see it at a glance then it was correctly named that now either way when I go to re-import I have to change all those names anyway so it's not a huge deal but for me I like my naming conventions to be consistent so I should have called that 2016 - server - gold but you call it anything you want now that it's successfully exported I'm gonna go over and just make sure that the virtual hard drive is there under the backups and it is and make sure the virtual machine vmx CPMC acts of EMRs files are both there and they are so now what I can do is I can right-click and I can actually delete that file I don't delete that virtual machine I don't need it but if I go into onto my hard drive out of my D Drive you can see it's actually not deleted it all it has done is deleted the virtual machine for it yeah see that folder is empty of de virtual machines so you have to keep that in mind when even though you delete a virtual machine it's going to leave the hard drive intact and behind so I'm going to come right here and I'm just gonna right click on that folder until it delete and it did it rather quickly alright so now let's import that virtual machine and then we'll base our domain controller off that so what we do is come here to import virtual machine brings up the wizard we're gonna click on next we're gonna browse to that folder and remember it's not gonna show up under here under my PC we have to go to the network we have to tell it it's on the sand and it's in the backup folder export folder lab dc1 and then select folder so there's a location for it it sees the the virtual machine name is lab - dc1 that's why i should have exported it with a proper name but i can we can re export this after we import it so we can correct that so I'll do next I'm going to copy the virtual machine and create a new unique ID I need to do this anytime you do a virtual machine if you use one of these two you're not going to be able to import that image again it'll prevent it that's why I tell it copy it and create a unique ID so that via hyper-v doesn't get confused so we'll tell it next I'm gonna have it store everything all the virtual machine configuration checkpoint smart paging under that folder I created I'm going to browse to that VHD folder and I'm gonna create a new folder and we call this lab - do you see one and hit enter so I select that folder I hit next verify the summary information is complete and click on finish and let the import begin right so the imports completed so now let's connect and let's power this baby up one more time or again and now we're gonna go in and we're gonna do the actual meat and potatoes that's because the first time I'm booting up Windows Server 2016 after Isis prepped it so it has to go through the how hardware abstraction layer I believe is what it's called it's got to get all that done and ree-ree synced and then we can boot up into windows so it's it may reboot a couple of times so I'm gonna let this finish and then come back because there's no sense in wasting precious time on the video watching a screen change now we've booted up to the startup screen so we're going to accept the defaults here and click on next and the product key will we'll choose do this later and I'm gonna accept I would suggest you read this I know you're not going to none of us do we'll go ahead and click on accept need to enter a super secret password so I'm gonna go ahead and log in now and hopefully it'll bring it up to the server manager screen where we'll do most of the damage we're gonna do now I don't know um hey do you need me down here in a little window so you can see my pretty face while I'm doing these videos or uh or would you rather just see a full screenshot of the video I mean you know one half dozen or the other I guess now it sees my MCS dot local network and there's a reason for that because it's on the same subnet so I'm gonna tell yes I want things to be discoverable here's the deal this is gonna you know my my main network is one ninety two dot one sixty dot five subnet and this network is going to be a ten subnet and in order for the two networks to see one another moving forward we will net need to set up and a route in our default gateway so that that this subnet knows - how to find the five subnet because this is going to be the ten subnet but we're not going to worry about that for now because if I don't do that 10 subnet is not going to know how to get out to the internet because I have to put like I say a route in the routing table we'll get to that when we need to first thing I want to do is change the name of the computer so I'm going to click on computer name here and again I apologize for the speed of this unit I sure do wish it were faster there we go and we're gonna click on change we're gonna call this what what did I call MIT lab do you see one so lab - do you see Etta brainfart there for a minute sorry about that okay probably all the Bourbon I've been drinking now yeah I know Microsoft you know I don't know if you rename a Linux machine if you have to reboot it and I think it's just Microsoft being overly cautious because they want to make sure there are neat little snags or snafus but I think if you re if you renamed like a Linux server you don't have to reboot it you just have to restart the server service or whatever it is on Linux so we're just gonna have to live it to speed okay so I've renamed it and eventually it's gonna let me log in here with my super-secret password so now I've renamed the Machine the next thing I'm going to do is I'm going to make sure the timezone is correct because it probably reset it back to Pacific time sysprep probably did that and if I look now the time looks correct but we'll see when server manager comes up all right well evidently sysprep has saw fit to keep the timezone - what I had it - well that's really really good alright so the next thing we're gonna do then is we're going to set up an IP address for this server and so there's a couple ways we can do it but since we've got server manager up I'll show you the way they do it through here so I just click on this ipv4 address assigned by DHCP and that will bring up the networking screen and then I could right click on it go down to properties and we're looking for a TCP IP version 4 and we're gonna give it a hard-coded address up I'm gonna make sure an unblocked is turned on first so one I to one 6810 one our gateway is gonna be one sixty eight dot ten to five for now our preferred DNS is going to be we'll just use Google's is the primary we'll tell it okay and okay now I don't worry it's gonna it's gonna fail identifying any networks it's gonna you see it's as I did an unidentified network or refresh the screen what was I going to say so yeah it's going to not find a network okay so we've got the right IP address in there now okay so I've taken care of my router putting the correct IP addresses in there and actually what I want to do is search I want to find the command prompt and we'll go ahead and run that as administrator and let's ping let's see if we can ping Google okay we can now let's see if we can pin my website and we can good okay perfect perfect perfect perfect our ping times are a little high tonight for whatever reason so we now have access to the Internet if we need to get out to it oh you know one thing I didn't do let's see if we can ping my my regular Network sorry about that and we can't now I probably can't ping the name let me see now I get an ipv6 reply so let me tell it - look at that - for oh it's it's seeing my DNS server on MCS so that's a good thing now the reason we have to put this on a different subnet is because we're going to be also using DHCP server and you can't have two DHCP servers on the same subnet because they're gonna conflict with one another so that's why I put this on its own little subnet just to keep everything copacetic okay so now what we're gonna do is we're gonna we're gonna show you how hard this is to turn it into a domain controller and you first saw how hard it was to install it not hard at all so we're gonna come up here to manage add roles and features there are several ways to add a domain controller I prefer to use the Wizards that way everybody can follow along and do it the same way so click on next it's a role-based or feature-based we're going to install it on to lab dc1 and we're gonna do Active Directory domain services and not only is it going to add that now that's domain okay Active Directory domain services I just want to make sure because this is a new version of Windows Server and I want to make sure I'm selecting the right thing it makes its ok it uses domain controllers cube network users permitted ok through a simple login process ok now I'm not gonna select DNS even though DNS is part of Active Directory it's what it uses to work because in 2012 r2 and in 2008 it loads that automatically ok it's also gonna put group policy management that's good remote server administration tools PowerShell and WW 64 so next ok Active Directory directory service requires a DNS server if we just be installed so ok boom let's install alright so um let's see what's going on here with this machine it says it's we still need to promote this to a domain controller so let's let's do what that says alright and we're going to choose option number 3 here as soon as it comes up because right now we can't select anything we're gonna add we're going to use the option add a new forest and we're gonna give it a domain name so we'll call this 2016 lab yeah or how about lab 2016 here we go for the W name alright okay well that's interesting because it what it's giving me an example of calm now I'm just gonna call it dot local I know I know I know Microsoft best practices don't use dot local but we're lab environment for crying out loud I'm going to use that local the forest functional level and wind and the domain functional level now this is very important because well it's not important for what we're doing but it's important you have to keep your functional level at whatever your domain controller is so if you were adding a domain controller to a Windows Server 2012 r2 domain you would have to set these functional and domain levels down to 2012 and I don't know that you can do it yeah you can r2 and r2 that's how you would want to set them but being is this is the only domain controller in this new domain we can keep them set at Windows Server 2016 okay we want a DNS server we want a global catalog server and this is our restored password for directory active directory services restore mode I've only had to use at one time and 20 odd years or working on servers but don't forget that password I just tend to use it the same as I do the other ones okay delegation for the DNS server cannot be Craig is the authorized parent zone cannot be found now that's fine because you're gonna this is basically I don't understand what Microsoft does it this way I guess they want you to install DNS first but I have always always installed Active Directory this way and if I just click through this normally it installs the DNS server all on its own now it's going to take a minute to populate this but it will come up with a NetBIOS this is back from the days of Windows Server 2000 when you used a wind server it will come up with a NetBIOS domain name of lab 2016 - the dot local so we'll click on next here now I was saying that normally you would have a couple of different hard drives if you had a domain Detroit put your OS on one drive and your your Active Directory database log files and cysts volume folder on another volume on a 50 user Network unless that's overkill I just leave it on the root volume no big deal ok see it's not going to create a DNS delegation let's see DNS server will be configured on this computer see this is the one question I have I'm just reading this out loud i Scott DNS see it says DNS server yes but create the delegation no the DNS server service will be configured on this computer this is why if we could go back here real quick and let me cancel on this wizard I just want to make sure I'm doing this correctly and there's nothing wrong with with doing it promoting that again but what I want to do is I'm going to go ahead and add a role and feature and I'm going to manually add DNS to this I mean we can always come back and not add DNS or run that domain controller DC promotion again I just want to see what happens if I do it this way because to be honest with you I never have and it's great time for experimentation because we could both learn about this and I find that exciting in itself so let's see if this makes any difference because my if the reason I want to do this my fear is is it's going to install DNS even if we did that DC promotion did I exit it out of now keep in mind it still added all the Active Directory stuff we just stopped it at a point where we can come back and do it let it do the promotion later but what my fear was that it would install the DNS server but did not do the DNS delegation and then I'd come back up and Active Directory wouldn't work right because I didn't have a DNS server configured properly and I know it works on 2012 r2 but I don't know that it works on 2016 so I'm gonna go ahead what it can't hurt anything to install the DNS server and then go back and promote this to a domain controller you notice I have a little exclamation point here see post deployment configuration like I said we could come back and do this so now let's do our promotion and we have to wait the in Norn in amount of time for this to come up alright so we're gonna add a new forest and what did we call it 2016 lab right not local everybody doesn't matter what you call this call of something that's easy for you to remember or that you know pertains to what you're doing okay so it sees DNS blah blah blah Windows Server 2016 it still got a grade ok now I can type in there let's put in my super secret password and let's click on next and I'm going to see see I still can't do it ok so you know it even set it down there otherwise no action is required ok Microsoft I got a question for you then why the hell do you put it up on the screen with a yellow exclamation point no further action is required I guess because it's an either-or kind of thing huh yeah okay well you confuse the hell out of this old man I just want you to know that okay so I don't need to do it again that's what can happen anytime you're doing an installation with a system you're just not quite sure of stop and this is why we can experiment because we have this in a lab environment and that's how we learned successful people don't just wave a magic wand and are successful they fail repeatedly ask Einstein they fail repeatedly and before they get it right it's just a matter of whether you fail and learn from your mistakes or fail and keep repeating them that's the difference between it so we're gonna go ahead and accept a C Drive and we should be good to go okay and I'm not gonna worry about that DNS delegation I guess it's a non-issue I guess if that's if I had a DNS server on another server I guess but anyway so let's click Next and it should start doing this so yeah like I said you know geniuses are only geniuses because they failed repeatedly before they got it right and some people are really really good at being successful and some people have to work really hard at it but the thing my father taught me is to never give up okay now look you'll see the green mark up above all prerequisite checks passed successfully so you're fine you can go ahead and install it's just giving you some information that I suggest you read about the cryptology settings and the delegation but that's fine because it should create all that after it it installs it or it configures it so we'll let that run and and we'll come back when it's done so the server has rebooted the virtual server I should say has rebooted and come back up and if you log in here it I don't believe it's gonna log you into the domain I believe well no it should no no it should I'm wrong it's got it in front of it so with the slash because I was thinking it's logging into the local machine but the local machine is lab - dc1 so that's one thing that's different if this was where Windows Server 2012 r2 would come up with lab - dc1 slash administrator it doesn't automatically flip you over to a domain login to a domain you have to go down and select that other user and then put the 2016 lab backslash administrator or whatever the administrator account is and password in so I'll let this boot up this is the first time it's booted in with Active Directory and this can take a few minutes so as you can see by the black screen so we'll uh we'll cut away while that's doing its thing but now you can see we have Active Directory domain services are loaded DNS is loaded you may get some warnings here and there some errors yeah like online performance counter but these errors will clear up in as long frankly as long as you have on the dashboard as long as you're green here you're in good shape now initially when you come up you may be in the red here one of these may have not configured to come up because it's gotta load a bunch of services for example let's go and load task manager and see what's really going on in the background and you can see it's pretty the memory is good the memory still has not gone above about 1.2 gigabytes once you get the server loaded even with Active Directory and DNS running on the CPU load isn't too bad either what and what you don't see here is the hard drive process but we can see what's consuming most of our CPU and memory by just clicking on them here so domain DNS servers it's eaten up about a hundred mega 120 mega memory normal you know and this is another reason I kind of prefer running Windows rather than the we're because not only can my windows 2016 server here be a hyper-v server but I can also load other services on it or have it performing if it was powerful and I've have it performing other tasks and I'm a guy who's all about bang for your buck I don't want to be having all these different servers around my house running I want to be able to put everything out one and kind of have it run well so along that line we're gonna go ahead and add a DHCP server to this server because I wanted to manage DHCP for this subdomain for this subnet so I'm just going to go back up to manage add roles and features next again it's a role based feature we're going to select the lab network and we're going to select right here DHCP service and we're gonna add it click on Next Next Next and install all right so our configurations telling us it succeeded but we have some configuration to do so we'll go ahead and and it will point at the actual screen and not my OBS screen we'll close that and you see we have a little yellow exclamation point up here this is we need to complete the DHCP configuration and so we're get it brings up the steps to do that next we're going to use the domain administrator credentials yeah and I guess commit okay.come we created the groups and authorized and let's see if it's actually running the DHCP ok well we've got a couple of errors but that was three minutes ago so we'll go to the dashboards and see if it's now that show what it's running I don't see DNS here do you okay there it is yeah we got a couple of services that haven't started yet so let's see what they are online performance counters okay I'm not going to worry about those I've got a message up here okay configuration required installation succeeded post deployment so I can close these both and then I'm going to go up to tools and I'm actually gonna go to DHCP and I'm gonna show you what we need to do to configure that now this is going to be the DHCP server for our labs so it's gonna be responsible for telling all the computers on this lab network what what IP configuration haves so what I do is click right here on ipv4 right click and then go new scope and you can will bring up a website wizard I'll call this lab scope you can call it a darn thing you want click on next so I'm gonna have it start at 26 and we'll have an end at 100 actually 99 so it can give out add P addresses 26 for 99 to any device that needs an IP address given to it and the subnet masses of course triple octet 255 and then 0 next and we can add exclusions here so say we had a machine that was adopt 50 we can tell it exclude that from hand being handed out that IP addresses to anybody click on next I accept the default of 8 days next and now you have some additional options you need to configure so yes we're going to tell it next okay so we want to know where the default gateway or your router is so we know that's one I to dot one sixty eight dot 10.25 four because I always put my routers at the end of my networks click on next ok it's got the parent domain of 2016 dot a lab dot local it's already got an IP address in there now this is very important ok this is going to be your primary DHCP server on your lab so say that your machine comes up and gets an IP address and it has it and it's all fat dumb and happy and it gets this one I two dot one sixty eight dot 10.1 as the DNS server which is this Active Directory domain server with the DNS loaded and it say for whatever reason your domain controller you have to bring it down for maintenance or whatever well guess what your computers are not gonna be able to get out to the internet because they refer to this server as the main DNS server and if you don't put any other DNS servers in here and your domain controller goes down they're gonna go out they're gonna look for 10.12 resolve their IP addresses and it's not going to be there so I always go ahead and add the Google IP here as well and it'll go out and validate that it's an actual DNS server now I'm going to click on next and we don't have any wind servers so we don't have to worry about this and then it asks you do you want to activate the scope now and I'm going to tell it yes and then to finish so if we come down here now we see that our address pool our address leases if we had any any reservations scope options so that's where a router dns domain name is and you can actually configure more options for that there's a ton of them in here and if we're not going to cover any of those right now but DNS is pretty powerful in what our DHCP server is pretty powerful in the scope options that can that it can hand out and you notice it also added file and storage services here as well whenever you promote it to a domain controller it's gonna also add file sharing services so we could actually come out here in setup shares if we wanted to create folder shares and and use that as a as a server we're pretty much done we we now have a domain controller that it's ready to serve our lab computers it has been given an IP address we've told it to create a 2016 lab dot local domain we've added DNS DHCP we have file serving on so we could share files off the server and all is good with the world so there you have it in a nutshell that's how you install Windows Server 2016 in a hyper-v environment how you promoted to a domain controller the steps involved the DNS the dhcp etc etc so you can see I couldn't I couldn't do all this on ESXi I couldn't I couldn't have the GUI is the main thing but let's go back to that server because I want to show you one more thing so you're thinking well with all that stuff running on that server man you're gonna need to really increase the memory on that thing because you know it's not going to have enough memory to serve everything out and boy oh boy you'd be dead bones look 2 Giga memory on that server if anything it needs a faster harddrive I'll agree with that but I would the most I would bump this memory up to and before gig and that that even would be overkill and it would serve 50 users and lower without a problem because DNS is not that impactful on on your local network unless you get some BOTS out there that starts hammer and denial of service attack in your own local DNS server it's not going to get hit that much neither is DHCP neither is Active Directory it's just a database that stores you know login information security IDs group policies and that kind of thing it isn't something that gets hit all the time and even file-sharing when we could probably really do a little experiment we're just going to keep two gig of ram on this server throughout this lab exercise and throughout this this tutorial session on it because I want to prove a point you know people are like oh well you know if you're on Windows it's a pig with no it's not not even with a GUI you know I just get so tired of hearing people of the Linux side of things and lettings makes a wonderful Linux is a wonderful product but don't tell me how much better it is without a GUI because it's just horseshit to me anyway it's horseshit I like a GUI so you know and it's not that impactful on the system you know modern systems have powerful processors and lots of RAM and so don't get caught up in the wheels of that you know get out here do what I've done set up a hyper-v server set up your server 2016 download the trial from Microsoft to let you play around with it for 180 days possibly even a year if you can reactivate it twice and get your feet wet and so the first step to do in this lab is the domain controller we now get that done I know this is probably a long video I'm not editing as I'm doing it like I was in the previous video so I won't know till I get in to editing it tonight and I've already spent i've been going at this since two o'clock it's now 9:30 at night so this is a video y'all I've asked for I put it up there and if if I get it let's say if I get over 200 views on this thing I will go ahead and do the next one in the series of those videos because I want to keep on with this lab series if we can and the lab series will kind of be to fill in the gaps when I can't you know what it's raining or outside of the weather's bad I don't have anything else to do I'll kick one of these lab episodes off again so hopefully you guys have found this informative and helpful and you've enjoyed it please give us a thumbs up down below yeah under the if you have any more information you need about our channel click on the about page our donation link is there our donation link is on the front page so if you want to help me get that Dell our 7:10 server in here before the end of the year throw me five or a buck or a fiber or a tenner my way and I'll put that toward that new server and thanks again for watching and subscribing please subscribe to our videos if you're not already a subscriber and leave your comments down below in the comment section and I try to answer every one of them but unfortunately we've gotten more subscribers getting more and more difficult but I'll do my best to keep up thanks again for watching we'll see you on the other side [Music]
Info
Channel: Unkyjoe's Playhouse
Views: 7,406
Rating: undefined out of 5
Keywords: ms server 2016, server 2016, domain controller, windows, lab
Id: UfB2v_vzK6s
Channel Id: undefined
Length: 72min 6sec (4326 seconds)
Published: Tue Dec 13 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.