+ Post New Thread
Results 1 to 13 of 13
Thin Client and Virtual Machines Thread, Eliminating Printer "sessions" on W2k3 Terminal Server in Technical; Problem: As users connect to my W2k3 to use Office or other application and they print (T-Svr has no printers ...
  1. #1

    Join Date
    Oct 2006
    Location
    Ohio USA
    Posts
    14
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Eliminating Printer "sessions" on W2k3 Terminal Server

    Problem: As users connect to my W2k3 to use Office or other application and they print (T-Svr has no printers installed - users access printer through scripted during logon). Once the user disconnects from T-Svr, the "printer session" remains in the "printers and Faxes" folder and after a period of time, quite a few "printer sessions" accumulate (session numbers sometimes are in the thousands although I know there are not that many during a typical day). Is there a way to automatically remove these sessions when the user disconnects from the T-svr? (I already have "delprof" running at end of each day). Any suggestions would be appreciated. :?

  2. #2
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Eliminating Printer "sessions" on W2k3 Terminal Server

    If you can script them in at logon, then why not script them out at logoff?

  3. #3

    Join Date
    Oct 2006
    Location
    Ohio USA
    Posts
    14
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Eliminating Printer "sessions" on W2k3 Terminal Server

    Thx for your response. I'm not very good yet at scripting (logon script used was given to me), so what would I write as my script or what would I need to add/change in the logon script as to the printer. Also, a user does not "log off" the T-svr, but connects/disconnects from it via a remote connection icon and I'm somewhat unsure if the logon/logoff scripting that takes place when a user logs onto a client machine applies when they connect to the T-svr. Guide me....

  4. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,599
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181

    Re: Eliminating Printer "sessions" on W2k3 Terminal Server

    Check out my script at http://edugeek.net/index.php?name=Fo...iewtopic&t=404 - this takes into account Terminal Services and works like a dream

    Also make sure that you disable 'Windows printer mapping' in the RDP-Tcp Properties of the Terminal Services Configuration MMC.

  5. #5

    Join Date
    Jan 2008
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    link doesnt work

    humm that link doesnt go anywhere but the front page of the forums for me, any chance of a new one please.

    D.W

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

  7. #7

    Join Date
    Jan 2008
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    thx

    thx much appreciated

  8. #8

    Join Date
    Jan 2008
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    another question

    Just really a quickie, why do they remain in the printer list after the user has logged off and logged back on again?

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,599
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    Quote Originally Posted by 11thsignal View Post
    Just really a quickie, why do they remain in the printer list after the user has logged off and logged back on again?
    Printer connections are a per-user setting and as such are stored in the user's profile. This profile is reloaded the next time they log on and, hey presto, the printer sessions return.

  10. #10

    Join Date
    Jan 2008
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    cheers,

    I know I'm being stupid here but I understand that with the printers that you have specified but why do the printers like (HPlaserjet 1085 (from penguins laptop) in session 24 appear?

  11. #11

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    10,464
    Thank Post
    605
    Thanked 2,186 Times in 1,004 Posts
    Blog Entries
    23
    Rep Power
    632
    Quote Originally Posted by 11thsignal View Post
    I know I'm being stupid here but I understand that with the printers that you have specified but why do the printers like (HPlaserjet 1085 (from penguins laptop) in session 24 appear?
    Are you a scaley?

  12. #12

    Join Date
    Jan 2008
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    lol

    lol, it's been awhile since I've been called that but yes I used to be a scaley.

  13. #13

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,599
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    Quote Originally Posted by 11thsignal View Post
    I know I'm being stupid here but I understand that with the printers that you have specified but why do the printers like (HPlaserjet 1085 (from penguins laptop) in session 24 appear?
    AFAIK, these should disappear automatically at log off or when the session is reset.

    It may also be worth preventing printer mapping in Terminal Services Configutration. If you have Citrix you need to do it through there too. Use my script from the wiki and all will be well

SHARE:
+ Post New Thread

Similar Threads

  1. MS Terminal Server Sessions
    By Jonny_sims in forum Thin Client and Virtual Machines
    Replies: 6
    Last Post: 12th May 2010, 11:30 PM
  2. Fix or disable XP Pro "logon to box" on 2003 Server network
    By tazz in forum How do you do....it?
    Replies: 2
    Last Post: 29th August 2007, 03:15 PM
  3. Replies: 0
    Last Post: 8th February 2007, 03:58 PM
  4. Replies: 6
    Last Post: 28th September 2006, 07:06 PM
  5. vmware or spare harddisks for "occasional" server?
    By pete in forum Thin Client and Virtual Machines
    Replies: 10
    Last Post: 6th July 2006, 07:58 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •