What's the most effective means to set-up a customer's printers making use of NETLOGON.bat?
From a set documents :
rundll32 printui.dll,PrintUIEntry /in /n \\server\printer
Here is a full write-up on the use : http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
Additionally, you can install printers via Group Policy if you are making use of Windows XP or later on and also have actually mounted the Group Policy Client Side Preferences on your customers (see kb943729).
If you do not have Windows 2008 domain name controllers, you will certainly require a Vista SP1 customer or Windows 2008 server with RSAT mounted in order to arrangement customer side choices via the Group Policy monitoring console.
With Windows 2000 and also greater, you can make use of a VBScript as the logon manuscript as opposed to simply a set documents. From there, it's really straightforward.
Set objNetwork = CreateObject("WScript.Network") objNetwork.AddWindowsPrinterConnection "\\server\HP LaserJet"
VBScript can additionally take care of regular logon features such as mapping drives and also running programs, in instance you netlogon.bat is additionally doing various other points. Google will certainly show up great deals of web pages aiding with the syntax.