amoss24 Posted April 26, 2006 Share Posted April 26, 2006 During my unattended install i want to add a set of default network printers using a batch file.I can install them using the commands below, they show up as online and i can print after the installation, but once i re-boot the computer the printers loose the network connection show up as offline and i cant print to them.Can anyone help.......batch file>>>>>>@Echo offEcho Installing Default PrintersEcho Accessing Print Servernet use /user:domain\username \\PrintServer password /persistent:NOEcho Installing Printer onestart /wait RUNDLL32 PRINTUI.DLL,PrintUIEntry /ga /if /b "Printer One" /f %windir% \inf\ntprint.inf /r "\\PrintServer\PrinterOne" /m "HP LaserJet 5000 Series PCL6"Echo Installing Printer twostart /wait RUNDLL32 PRINTUI.DLL,PrintUIEntry /ga /if /b "Printer Two" /f %windir%\inf\ntprint.inf /r "\\PrintServer\PrinterTwo" /m "HP LaserJet 5MP" Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted April 26, 2006 Share Posted April 26, 2006 Why don't you use a logon script to connect the printers? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now