Installing Printers via batch file (on floppy?)

  • Thread starter Thread starter David Owens
  • Start date Start date
D

David Owens

Hello,

I have been given the fun task of installing 4 different printers onto
around 70 Windows 2000 machines.

I do not have any access to any login scripts and so the only way I
can install them at present is to goto the machine, ask the user to
close all programs and log out, re-login as admin and install the
printers manually.

Is their any way that I can simply run a batch file (or similar) with
the user logged in that, when run, logs in as admin (with 'runas'
maybe?), installs the necessary files and configures the printers
appropriately?

Any help would be much appreciated,

Many thanks,
Dave.
 
If you are using nt based systems you can use vb script

Paste this into a txt file and change extension to .vbs

simply click on it to run

You can also run these files on startup

You will also need the scripting host 5.6 installed

see link
http://search.microsoft.com/search/results.aspx?
st=b&qu=wsh&view=en-us

hope this help

steven
Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\server\printer"
WshNetwork.AddWindowsPrinterConnection PrinterPath
WshNetwork.setDefaultPrinter PrinterPa
 
Back
Top