[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

script to map new printers

Can someone tell me the best way to add new printers? I migrated to new server and have printers set up. I want to have them conenct to the new printers after they reboot.

Thanks,
0
sarasotamac
Asked:
sarasotamac
3 Solutions
 
tburickCommented:
I was able to find this on a google search.  It would give you one centralized location for you to add the new printers, and your users would get these on the next logon.

"Using a logon script on your server gives you control over what happens when each user logs on. Adding a printer to this script makes it easier for your users to access your networked printers since the settings are refreshed on each logon. Modifying a batch script takes some understanding of command line commands, but it only take a few minutes to add a printer."

http://www.ehow.com/how_6956203_add-printer-logon-script.html#ixzz1ov9sm7iX
0
 
bill_lynchCommented:
http://www.computerperformance.co.uk/ezine/ezine16.htm

' Example VBScript to remove a Printer
' Guy Thomas February 2004.
' ******************************
Option Explicit
Dim DelPrint, UNCpath
UNCpath = "\\YourServer\PrinterName"
Set DelPrint = WScript.CreateObject("WScript.Network")
DelPrint.RemovePrinterConnection UNCpath, true, true
WScript.Quit

' End of Example Script to remove printer

Basically what you will want to do is copy this into notepad, insert your old printer into UNCpath, then you'll have an UNCpath2, UNCpath3, depending on how many printers you have.  You will want to use this for both the printers on your old server first, so install all of the printers from your OLD server first then have this script install the the printers from the NEW server and then have the script delete the printers from the old server.  you can also set a default printer with this.
0
 
WebF00LCommented:
If you are running a windows environment i would recommend to deploy them via GPO.

http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/1e32a57c-cf2c-416b-bafd-799418ddb119/

Then you can do GPO per department or floor depending on your AD or group membership.


//WebFooL Untangle Evangelist
0
 
sarasotamacAuthor Commented:
Thanks all!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now