I am using
rundll32 printui.dll,PrintUIEntry /q /dn /n\\Printsvr\NetPrint // delete printer
rundll32 printui.dll,PrintUIEntry /q /in /n\\Printsvr\NetPrint // add printer
for managing the available printers on notebooks, as them often are at locations with no access to the home-based printers.
It works well, except one thing that bugs me; despite using the /q(uiet) parameter, on each occassion when installing the printers a "Connecting to..." window pops up until the connection is established.
Any possibility to work around/suppress this?