Windows print server: printers, drivers and queues
-
Phase 0: Before you start
-
Phase 1: The foundation
-
Phase 2: Core administration and security
-
Phase 3: Enterprise infrastructure
-
Phase 4: Troubleshooting step by step
-
Phase 5: Final project and career
Printing feels old-fashioned right up until the CEO can’t print board papers ten minutes before a meeting. A Windows print server keeps every printer, driver and queue in one place, so you can fix, update and secure them from there.
You’ll install the Print Server role on SRV01, add a Finance printer with an inbox driver, share it, publish it in AD and connect Priya to it. Along the way you’ll clear a stuck queue and switch off the Print Spooler on your DCs.
| Time | You need | By the end you can |
|---|---|---|
| About 60 minutes | DC01, DC02, SRV01 and CL01 from Lesson 17 | Install and manage a print server with PowerShell, share and publish printers, control who can print, clear stuck queues and harden the spooler |
What it is, in one line
A Windows print server is a Windows Server that hosts shared printers. It keeps their drivers and queues, and clients print through it rather than straight to the printer.
In Simple Words
The office post room
In most offices people don’t each walk to the post office; they drop their letters in the office post room, which keeps a queue, knows which courier to use and tells you if something’s stuck. A print server is that post room. Laptops send their jobs to SRV01, and SRV01 queues them, uses the right “language” (the driver) for each printer and passes them on.
If the post room clerk goes home, nothing gets sent, and on Windows that clerk is the Print Spooler service.
Engineer's View
Spooler, drivers, ports and security
The Print Spooler (spoolsv.exe) accepts jobs, saves them as files in C:\Windows\System32\spool\PRINTERS, renders them with the printer’s driver and sends them out through a port. A Standard TCP/IP port points at the printer’s IP address, usually RAW on TCP 9100 or LPR.
Drivers: modern Windows prefers inbox class drivers like the Microsoft IPP and PS class drivers, along with Universal Print and vendors’ universal drivers. Since the 2021 PrintNightmare fixes, standard users can’t install printer drivers from a print server by default (the Point and Print restrictions), so drivers need to be on the clients already or be class drivers.
Publishing adds a printQueue object to AD so users can search for printers by name or location. Printer permissions work much like NTFS, with Print, Manage documents and Manage this printer.
Security: the spooler has a long record of vulnerabilities, and Microsoft recommends disabling it on domain controllers and on any server that doesn’t print. Microsoft Defender for Identity will even flag DCs that have the spooler running.
How it works, step by step
Here’s the path a page takes when Priya prints from CL01:
Since every job passes through SRV01, you can see all the queues in one place, change a printer’s IP address once and swap drivers without touching a single laptop. In return, SRV01’s spooler becomes one more thing you have to keep an eye on.
This is the print setup you’ll build:
- Install the Print Server role and management tools on SRV01.
- Add a TCP/IP port, an inbox class driver and the Finance printer.
- Share and publish it, and limit printing to Finance with a group.
- Connect Priya’s session on CL01 and send a test job.
- Harden: stop and disable the spooler on DC01 and DC02.
The lab has no real printer, so the address 10.0.0.195 (inside the DHCP exclusion from Lesson 15) stands in for one. Jobs will sit waiting in the queue, which suits the troubleshooting part nicely.
Hands-on Lab: Windows print server on SRV01
Before you run any command, double-check it
Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.
Start DC01, SRV01 and CL01, and work on SRV01 as SAATLAB\Administrator in PowerShell as administrator.
1Install the Print Server role
On SRV01, run this:
Install-WindowsFeature Print-Server -IncludeManagementToolsYou should see something like this:
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {Print and Document Services, Print Server, Print Management...✅ Checkpoint: The Print Server role installed, and Print Management appears under Tools in Server Manager.
2Add the port, driver and printer
On SRV01, check which class drivers you have, then add the Finance printer:
Get-PrinterDriver -Name *Class* | Select-Object Name
Add-PrinterPort -Name IP_10.0.0.195 -PrinterHostAddress 10.0.0.195
Add-PrinterDriver -Name 'Microsoft PS Class Driver'
Add-Printer -Name 'Finance-Printer' -DriverName 'Microsoft PS Class Driver' -PortName IP_10.0.0.195 -Location 'Floor 2, Finance' -Comment 'Lab printer for Finance'
Get-Printer -Name 'Finance-Printer' | Select-Object Name, DriverName, PortName, Location, SharedYou should see something like this:
Name DriverName PortName Location Shared
---- ---------- -------- -------- ------
Finance-Printer Microsoft PS Class Driver IP_10.0.0.195 Floor 2, Finance FalseIf Get-PrinterDriver doesn’t show a PS class driver, pick another class driver from the list, like the IPP class driver, and use that same name in the next commands. Class drivers come with Windows, so clients don’t need to download anything.
✅ Checkpoint: Finance-Printer exists on SRV01 with the class driver and the IP_10.0.0.195 port, not shared yet.
3Share, publish and limit it to Finance
On SRV01, run this:
Set-Printer -Name 'Finance-Printer' -Shared $true -ShareName FinancePrn -Published $true
New-ADGroup -Name DL_FinancePrinter_Print -GroupScope DomainLocal -GroupCategory Security -Path 'OU=Groups,OU=SAATLAB,DC=saatlab,DC=internal'
Add-ADGroupMember DL_FinancePrinter_Print -Members GG_Finance
Get-ADObject -Filter "objectClass -eq 'printQueue'" -Properties printerName, location | Select-Object printerName, locationYou should see something like this:
printerName location
----------- --------
Finance-Printer Floor 2, FinanceThe printer now exists as an object in AD under SRV01’s computer object. To limit who can print, open Print Management on SRV01, right-click Finance-Printer and choose Properties, Security. Remove Everyone, add DL_FinancePrinter_Print with Print allowed and click OK.
✅ Checkpoint: Get-ADObject finds the published printer, and its Security tab lists DL_FinancePrinter_Print instead of Everyone.
4Connect Priya and print a test page
On CL01, sign in as SAATLAB\priya.sharma. If you’d like to find the printer through the GUI, go to Settings, Bluetooth & devices, Printers & scanners, Add device, then “The printer that I want isn’t listed” and “Find a printer in the directory”.
In PowerShell on CL01 (still as Priya), connect and print:
Add-Printer -ConnectionName \\SRV01\FinancePrn
Get-Printer | Where-Object Type -eq 'Connection' | Select-Object Name, Type, ComputerName
'Lab test page from Priya' | Out-Printer -Name '\\SRV01\FinancePrn'You should see something like this:
Name Type ComputerName
---- ---- ------------
\\SRV01\FinancePrn Connection SRV01Now look at the queue on SRV01:
Get-PrintJob -PrinterName 'Finance-Printer' | Select-Object Id, UserName, DocumentName, JobStatusYou should see something like this:
Id UserName DocumentName JobStatus
-- -------- ------------ ---------
2 priya.sharma Lab test page from Priya Error, Printing, RetainedThe job arrived on SRV01 under Priya’s name. Its status shows an error because nothing is answering at 10.0.0.195, and on a real network that’s when you’d check the printer is switched on and has the right IP address.
✅ Checkpoint: Priya has a connection to \\SRV01\FinancePrn and her job is in the queue on SRV01.

5Turn off the spooler on your domain controllers
From SRV01, check the spooler on both DCs and disable it:
Invoke-Command -ComputerName DC01, DC02 -ScriptBlock {
Stop-Service Spooler -Force
Set-Service Spooler -StartupType Disabled
Get-Service Spooler | Select-Object MachineName, Status, StartType
} | Select-Object PSComputerName, Status, StartTypeYou should see something like this:
PSComputerName Status StartType
-------------- ------ ---------
DC01 Stopped Disabled
DC02 Stopped DisabledDCs don’t host printers, so a spooler running there is nothing but attack surface. In Lesson 23 you’ll enforce this for every DC with Group Policy and keep the spooler only on servers like SRV01 that genuinely print.
✅ Checkpoint: Spooler is Stopped and Disabled on DC01 and DC02, and still running on SRV01.
Break It, Then Fix It
You’ll run into both of these print problems in your first month on any helpdesk: a queue that won’t clear, and a spooler that isn’t running.
1Break it: a stuck queue
On CL01 as Priya, send a few more jobs:
1..3 | ForEach-Object { "Report page $_" | Out-Printer -Name '\\SRV01\FinancePrn' }On SRV01, try deleting them:
Get-PrintJob -PrinterName 'Finance-Printer' | Remove-PrintJob
Get-PrintJob -PrinterName 'Finance-Printer' | Select-Object Id, DocumentName, JobStatusYou’ll see something like this:
Id DocumentName JobStatus
-- ------------ ---------
2 Lab test page from Priya Deleting, Error, Printing, Retained
3 Report page 1 Deleting
4 Report page 2 Deleting
5 Report page 3 DeletingThe jobs say “Deleting” but don’t go anywhere, because the spooler is still trying to reach the printer and keeps the job files open. Users see the same thing: the queue is stuck and nothing behind the first job prints.
To fix it, stop the spooler, remove the spool files and start it again:
Stop-Service Spooler -Force
Get-ChildItem C:\Windows\System32\spool\PRINTERS
Remove-Item C:\Windows\System32\spool\PRINTERS\* -Force
Start-Service Spooler
Get-PrintJob -PrinterName 'Finance-Printer'You should see something like this (before deleting, then an empty queue):
Directory: C:\Windows\System32\spool\PRINTERS
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 19/10/2026 17:20 1268 00002.SHD
-a---- 19/10/2026 17:20 13044 00002.SPL
-a---- 19/10/2026 17:24 1252 00003.SHD
-a---- 19/10/2026 17:24 12980 00003.SPLEvery job is a pair of files, with SHD holding the job settings and SPL holding the print data. Clearing them wipes every job on every printer on that server, so on a busy print server warn users first, or fix the one bad printer if you can.
✅ Checkpoint: After restarting the spooler, Get-PrintJob returns nothing for Finance-Printer.
2Break it: the spooler isn’t running
On SRV01, stop the spooler:
Stop-Service Spooler -ForceOn CL01 as Priya, list SRV01’s printers:
Get-Printer -ComputerName SRV01You’ll get an error like this:
Get-Printer : The spooler service is not reachable. Ensure the spooler service is running.
At line:1 char:1
+ Get-Printer -ComputerName SRV01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_Printer:ROOT/StandardCimv2/MSFT_Printer) [Get-Printer], CimException
+ FullyQualifiedErrorId : HRESULT 0x800706ba,Get-PrinterNow nobody can print to SRV01 and the connections show as offline. On real servers the spooler usually stops because a bad driver crashed it, so look in the Application log for spoolsv.exe errors as well as restarting the service.
To fix it, start the spooler and set it to restart itself after a crash:
Start-Service Spooler
sc.exe failure Spooler reset= 86400 actions= restart/60000/restart/60000/restart/60000
Get-Service Spooler | Select-Object Status, StartTypeYou should see something like this:
[SC] ChangeServiceConfig2 SUCCESS
Status StartType
------ ---------
Running AutomaticThe recovery setting tells Windows to restart the spooler a minute after it fails, up to three times a day. That buys you time, but you still have to replace the driver that’s crashing it.
✅ Checkpoint: Get-Printer fails while the spooler is stopped and works after it starts, with recovery actions set.

