Does anyone know how I can silently install/add a print queue to a Windows client? The clients are 32-bit Windows XP connecting to a Windows 2008 R2 print server, and I tried using the following command, but it still pops up a dialog asking the user to browse to the driver files path:
rundll32 printui.dll,PrintUIEntry /in /n\\print-svr\print-queue /f "C:\windows\temp\pcl\hpcu091c.inf"
So of course in this example the I'm trying to install the "\print-svr\print-queue" queue and instruct the client to get its driver for this queue from the following driver file which is present on their system: "C:\windows\temp\pcl\hpcu091c.inf"
I'm pushing this command from an Altiris server, but really this irrelevant since I could recreate the same issue via remote scripting.