Re: Move print queues to new server



Dear Customer,

Thank you for posting here.

According to your description, my understanding is that:

The print queue have been migrated to a new server. Your wonder whether the
users can change their direction to the queues on the new print server to
retain their existing default print queue and how it can be done by script.

If anything is misunderstood, please let me know.

Analysis and Suggestion:
======================

In Windows Server 2003 R2, there is a new Microsoft Management Console
(MMC) Print Management that enables you to install, view, and manage all of
the printers in your organization. It can be used with Group Policy to
automatically add printer connections to a computer's Printers and Faxes
folder.

Scenario A (Windows Server 2003)

1. Create a new group policy object with user logon script for deploying
printers.

2. Create a Visual Basic Script for installing the printer, save it to
SYSVOL script folder and configure it as the user logon script.

Script Template:

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\Server\printer"
WshNetwork.SetDefaultPrinter "\\Server\printer "


Scenario B (Windows Server 2003 R2)

1. In the Print Management Console, right click the shared printer listed
in the printers folder and choose to "Deploy with Group Policy­"

2. In the dialog box, choose a group policy object you want to deploy with
and decide the connection type. For your issue, it should be Per User.

3. Copy pushprintconnections.vbs from "%systemroot%\PMCSnap\" to SYSVOL
script folder, and configure it as the user logon script in that group
policy.

Note:

PushPrinterConnections.vbs runs in the client side is to connect and
disconnect the printer. If you remove the printer connection settings from
the GPO, the PushPrinterConnections.vbs will remove the corresponding
printers from the client computer on the next restart or user logon.

For more reference
=================

How to Add a Default Printer Using a Visual Basic Script
http://support.microsoft.com/kb/263226

How to assign scripts in Windows 2000
http://support.microsoft.com/kb/322241

Step-by-Step Guide for Print Management
http://technet2.microsoft.com/windowsserver/en/library/312b10cb-73ec-40c7-a4
df-63dd7248d93d1033.mspx?mfr=true

Microsoft TechNet Script Center
http://www.microsoft.com/technet/scriptcenter/default.mspx

I hope all the information will be helpful.

Thanks for your time.


David Shen
Microsoft Online Partner Support
Microsoft GTSC

.



Relevant Pages

  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script Runs perfectly fine from the command prompt. ... # This is the main Apache HTTP server configuration file. ... LoadModule actions_module modules/mod_actions.so ...
    (perl.beginners)
  • Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Regarding a selection for mobile code/scripting language
    ... Client Side scripting, so the server can send script commands to the client. ... I decided they should be scripted and mobile code. ...
    (Vuln-Dev)
  • Re: administrator rights reduced
    ... I don't think you are barking up the wrong tree necessarily. ... I have an issue with an 2003 Server Standard server. ... group policy which locks the server down almost completely (when you click on ... A script runs upon logon. ...
    (microsoft.public.windows.group_policy)