This happened at work
The emergency fix that stopped all printing
In July 2021 Microsoft warned about PrintNightmare, a spooler flaw that let attackers run code with system rights. One company’s security team moved quickly and linked a Group Policy at the domain level that disabled the Print Spooler on every Windows server. It worked a little too well, because the policy reached the two print servers as well. Within an hour 1,200 staff couldn’t print and the helpdesk queue was full of “printer offline” tickets.
The admins had to track down the cause first, because the spooler kept stopping again after every manual start. Once they found it, they relinked the policy to an OU of servers that don’t print, added a security filter to exclude the print servers and gave the print servers the July patches the same day.
The lesson: turn the spooler off where it isn’t needed, but target the policy carefully and patch the servers that have to keep printing. A security fix that stops the business gets rolled back, and then you’re left with neither.
Common mistakes and troubleshooting
| Mistake or symptom | What happens | What to do instead |
|---|---|---|
| Spooler running on DCs | Unneeded attack surface with a history of critical flaws | Disable it on DCs and non-printing servers |
| Queue stuck with jobs in “Deleting” | Nothing behind them prints | Stop spooler, clear spool\PRINTERS, start spooler |
| “The spooler service is not reachable” | Clients can’t print or list printers | Start the spooler, set recovery actions, look for a crashing driver |
| Vendor-specific drivers on every printer | Driver prompts and spooler crashes | Prefer class or universal drivers |
| Users can’t add a printer: admin prompt for drivers | Point and Print restrictions since 2021 | Pre-install drivers or use class drivers; don’t weaken the restriction |
| Printers left with Everyone: Print | Anyone can use expensive or sensitive printers | Domain local print groups, like files |
| Printer IP set by DHCP without a reservation | The address changes and the queue breaks | Fixed IP or a DHCP reservation for every printer |
| Not publishing printers in AD | Users can’t search by location | Publish and fill in Location |
| Clearing all spool files on a busy server without warning | Everyone loses their jobs | Fix the one printer first; warn users if you must clear all |
Interview questions
Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. In simple words, what does a print server do in a company?
Why they ask this: They’re checking the basics, and whether you know why companies use a print server instead of every PC printing directly.
How you might answer: A print server keeps all the shared printers in one place, with their drivers, queues and permissions. Users print to the server and the server passes the jobs on to the actual printers.
2. What is the Print Spooler service, and what happens if it stops?
Why they ask this: They want to know you understand the main component behind Windows printing and how to bring it back.
How you might answer: It’s the Windows service that manages the print queues, so if it stops, printing stops. I’d restart it from Services, or with Restart-Service Spooler in PowerShell.
3. A user calls and says their print job is stuck and nothing else will print. What do you do?
Why they ask this: They want to see that you can fix the most common printing ticket quickly and in a sensible order.
How you might answer: I’d first check the printer is on and reachable and try cancelling the job. If it won’t clear, I’d stop the spooler service, delete the files in the spool\PRINTERS folder and start the spooler again.
2–5 years experience
4. Your security team says to disable the Print Spooler on all domain controllers. Do you agree, and why?
Why they ask this: They want to see that you follow hardening guidance and understand the reason behind it.
How you might answer: Yes, I agree. DCs don’t need to print, and the spooler has had serious flaws like PrintNightmare, and it’s also been abused to force a DC to authenticate to an attacker. So I’d disable it on DCs and on any other server that doesn’t print.
5. A new office opens and 40 users need their printers set up. How would you deploy the printers to them?
Why they ask this: They want to know which deployment options you know and that you avoid installing printers by hand.
How you might answer: I’d use Group Policy Preferences printer items targeted by group or OU, or “Deploy with Group Policy” in Print Management. For cloud-managed devices I’d go with Intune or Universal Print.
6. After a Windows update, users suddenly can’t install printer drivers from the print server. What changed, and how would you handle it?
Why they ask this: They want to check that you are up to date with the Point and Print changes from 2021, and that you fix it safely.
How you might answer: Since the 2021 changes, only administrators can install drivers from a print server by default. Rather than loosen that rule, I’d use class drivers or package-aware drivers, or put the drivers on the PCs in advance.
Senior level
7. You’re asked to design printing for a company with 20 offices. How would you approach it?
Why they ask this: They want to see that you think about scale, simple management and resilience.
How you might answer: I’d go with one or two central print servers, or Universal Print, using class drivers and reserved IPs for the printers. I’d deploy them with GPP or Intune targeted by location, use printer groups for permissions and monitor the queues and spooler health.
8. The spooler on your print server keeps crashing every few hours. How would you find the cause?
Why they ask this: They want to see a structured way of troubleshooting, because a bad driver is usually the cause.
How you might answer: I’d check the Application log for spoolsv.exe faults and note the faulting module, read the PrintService Admin and Operational logs and look for recent driver changes. Then I’d isolate drivers with driver isolation mode and try removing the suspect drivers one at a time.
9. When would you suggest moving from on-premises print servers to Universal Print?
Why they ask this: They want to see that you know modern options and can judge when they make sense.
How you might answer: When devices are cloud-joined and people work from anywhere, because it removes the print servers and the need for a VPN to print. You do need Microsoft 365 licensing and printers that support it, or a connector for older printers.
Quick quiz
Q1. Where does the spooler store waiting jobs?
- C:\Temp
- C:\Windows\System32\spool\PRINTERS
- In AD
Show answer
B — Each job is an SHD and SPL file pair.
Q2. What does publishing a printer do?
- Makes it print faster
- Adds a printQueue object to AD so users can search for it
- Installs drivers on clients
Show answer
B — Users can find it by name or location.
Q3. What fixed the stuck queue?
- Rebooting CL01
- Stopping the spooler, clearing spool files, starting it
- Removing the driver
Show answer
B — The spooler held the job files open.
Q4. Where should the Print Spooler be disabled?
- On print servers
- On domain controllers and non-printing servers
- On every computer
Show answer
B — Keep it only where printing is needed.
Q5. In the work story, what went wrong?
- The patch failed
- The spooler policy also hit the print servers
- The printers were unplugged
Show answer
B — Target hardening policies carefully.
Quick recap
- A Windows print server holds shared printers, drivers and queues in one place.
- Add a port, a class driver and a printer, then share and publish it with
Set-Printer. - Control printing with domain local groups on the printer’s Security tab.
- Stuck queue: stop the spooler, clear
spool\PRINTERS, start it. - Set recovery actions on the spooler, and find drivers that crash it.
- Disable the spooler on DCs and servers that don’t print.
Next lesson
Lesson 19: Group Policy basics → You’ll create and link your first GPOs, set a password policy, map drives and deploy Finance-Printer to Finance users with Group Policy Preferences, and learn how processing order works.
Further reading: Windows print server
Want to go deeper into Windows print server? Microsoft’s Add-Printer reference covers the PrintManagement module, and the Print spooler assessment explains why DCs shouldn’t run the spooler. You can also see the full plan for this course on the Windows Server Administration course page.
