When a user connects to an RD session, if the client and server are configured properly, that connection will attempt to set up printer redirection between the RD session and the local computer. Specifically, what happens is that every printer that is installed onto the local computer will be configured as a separate printer inside the user's RD session. This is the feature that enables users to be able to print to their local printers, even if the information that they are accessing and printing is located halfway around the world.
When the RD connection builds these virtual printers, it attempts to use real printer drivers for them. For example, if the printer is an HP LaserJet 4100 and the RDSH server has the HP LaserJet 4100 driver installed, then when that printer gets set up inside the user session, it will utilize that existing, official driver. If the user logs into an RDSH with a printer whose driver does not exist on the RDSH server, however, by default that printer will not be installed. There is a setting in the same configuration page where we enable or disable printer redirection on the RDSH server collection that can partially help with this. If you select the option on that screen for Use the Remote Desktop Easy Print print driver first, when the real driver doesn't exist for a particular printer, it will use a generic driver that may or may not actually work with the printer. This can certainly help bridge the gap when it comes to missing printer drivers but doesn't always solve the problem.
The best way to make sure your users are going to be able to print properly is to install the real driver onto the RDSH. So what's the point of this recipe? Who doesn't know how to install a printer driver, right? I write this because most printer driver software packages are now full-blown applications, and we don't need a quarter of what comes with them. Driver install packages consume much more space than necessary for use with RDS, and we have to take into consideration that we are installing actual applications, which could potentially show up inside user sessions and cause confusion. So what is the answer? Extract the simple driver files from those driver packages and use just the files themselves in order to install the driver into Windows. Let's do one together so you can see what I'm talking about.
We will be installing this printer driver onto our RDSH server running Windows Server 2016. For our example, we will be using a Brother MFC-J625DW printer, since that is one I installed for a customer just recently. Brother is usually good about providing a simple, small driver download that contains only the files we need for the driver itself.
Let's work together to download and install this printer driver onto our RDSH so that it can be used for printer redirection:
INF
file that typically sits in the root of that driver folder. Sometimes you will have to poke around a little until you find it, but the file is always an INF
file.
INF
file, the Add Printer Driver Wizard will now display a list of the drivers that are contained within that INF
file. Choose the specific printer driver that you want to install and click Next.
Installing printer drivers onto RDSH servers is a pretty common administrative task in environments where printer redirection is allowed. We walked through one of the nice, simple installers that was easy to extract and contained only the actual driver files that we needed. These kinds of driver downloads are perfect for our purposes here.
As you experience more and more of these driver installations, you will start to learn which manufacturers provide simple driver packages for this purpose and which ones do not. Ultimately, though, the software always contains the simple driver files; sometimes it's just a matter of launching the huge installer program so that it places the files somewhere in a temporary location on the hard drive. What I normally do in these situations is launch the installer and walk it through whatever steps are necessary in order to see that it is unpacking/extracting files. Once it has done that, you don't have to run any more of the wizard to install the software applications because you know that the driver files you need are sitting on the hard drive of the server somewhere. We just need to find them. Using a utility such as FileMon can help identify file locations that have been recently modified, and is a pretty quick way to track down those driver files that are usually hidden away in a temp
folder. Once you find the files, you can copy and paste them into a more permanent folder for driver installation purposes, cancel out of the install wizard, and walk through the steps in this recipe to install that driver manually instead.
18.117.142.141