hello,
We are having trouble keeping printers mapped on student computers. we have login scripts with
' Windows Logon Script for mapping printers.
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\UNC\UNC"
Set objPrinter = CreateObject("WScript.Network")
objPrinter.SetDefaultPrinter "\\UNC\UNC"
WScript.Quit
that we use, but if the printers are alredy mapped it will give off an error.
so i was just wanting to make a script that checked for 2 network printers and if they were mapped..it would do nothing..and if they wernt they would get mapped
I found mr movie's code for checkin to see if printers are already mapped but there was some group stuff in there too and im really not that far along with vbs to know what was overlapping.
We are having trouble keeping printers mapped on student computers. we have login scripts with
' Windows Logon Script for mapping printers.
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\UNC\UNC"
Set objPrinter = CreateObject("WScript.Network")
objPrinter.SetDefaultPrinter "\\UNC\UNC"
WScript.Quit
that we use, but if the printers are alredy mapped it will give off an error.
so i was just wanting to make a script that checked for 2 network printers and if they were mapped..it would do nothing..and if they wernt they would get mapped
I found mr movie's code for checkin to see if printers are already mapped but there was some group stuff in there too and im really not that far along with vbs to know what was overlapping.