Minot
asked on
2008 Remote Desktop Default Printer
Hi,
I am in the process of upgrading an existing 2003 TS farm to 2008. In 2008 I am using a vbs script to pull the client computer name and use it as a variable to set the default printer on the terminal server. In 2003 this works without issue. The syntax of the command is somewhat like this:
DIM WshNetwork
Set WshNetwork = WScript.CreateObject("WScr ipt.Networ k")
PrinterPath = "Medway"
WshNetwork.SetDefaultPrint er PrinterPath
Under 2008 this script will change the default printer provided that the current default printer is not redirected. If the users printer is a redirected printer from the client machine the printer will not redirect. This is a large issue as these machines are accessed in a hybird environment where if my script does not match a known workstaiton name we want to retain the redirected printer.
Has anyone worked around this issue yet?
I am in the process of upgrading an existing 2003 TS farm to 2008. In 2008 I am using a vbs script to pull the client computer name and use it as a variable to set the default printer on the terminal server. In 2003 this works without issue. The syntax of the command is somewhat like this:
DIM WshNetwork
Set WshNetwork = WScript.CreateObject("WScr
PrinterPath = "Medway"
WshNetwork.SetDefaultPrint
Under 2008 this script will change the default printer provided that the current default printer is not redirected. If the users printer is a redirected printer from the client machine the printer will not redirect. This is a large issue as these machines are accessed in a hybird environment where if my script does not match a known workstaiton name we want to retain the redirected printer.
Has anyone worked around this issue yet?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solution worked, thanks.
ASKER
I will review the printer preference again in GPO but on my last review I did not think that this would solve my issue at this site.