Script Printer deployment
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\"
install /sm172.21.40.10 /n"CSS Lab LaserJet 9000" /q /npf /h /u
net use y: /delete
rmdir /s /q "C:\Temp"