Forum Discussion

jakeraff-collaw's avatar
jakeraff-collaw
Copper Contributor
Aug 23, 2026

Deploy Universal Print printers to users through PowerShell?

Hi all, we're currently using PrinterLogic to manage printers for users and we're hoping to move to Universal Print. 

Ideally, we'd like a seamless one-to-one transition, meaning that each PrinterLogic printer is silently replaced with the equivalent Universal Print (UP) printer. My instinct was to use a PowerShell script deployed through Intune as it can foreach through the user's printers, remove them, look up the relevant UP printer's details, and install it. 

The problem I've run into is that there doesn't seem to be a way to install available UP printers through PowerShell. I've tried adding the entries manually to the registry, sending arguments to the UPPrinterInstaller executable directly, and even attempted to feed the raw SyncML XML payload straight into the OMADM local execution engine. None of these things have worked, so I'm reaching out to the community to see if any of you have a solution.

1 Reply

  • jakeraff-collaw's avatar
    jakeraff-collaw
    Copper Contributor

    I found a solution to this. I used procmon to watch UPPrinterInstaller.exe to work out exactly what it was doing. 

    First, you need to create a registry key named after the Share ID of the printer share you want to install:
    HKCU\Software\Microsoft\PrinterProvisioning\UPPrinterInstalls\<Share ID>

    Add the following values:

    CloudDeviceId = <Printer ID>
    PrinterSharedName = <Printer Share Name>
    ErrorCode = 0
    Install = ""
    Status = 8

     

    Next, run the UP installer from C:\Windows\System32\upprinterinstaller.exe with the following arguments:

    -install
    -printersharedid <Share ID>
    -usersid <User SID>
    -omadmaccountid <MDM/Intune Account ID, sourced from HKLM\SOFTWARE\Microsoft\Enrollments>
    -correlationid <randomly generate a GUID>