+ Post New Thread
Results 1 to 10 of 10
Thin Client and Virtual Machines Thread, Terminal server printing in Technical; Hi, all does anyone have any any vbs scripts that will map network printers from the application compabilty scripts folder ...
  1. #1

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Terminal server printing

    Hi, all does anyone have any any vbs scripts that will map network printers from the application compabilty scripts folder on terminal services?
    I want to map some printers but already use a login script in AD for my fat clients and don't really want to add to it.
    Any help as always hugely appreciated.
    regards
    uraken.

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Terminal server printing

    If you look at my script in the scripts forum, you will find that it works for both fat and thin clients.

  3. #3

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Re: Terminal server printing

    nice one mate which one (give us a clue)

  4. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Terminal server printing

    http://edugeek.net/index.php?name=Fo...iewtopic&t=404 is the link you want... there is also a list of the best scripts at http://edugeek.net/index.php?name=Fo...ewtopic&t=1076

    Hope this helps

  5. #5

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Re: Terminal server printing

    nice one ric this is what i need, but i'm having problems modifying it i want the script to look at clientnames called english* and map a single network printer to it in TS, what bits do i need to get rid of ?
    cheers for your time this far mate.

  6. #6

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Terminal server printing

    There should be a line that reads

    Code:
    Select Case (Left(ComputerName, 4))
    This looks at the first 4 characters of the computername (clientname in the case of thin clients) and then maps the printers accordingly. You could use the following after the Select...

    Code:
    Case "engl"
        WshNetwork.AddWindowsPrinterConnection "\\server\share"
    ...

  7. #7

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Re: Terminal server printing

    thanks ric managed to get it working, all be it running it locally, i had put it in my c:\WINDOWS\Application Compatibility Scripts\Logon folder named printers.vbs but this doesn't work which is odd because all my drive mappings work form here?

  8. #8

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Terminal server printing

    You need to ru nthe script as a logon script (and make sure that the printer drivers are installed first - sometimes this can prevent the mappings working properly).

  9. #9

    Join Date
    Oct 2006
    Location
    uk
    Posts
    494
    Thank Post
    19
    Thanked 3 Times in 2 Posts
    Rep Power
    16

    Re: Terminal server printing

    i don't want to run it as a logon script (i already have a fat client one) but i have it sorted now i have to call it from a script in c:\windows\system32, thanks for all your help i could not have achieved this without your help mate.

  10. #10

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Terminal server printing

    @Uraken: I don't see why you wouldn't want to use one script for both fat and thin clients...

    Anyway... you can set a different logon script in the user properties pages for when they log onto terminal services.

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. Terminal Server CALs
    By Norphy in forum Thin Client and Virtual Machines
    Replies: 2
    Last Post: 2nd July 2007, 09:33 AM
  3. Terminal Server >4GB RAM
    By meastaugh1 in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 18th June 2007, 06:26 PM
  4. Terminal Server
    By wesleyw in forum Thin Client and Virtual Machines
    Replies: 8
    Last Post: 26th February 2007, 01:03 PM
  5. BBC Bitesize on Terminal Server
    By Norphy in forum Thin Client and Virtual Machines
    Replies: 7
    Last Post: 29th November 2006, 03:19 PM

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
  •