agarabaghi Posted May 25, 2012 Posted May 25, 2012 So im a bit confused: If i run this CSS_Lab_Printer.cmd file on my local desktop, the printers install just fine. But if i set it to run during MDT deployment, it errors out during the install. The script calls to download a folder from a network share, and then runs an installer to install and HP LaserJet 9000 using the drivers it pulled from the network. net use y: \\imaging.rollins.edu\REMINST\Images ******** /user:*******\agarabaghi xcopy "y:\Printer" "c:\Temp\LaserJet9000\" cd c:\Temp\LaserJet9000\ install /sm172.21.40.10 /n"CSS Lab LaserJet 9000" /q /npf /h /u net use y: /delete rmdir /s /q "C:\Temp" any clues?
themightymrp Posted May 25, 2012 Posted May 25, 2012 Rather than copying the Printer folder across to the local machine, why not add the folder as an application in MDT and then you should only need the line install /sm172.21.40.10 /n"CSS Lab LaserJet 9000" /q /npf /h /u
agarabaghi Posted May 25, 2012 Author Posted May 25, 2012 add the line in a cmd file in the folder where all the drivers are? then use the cmd /c printer.cmd line in mdt? ill give it a whirl
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