+ Post New Thread
Results 1 to 2 of 2
Windows Server 2012 Thread, Mapping Printers - VBS Script - How to Call the script? in Technical; Ok, so I want to look into mapping our printers through a VBS Script (previously used GPP but are having ...
  1. #1

    Join Date
    Jan 2014
    Posts
    34
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Mapping Printers - VBS Script - How to Call the script?

    Ok, so I want to look into mapping our printers through a VBS Script (previously used GPP but are having issues with printers not mapping etc..)
    I have got a very basic script to map printers and this works fine when running it manually - I was just wondering the best way of calling this VBS script through logon? - I want to put the VBS script on the local c drive so that the user who logs on will get the shared printers for that room.
    What is the best way to call this vbs script? can I use Group policy to run this locally based script or would it be better sat on a share?
    How does everyone do this in their environment using VBS scripts?

    Thanks

  2. #2
    sister_annex's Avatar
    Join Date
    Jan 2009
    Location
    Wolverhampton
    Posts
    593
    Thank Post
    99
    Thanked 135 Times in 119 Posts
    Rep Power
    49
    I have attached a copy of our vbs this runs for all users when they log on. It is stored in the netlogon share and is called simply by putting the following in the logon script:

    Code:
    cscript %LOGONSERVER%\netlogon\printers.vbs
    We did try using GPP for printers but found it highly unreliable and in some cases added stupid amounts of time on to the logon.

    That script has some commenting but if it needs more explanation then please let me know
    Attached Files Attached Files

  3. Thanks to sister_annex from:

    bencole (4th July 2014)

SHARE:
+ Post New Thread

Similar Threads

  1. How to call host script or cammand from guest
    By Vanit in forum Thin Client and Virtual Machines
    Replies: 4
    Last Post: 17th December 2010, 11:16 AM
  2. Replies: 7
    Last Post: 16th October 2007, 11:19 AM
  3. Replies: 3
    Last Post: 23rd February 2007, 12:49 PM
  4. DC wipe - how to backup the users / AD etc?
    By tarquel in forum Windows
    Replies: 32
    Last Post: 24th October 2006, 08:53 AM
  5. Replies: 8
    Last Post: 11th April 2006, 11:55 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
  •