[Last Call] Learn how to a build a cloud-first strategyRegister Now


Redirect Users to new print server

Posted on 2009-04-30
Medium Priority
Last Modified: 2012-06-27
We are Load Balancing 200 printers on Site1 onto 2 servers Server1 & Server2 .

As of now Server1 is having all the 200 printers.

We have a tool called Printer Migrator Utility Tool which will make the Printers to Migrate from one server to another .

We will have them shared on a 50% basis with no issues on 2 servers.

Is there any possible way from the AD end, where we can Re-Direct the Users (who were using the 50% of servers ) to the New Print Server .
Question by:raju1706
  • 3

Expert Comment

ID: 24274563
you can use a login script to remove and redirect which printers they use

replace SERVERNAME AND SHARENAME accordingly
see below

'Login Script begin
Option Explicit
Dim objNetwork, strUNCPrinter, bForce, bUpdateProfile
bForce = "True"
bUpdateProfile = "True"
Set objNetwork = CreateObject("WScript.Network") 
' Section which removes the network printer
objNetwork.RemovePrinterConnection strUNCPrinter, _
bForce, bUpdateProfile
WScript.Echo "Printer Removed: " & strUNCPrinter
' Logon Script ends here 

Open in new window


Expert Comment

ID: 24274571
Oh this is a .vbs  script.

Accepted Solution

TonySt earned 2000 total points
ID: 24274606
and this .vbs script is to add the other printer
' Begin Windows add printer script
Option Explicit
Dim objNetwork, strUNCPrinter
Set objNetwork = CreateObject("WScript.Network") 
objNetwork.AddWindowsPrinterConnection strUNCPrinter
WScript.Echo "Printer Has Been Configured : " & strUNCPrinter
' End Windows add printer script.

Open in new window


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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question