Jump to content

Recommended Posts

Posted

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?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...