I am running a domain controller and a terminal services box on the same server. I have a VB Script running that maps printers. I run this in under a Group Policy of User Configuration>Windows Settings>Scripts>Logon. This is the script:
Dim multiPrinter, printer1, printer2
printer1 = "\\192.168.1.69\Ogden-HP"
printer2 = "\\192.168.1.196\SmartLab"
Set multiPrinter = CreateObject("WScript.Network")
REM Un-REM The following line to set the Minolta Copier as the user's default printer
REM multiPrinter.SetDefaultPrinter printer1
It give me an error message of the filename directory name syntax is incorrect, but if I run the script manually it maps the printers just fine.
Please Help!! And thanks for any responses in advance!!!!!