Setting Local Default Terminal Services Printer
I have 2 local printer attached to my machine, LPT2= Sharp printer LPT3= HP Laserjet. When I connect into my windows 2000 terminal server, The HP is ALWAYS the default printer. I can change the default to the Sharp printer, but after signing out of TS and then going back in, the default printer is the HP again.
I found the following article http://www.experts-exchange.com/Operating_Systems/Win2000/Q_20948035.html
which is helpful, but The full printer name can potentially change every time I log on.
Here is the command that I was toying with in a login script:
rundll32 printui.dll,PrintUIEntry /y /n "Sharp/computername/sessio
Both the computername and session# are variables There are about 5 different workstations that will be logging on and up to 10 different sessions on the terminal server. That would be about 50 combinations?
There is probably an easier way of doing this, please help.