top of page
Search

(46) Intune Win32 Printer Drivers

  • Writer: Mr B SOE way
    Mr B SOE way
  • Mar 16, 2023
  • 1 min read

There are a number of ways to deploy printer drivers, depending on the situation whether it is "Point to Print", "Direct Print" or something else. As part of a current project I have been working for MMD (Microsoft Managed Desktop), to ensure all 64 printers got deployed to the MMD devices, I had to package Printer Drivers as Win32 Apps.


The easiest I did was in this format where:


drivers folder contains all the drivers related for the printer

detect.ps1 will check if Get-PrinterDriver -Name "$DriverName" has been installed as part of the installed

install.ps1 will install the $DriverName = "HP Universal Printing PCL 6", which then runs C:\Windows\System32\pnputil.exe /add-driver followed by Add-PrinterDriver -Name "$DriverName"

remove.ps1 will uninstall or remove $DriverName = "HP Universal Printing PCL 6".

The scripts can be found here: https://github.com/mrbernardmah/intune-printer-drivers










Packaging the app, obtain the packaging tool from here.

This will create the install.intunewin.


Navigating to https://endpoint.microsoft.com then select Add then select Win32 App


Enter the name and description











Install command: powershell.exe -ExecutionPolicy Bypass -File install.ps1

Uninstall command: powershell.exe -ExecutionPolicy Bypass -File remove.ps1












Requirements, select the required.












Detection, upload the detect.ps1











There are no dependencies or supersedence.



 
 
 

Comments


bottom of page