Adding printers on Windows sucks. prinstall fixes it.

One command. The right vendor driver, pulled from the Microsoft Update Catalog. Installed.

Paste into an admin PowerShell:

iwr -useb https://raw.githubusercontent.com/limehawk/prinstall/main/scripts/prinstall_setup.ps1 | iex

What it does

Built for MSP technicians running it locally or through RMM remote shells.

01Multi-method discovery

TCP port probe, IPP, SNMP, and local Get-Printer all in one parallel pipeline. Works even on printers that have SNMP disabled.

02Deterministic driver matching

Scrapes the Microsoft Update Catalog, downloads the candidate driver, parses the INF, and confirms a 1284_CID_* hardware-ID match before installing. No guessing.

03Network + USB printers

One binary handles both install paths. USB printers hot-swap their driver via Set-Printer without re-creating the queue.

04Clean remove

Queue → driver → port cleanup with spooler-lag retry and driver-store package removal. No orphaned ports, no dead drivers cluttering Print Server Properties.

05Scriptable CLI

Pipe --json to jq for RMM automation. Plain text output for humans, structured JSON for scripts, semantic coloring that respects NO_COLOR.

06Readable errors

PowerShell stderr is parsed and HRESULT-decoded before you see it. No more drowning in CategoryInfo and FullyQualifiedErrorId noise.

It walks a six-tier cascade — local driver store, bundled packs, manufacturer download, Microsoft Update Catalog, SDI Origin driver packs, and IPP Class Driver fallback — and it will not give up before you do. If one source fails, it tries the next. Then the next. Then the next.

Watch it work

prinstall add 10.10.20.16 · real terminal output

PS> prinstall add 10.10.20.16
━━ Discovery ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SNMP → Brother MFC-L2750DW series
IPP → Brother MFC-L2750DW series (CID confirmed)
DID Brother MFC-L2750DW series
━━ Driver Resolution ━━━━━━━━━━━━━━━━━━━━━━━━━
Manufacturer ✗ install failed
▸ Catalog ★ Brother Laser Type1 Class Driver
━━ Install ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Port IP_10.10.20.16 ✓
Driver Brother Laser Type1 Class Driver ✓
Queue Brother MFC-L2750DW series ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Installed in 10.5s via Microsoft Update Catalog
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Printer installed successfully!
Name: Brother MFC-L2750DW series
Driver: Brother Laser Type1 Class Driver
Port: IP_10.10.20.16

Six tiers, one command

prinstall add walks the pipeline in priority order — only escalates when the previous tier comes up empty.

  1. TIER 01

    Local driver store

    Reuse what's already installed. No network, no side effects. Instant.

  2. TIER 02

    Local bundle

    Drop extracted vendor packs in drivers\ next to prinstall.exe (or set PRINSTALL_BUNDLE_DIR) and the bundle tier finds them by HWID. Run prinstall driver init to create that folder. Sibling folders next to the exe are not scanned. Same .cat signature gate as every other tier.

  3. TIER 03

    Manufacturer download

    Pull from the embedded URL manifest — HP, Xerox, and Kyocera have stable direct links. More vendors coming.

  4. TIER 04

    Update Catalog + INF HWID

    Search by IPP CID, download a candidate CAB, parse the INF, match the synthesized hardware ID. Deterministic.

  5. TIER 05

    SDI Origin driver packs

    Search SDIO's printer driver pack index by hardware ID. Covers Brother, Canon, Epson, Ricoh, and every other vendor SDIO carries — the brands the Update Catalog often misses. Every pack's .cat Authenticode signature is verified against Microsoft's certificate chain before install.

  6. TIER 06

    IPP Class Driver

    The always-works safety net for any printer that speaks IPP Everywhere (Windows 8+).

Every command, at a glance

Each subcommand has its own --help. Global flags --json, --verbose, --community, --force work everywhere.

01Discovery

prinstall scan [SUBNET] — TCP + IPP + SNMP + mDNS in parallel.
prinstall id <IP> — identify one host via SNMP.
Flags: --method (all/snmp/port/mdns), --timeout, --network-only, --usb-only.

02Install & remove

prinstall add <IP> — network install, full pipeline cascade.
prinstall add <QUEUE> --usb — swap driver on a USB printer.
prinstall remove <IP|QUEUE> — queue + driver + port cleanup.
prinstall list — every queue Windows knows about.

03Driver management

prinstall driver add <PATH|model> — stage from INF folder, INF file, or model string.
prinstall driver remove <name|fuzzy> — unstage; --force cascades dependent queues.
prinstall driver list — every staged driver, no admin needed.
prinstall driver show <IP> — ranked match candidates for a printer.

04SDI cache

prinstall sdi refresh — pull the latest pack index.
prinstall sdi prefetch — download every printer pack (~1.5 GB, one time).
prinstall sdi verify — Authenticode-check every cached .cat.
prinstall sdi status / list / clean — inspect, list, LRU-prune.

05Self-bootstrap

prinstall setup install — copies the exe to C:\ProgramData\prinstall\, adds that dir to Machine PATH, and opens UDP 5353 in Windows Firewall for mDNS discovery.
prinstall setup uninstall — reverses all three. Idempotent.
Run from a copy outside the install dir so uninstall doesn't hit the running-exe file lock.

Roadmap

What's next — loosely ordered, priority shifts based on what MSPs actually hit in the field.

01prinstall health <ip>

SNMP Printer MIB query for toner level, drum life, paper tray status, and error state. One --json per machine and the RMM knows which printers need attention before the ticket lands.

02Printer defaults at install

Duplex, color/mono, paper size, and set-as-default via Set-PrintConfiguration during add, so the printer shows up ready-to-use instead of needing a second pass.

03Batch install mode

One command, multiple IPs. Parallel driver matching across every printer on a site, JSON results per target, one invocation per site visit instead of one per printer.

04Signed binary

SignPath.io code signing so Windows SmartScreen stops warning on download. MSP deployment gets a lot friendlier when the tech doesn't have to click "Run anyway" every time.

Built for the field, built in the open

prinstall is an open-source project built by MSP techs, for MSP techs. Every feature comes from real pain in the field — printers that won't install, drivers that don't match, spoolers that crash at the worst possible moment. If you've been there, you can help make it better. Star the repo, open an issue, or ship a PR.

Contribute on GitHub →

Install

Single binary. Drop it on PATH and go.

  1. Grab the latest release and drop it in the current directory:

    iwr https://github.com/limehawk/prinstall/releases/latest/download/prinstall.exe -OutFile prinstall.exe
    Or install to a canonical location and add to PATH:
    iwr -useb https://raw.githubusercontent.com/limehawk/prinstall/main/scripts/prinstall_setup.ps1 | iex
  2. Scan your subnet for printers:

    .\prinstall.exe scan
  3. Add one:

    .\prinstall.exe add 192.168.1.47
  4. Print the command list:

    .\prinstall.exe --help