Re: I can't install printers.
You don't want to hear this, I'm afraid.
From
http://ts.veranoest.net/ts_faq_printing.htm#sessionid_in_printernam
e
Q: Can I remove the session number from the redirected printer
name?
A: In theory: yes, you can remove the session id from the
redirected printer name by using the "RenamePrinter" method of the
Win32_Printer WMI Class to rename the printer with a script.
But in practice: no, this won't work, because you need to have
Administrative rights to rename the redirected printer.
And before you ask it: no, it is not possible to assign a fixed
session id to a specific user or client.
The usual reason for wanting to remove the session id from the
printer name is that a specific application needs it. If that's
also your problem, the best way to solve it is to make sure that
the application uses the GetDefaultPrinter function. This will
retrieve the default printer in the session, irrespective of the
changing session id.
GetDefaultPrinter
http://msdn2.microsoft.com/en-us/library/ms535475.aspx
Win32_Printer WMI Class
http://msdn2.microsoft.com/en-us/library/aa394363.aspx
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting:
http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
"Guillermo Martin" <pcencasa@hotmail.com> wrote on 13 jul 2007 in
microsoft.public.windows.terminal_services:
> ..Hi! Some ideas?!!?
> Guille
>
> "Guillermo Martin" <pcencasa@hotmail.com> escribió en el mensaje
> news:u79eBd#wHHA.4352@TK2MSFTNGP05.phx.gbl...
>> Jeff
>> We have a Administrative program that need print config
>> internally. I
> chose
>> a printer and I configure it in this program.
>> If the name of the printer change (remember /sesionxx) this
>> program
> doesn't
>> know where is the printer.
>> I have a script to rename the printer in windows 2000, and it
>> work fine,
> but
>> since I migrate all to Windows 2003 I can't rename it because I
>> don't have permissions.
>>
>> Thank You!
>> Guille
>>
>>
>>
>> "Jeff Pitsch" <Jeff@Jeffpitschconsulting.com> escribió en el
>> mensaje news:#x2dQS9wHHA.4332@TK2MSFTNGP06.phx.gbl...
>> > May I ask why they need to rename a printer? If they need a
>> > printer outside the autocreation method, you could try login
>> > scripts.
>> >
>> > Guillermo Martin wrote:
>> > > Jeff:
>> > > Ok, but when I login into terminal with Administrator
>> > > password I
> can't
>> > > rename a printer... Why?
>> > > I need that some users can be able to rename printer, how I
>> > > can do
> this?
>> > > Thank you,
>> > > Guille
>> > >
>> > > "Jeff Pitsch" <Jeff@Jeffpitschconsulting.com> escribió en
>> > > el mensaje news:upnQ7UywHHA.4588@TK2MSFTNGP05.phx.gbl...
>> > >> This isn't what you want to hear but you never want to
>> > >> allow users to install printers onto a terminal server.
>> > >> The #1 issue with terminal services are bad print drivers.
>> > >> Unless you have fully tested each
> and
>> > >> every print driver in your organization and have blessed
>> > >> them as compatible, you will only hurt yourself by
>> > >> allowing users to map
> their
>> > >> own printers.
>> > >>
>> > >> Jeff Pitsch
>> > >> Microsoft MVP - Terminal Server
>> > >> Citrix Technology Professional
>> > >> Provision Networks VIP
>> > >>
>> > >> Forums not enough?
>> > >> Get support from the experts at your business
>> > >> http://jeffpitschconsulting.com
>> > >>
>> > >> guillemartin@gmail.com wrote:
>> > >>> Hello.!
>> > >>>
>> > >>> I have a windows 2003 server (dns server)
>> > >>> I have a Windows 2000 server with terminal server too.
>> > >>> (this server
> is
>> > >>> part
>> > >>> of my domain).
>> > >>>
>> > >>> When I log in with a user of the domain, I try to install
>> > >>> a local printer in
>> > >>> windows 2000 the option it's dissable or if i try to
>> > >>> connect to a printer
>> > >>> shared by other computer, say that I can't because I
>> > >>> don't have permises to
>> > >>> do this. But I login with a admin account of the domain i
>> > >>> don't have any
>> > >>> problem.
>> > >>>
>> > >>> Any idea???
>> > >>>
>> > >>> Thanks