• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
HP Recommended

 

What is happening for me is that I'm deploying printers with PowerShell and ThinPrint Mgmt Services cmdlets, and for some reason, when I create a certain configuration of printer, the new printer will use the HP UPD in dynamic mode (I can tell because I'll attempt to view Printer Properties while the script is running and I get the dreaded Dynamic Mode GUI that you can't close out of). This causes the script to take twice as long to create a printer with the ThinPrint cmdlets, and worse, it makes the Set-Printer command take either 2 or 3 minutes instead of 30 seconds to apply certain changes to the printers after they're created. 

 

Since I have 5 print servers, these delays are multiplied by 5 (can't run these commands in parallel mode, unfortunately). This means a single printer will take 12 - 15 minutes to create, instead of the usual 2.5 - 3 minutes, and I'm trying to create ~1200 printers so it is causing me grief. 10 extra minutes per printer, multiply by 1200 printers = 12000 minutes = 600 hours = 25 days. That's 25 days of extra time my script could take due to dynamic mode feeling like it wants to enable. My initial solution is to create printers on 1 server only, then export ThinPrint ports from ThinPrint Engine and import them on other 4 servers, then do the same with Windows' printer export.

 

When installing the HP UPD on my servers, I'm using the install.exe file and choosing Traditional mode.

I have 8 different configs of printers in my PowerShell script. Dynamic mode seems to happen on 2 of the 8 configs, yet everything in these configs is also shared by at least 1 of the other 6 configs. Meaning I can't find any difference in the configs that would cause the HP UPD to use dynamic mode.

 

What I want to do is simply disable dynamic mode at all times. I can run my script and watch it use Traditional mode immediately on most printers, but then it will decide to do dynamic mode out of the blue. If it would just stop doing this, I am pretty sure my script will go back to 3 minutes per printer instead of randomly taking 15.

 

I have a request in with HP support regarding this issue, and will update this thread if I learn anything new.

1 REPLY 1
HP Recommended

Well I reduced my sample of 8 printer creates from taking 52 minutes yesterday to taking only 11 minutes today, with one simple change:

By adding the -asJob parameter to the Set-Printer commands. This causes it to process the commands in their own background thread instead of holding up the script. I was trying to do something similar with workflows and -parallel, but couldn't get it to work. Now I don't need it, hurray! :manlol:

 

I can still see where the dynamic mode HP UPD slows me down, but it's not nearly as bad overall now. Still waiting to see if there is a way to break dynamic mode completely.

Archived This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.