Page 1 of 1

Printer installing quietly via Batch File

Posted: 27 Aug 2010 04:57
by 1cainr
Hello,

I use the following logon script below to delete all current printers on the machine, and then add the following printers. However, for some reason the printers dont install quietly, can anyone help? (The .vbs script is in a temporary location until i find a home for it)

ECHO ON

cscript "C:\Documents and Settings\testuser\Desktop\DeletePrinters.vbs"

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\main01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\poen13-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\eng01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\inte01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\cad01-64

Rundll32 printui.dll,PrintUIEntry /in/q /n\\server1\tech01-64

Rundll32 printui.dll,PrintUIEntry /in /y /q /n\\server1\tech01-64

PAUSE


Thank you,

Richard