70-410 Objective 2.2 - Deploying Printers with Active Directory and Windows Server 2012 R2 Lab

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back again to another lab this lab is on objective to two of the printing and document management and today what I'm going to specifically show you is a lab on deploying printers with Active Directory so let's go ahead and well we have to get a couple things first first we need a whole bunch of users created so I'm just going to drag over a script here you can find this script on network minds comm I'll put a link in the comment section below and we'll go ahead and just create a whole bunch of users and yes I want to run this PowerShell script and we have our users populated NRO use well let me show you what we actually just did because since we're dealing with Active Directory you have to know a little bit about Active Directory not that's why I was a little gun-shy to do this video but because right now we haven't talked about Active Directory but here is our Oh you structure there's contoso I haven't oh you four groups I haven't no you four servers and I know you four users and this is what we'll be using today so let's talk about deploying printers with GPO I actually want to login as a domain admin so administrate tour at contoso com and we're going to go ahead and log in as this guy so now that we're on the desktop of server 2 which is our print server I'm going to go ahead and I'm going to open up the print management console now I've reset the the lab since the last video so I don't have any printers in there so I'm just going to create a few printers right now okay so now that we have our three printers set up let's take a look at how we can deploy each one of these printers so I'm go back to server one and one of the requirements is I have to have a GPO so I'm going to open up group policy management console I usually call it the gpmc so if you hear me refer to it as the GPM sea it's the group policy management console and what we're going to do is right under can to sew right on users we're going to create in a link a new GPO and I'm going to call this one sales one printer well okay that go back to server two and I'm going to right click on sales one and I'm going to say deploy with group policy so first we're going to pick the GPO to tie it to says contoso oh you underneath contoso comm and of course users and there's my cells one printer GPO that I just created now this is going to apply to users there's two classes of devices we could apply a GPO to one is users the other is computers so all the demonstrations I'm going to do is going to be per user but you could actually apply it per computer so going to go ahead and click Add you're going to notice that server slash slash server two sales 1 is going to be tied to the sales 1 printer it's going to be a per user connection and I'm going to okay that so I've succeeded that's why I had a log on as a domain admin and I'm going to click on deployed printers and there is our deployed printer let me move this stupid action pane and there is our deployed printer so the next thing that we need to do is actually test this out so I'm going to go ahead and I'm going to log on actually I'm going to log on as sales 1 and we could see that sales one has to been deployed now some problems with this this is why I don't like this method first if we look at this GPO expand that we look at the settings we can see that under user configuration under policies windows settings printer connections has a has a printer that is going to be deployed to the user however if we look at the GPO itself we're not going to see the printers so the only way that you can really manage this is through the actual print management now there's a second flaw to this problem we have to make basically if we attach this sales printer to this so you everybody in this of you all of these users will get it so no matter if you're marketing research techs everybody's going to get that sales one printer so that's another problem and that's why I don't like deploying in this fashion makes it very very confusing let me show you another way to deploy printers and this is the preferred way of actually deploying out printers through GPO so if we edit this GPO sales one printer and we go down to preferences control panel and we go down to printers just expand that a little bit I can create a new shared printer that's what I'm trying to map and I'm going to map this as slash slash server to actually I could just browse to it oh no I can't slash slash server to slash sales to you just double check that name there yep and we can set this as the default printer now here is where I love this this is called client side targeting we can actually target this particular setting to a group of users so we're going to pick the security group and we're going to choose sales so now if they're in the sales group the actions above will take so we've just targeted this item I can also say remove this item when it's no longer applied meaning that user has been promoted to another you know reach or group of people and now let's go ahead and see what we just did and again that's the preferred way to do it my preferred way and if you want to keep your sanity I would say that would probably your preferred way so we're going to go ahead and log off I'm going to log on as sales to we definitely have both printers now mapped and cells to it on server two is mapped only to the actual sales users so let's go ahead and take a look at that GP oh yeah that did not work and I'm not sure why maybe it's because we're we have conflicting settings we're doing it both through the print management and through GPO and if you want to keep your sanity again you should only do it through one but let's see how well that work for a tech so I'm going to just pop out of here and we only have one printer and that's the printer from deployed with Active Directory or rather deployed with GPO from the print management on server - this guy right here so let's go back and let's talk about when I explained to you about location based printing inside of Active Directory and I talked about that in the end of the lecture part two so what we can do is we can actually set up location based printing which means if I go and let's just say I'm going to go here and sa list in Active Directory all I really did when I did that was basically check that box I could also manually check that box like that same thing but it's just quicker doing it this way so now all three of them are listed in Active Directory so what that should do is that should list the printers in Active Directory so if I do a find and I click on printers find now we can see that all three of these printers are now listed in Active Directory so now let's go ahead and set up location base printing now the first thing I'm going to need to do is I'm going to need to turn on a policy and I believe it's for users you know if it's under administrative nope actually it's under computers yep there it is and I'm going to do this not in this GPO because doesn't contain any computers ultimately I'd need to take server 3 and move him to the server's group create a brand new oh you you know what I'm actually going to do it right on the top for the default domain policy for a lab this is fine but I would not do this normally so under policies under administrative templates under printers we are going to find pre-populate printers search location text so we're just going to edit that and we're going to enable that okay and now we've got that set so let me think here yeah I'm pretty much done with the gpmc next thing I'm going to do is I'm going to have to go into Active Directory sites and services and under sites we're going to notice that the first site is basically where server one lives which is DC and it's called default for site name this gets created when you do a dcpromo so on this I'm going to go to properties and for the location I'm going to put main whoops that's description I'm going to put main slash building and I'm going to okay that so now that is our location I'm also going to create a subnet of 192.168.1.0 slash 24 and that is the address or the network address that this server lives in and all the other servers live in and I'm going to tie that to the first site so location based grunting only works if everybody at that location is using the same subnet otherwise you might have multiple subnets and you can tie them to the same default first site so per se if I had you know another floor of the building one six eight dot one dot OOP 2.0 slash twenty four okay they would also be in the first sight so everybody within these two because I tied it to the same site and the site actually has the location what we could do is we could put a location here for you know main main building floor one or for two so you could actually separate them out but we need to have a subnet that's how you can identify where which printers you actually get now now that we set up Active Directory Sites and services let's go back to server two and let's go to we're going to choose sales 3 and in the location tab we're going to put main slash building and we're going to okay that actually one thing I had changed the default default domain GPO so real quick I want to do a gpupdate slash force on both server to and server 3 because we need to boil water as I always say in a lab and I don't want to wait 45 minutes for the background refresh to take place where the GPO gets reapplied to the computer so now that we have the GP refreshed on both of these computers I'm going to go to sales - I'm going to go to properties and we can now see what must have put male building ok I came up male building but now we can actually choose that's why I wasn't coming up the first time I had update the GPO but now we can actually choose the floor and I'm gonna have to go back and just fix that there it is whoops main building floor to properties main / building / floor 1 go back to server 2 I'm just going to do a quick gpupdate slash force and now I'm going to go back and just fix those printers so if I click browse now it says main there's my floor 1 my floor - I'm going to select floor 1 it's going to populate that I'm going to go to cells - and do the same floor to and now I'm going to go back to server 3 being our client I'm going to just do a quick gpupdate slash force and let's just notice the IP that this server lives at we're going to click on Add Printer and we'll see that the printer that we just got served up is we're not served up but allowed us to add was the one in the main building floor one and that's because the IP that we have on this server matches the one that we set up in sites and services under subnet now if this printer isn't showing up like sales - we can say the printer I've put in isn't showing up and then we can go ahead and type in the path of the server and we can click browse and we can choose our printer from there and we can always add that but again if we go to add printer it's going to bring us the one that is closest to us so ideally what you could do is if you know if you've logged in on in a building and your client this works equally on 8 and Windows 7 actually this features been around since 2000 and your IP is let's say you move to another floor 1 9 2 1 6 8 2.3 your computers at well then it'll serve you up main building floor 2 and this is how location-based printing works so I hope you learned something if you have any comments put them in the comment section below Facebook Twitter or Google+ please subscribe to the channel I'll put all the links and the articles that I use to do these labs in the comments section below and as always thank you for watching
Info
Channel: NetworkedMinds
Views: 114,255
Rating: undefined out of 5
Keywords: Windows Server 2012 (Operating System), Active Directory (Software), Microsoft Windows (Operating System), networkedminds, deploying printers, GPO, Group Policy, Deploy printers with active directory, 70-410, printer location tracking, location tracking, AD, print management, gpo preferences, location schema, sites and services, subnets, location, deploying printers with gpo, group policy deployment
Id: 56OowN5tJww
Channel Id: undefined
Length: 20min 13sec (1213 seconds)
Published: Fri Mar 20 2015
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.