To install printers on student laptops (not on domain) the START command works best:
echo Starting printer install....
start \\printers.cua.edu\LAW150_HP4000
This will just like manual install, and will generate Windows Security popup, student must put in user name preceded by domain, and then password:
DOMAIN\userName
This will save name/password in Credentials Manager.
To install via Visual basic, computer must be on the domain:
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\printers.cua.edu\LAW400_HP9000"
No comments:
Post a Comment