Printer management with Active Directory

Printer management with Active Directory

Printer management with Active Directory (AD). I’ll break it down thoroughly, covering prerequisites, configuration, and deployment options.


1. Prerequisites

Before managing printers via Active Directory, ensure you have:

  • Windows Server: Domain Controller with Active Directory installed.

  • Print Server: Usually a Windows Server with the Print and Document Services role.

  • Printers: Network printers installed and reachable from the server.

  • Client Machines: Domain-joined computers running Windows.

  • Admin Rights: You need Domain Admin privileges to configure Group Policy and publish printers.


2. Install and Configure Print Server Role

  1. Open Server ManagerAdd Roles and Features.

  2. Select Role-based or feature-based installation → choose your server.

  3. Under Roles, select Print and Document Services → click Next.

  4. Check Print Server (you can also select LPD Service or Internet Printing if needed).

  5. Finish installation.


3. Add Printers to the Print Server

  1. Open Print Management (Server Manager → Tools → Print Management).

  2. Right-click PrintersAdd Printer.

  3. Choose one of the following:

    • Network Printer: \\PrinterIP or \\PrinterName

    • Local Printer: Choose port manually, typically for shared printers.

  4. Install the appropriate printer driver (make sure it’s compatible with all client versions).

  5. Give the printer a clear name (e.g., HR-LaserJet or Accounting-Color).


4. Publish Printers to Active Directory

  1. In Print Management, right-click the printer → PropertiesSharing tab.

  2. Check Share this printer.

  3. Check List in the directory to publish it in Active Directory.

  4. Click OK.

Now, the printer is visible in AD and can be deployed via Group Policy.


5. Set Permissions on Printers

  1. In Printer Properties → Security tab:

    • Add users or groups (e.g., HR, Finance)

    • Assign permissions like Print, Manage Documents, or Manage Printers

This centralizes printer permission control, so users only see and use printers they are allowed to.


6. Deploy Printers via Group Policy

Deploying printers through Group Policy ensures automatic installation for users.

Step 6a: Open Group Policy Management

  1. On your Domain Controller: Server Manager → Tools → Group Policy Management.

  2. Decide where you want to apply the policy (domain, OU, or specific group).

  3. Right-click → Create a GPO in this domain, and Link it here.

  4. Give it a descriptive name, e.g., Printer Deployment - HR.


Step 6b: Add Printers to GPO

There are two methods:

Option 1: User-based deployment

  1. Edit the GPO → User Configuration → Policies → Windows Settings → Deployed Printers.

  2. Right-click → Deploy Printer → choose the printer from AD.

  3. Decide:

    • Set this printer as default (optional)

    • Remove when GPO no longer applies (recommended)

Option 2: Item-level targeting (location-based)

  1. Edit the GPO → User Configuration → Preferences → Control Panel Settings → Printers.

  2. Right-click → New → Shared Printer → enter \\PrintServer\PrinterName.

  3. Click Common tab → Item-level targeting → Target users/computers:

    • Example: Deploy only to HR OU or computers in Accounting department.


Step 6c: Test GPO

  1. On a client machine, run:

    gpupdate /force
  2. Log out and back in → the printer should appear automatically.


7. Optional: Location-Based Printer Assignment

For offices with multiple sites:

  1. Define IP ranges or AD Sites.

  2. In Item-level targeting, select Organizational Unit, IP range, or AD Site.

  3. This ensures users automatically get the closest printer.


8. Troubleshooting Tips

  • Ensure printer drivers are compatible with all client OS versions.

  • Check DNS resolution for network printers.

  • Use Get-Printer and Get-PrinterPort in PowerShell to verify configuration.

  • Confirm the GPO is linked to the correct OU and applies to users/computers.


Result:

  • Printers are centrally managed.

  • Users automatically get assigned printers based on OU, group membership, or location.

  • Permissions are controlled centrally via AD.

  • No manual installation is required on each workstation.