Hi all,
Hope someone can help with this as its driving me crazy.
We have a Windows 7 vanilla network mapping printers via a logon script, even though it’s stated in the script to remove all printers before it adds another it only works when we manually run it, seems to half run when used as a logon script.
For i = 0 to Printers.Count - 1 Step 2
If Left(ucase(Printers.Item(i+1)),2) = "\\" Then
' WScript.Echo Printers.Item(i+1)
WSHNetwork.RemovePrinterConnection Printers.Item(i+1)
End IF
Next
csname = left(cname,3)
'msgbox csname
mylprinter = ""
Select Case csname
case "LRC", "LRS"
myprinter = “\\printserver\LRC-Kyocera”
So after the users log on to a few different areas they have a bloated choice of printers but the scripted printer for the area is defaulted.
The printers are stored in the profiles, if we reset them printers disappear but they start collecting again. We have followed the best practices for printers and GPO profiles and redirections.
Thinking about using the GPO way via users as it allows you to add a remove all option followed by add printer, but am expecting that to accumulate printers in the same way.
Any help appreciated.
Thanks