renaming the printer will break the connection from the client. There are a
couple of scripts available that will look for the old server name and
printer, delete the connection, then add the new connection to the machine.
for just the one connection, I suggest the scripts included in XP in
system32 to delete the connection, then add the new. You can set it as
default at the same time. If you set this up as a logon script you need to
run this in user context.
prnmngr -d -p "\\server\printer"
prnmngr -ac -p "\\server\NEWprinter"
cscript %windir%\system32\prnmngr.vbs /?
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Usage: prnmngr [-adxgtl?][c] [-s server][-p printer][-m driver model]
[-r port][-u user name][-w password]
Arguments:
-a - add local printer
-ac - add printer connection
-d - delete printer
-g - get the default printer
-l - list printers
-m - driver model
-p - printer name
-r - port name
-s - server name
-t - set the default printer
-u - user name
-w - password
-x - delete all printers
-xc - delete all printer connections
-xo - delete all local printers
-? - display command usage
Examples:
prnmngr -a -p "printer" -m "driver" -r "lpt1:"
prnmngr -d -p "printer" -s server
prnmngr -ac -p "\\server\printer"
prnmngr -d -p "\\server\printer"
prnmngr -x -s server
prnmngr -xo
prnmngr -l -s server
prnmngr -g
prnmngr -t -p "\\server\printer"
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1
This posting is provided "AS IS" with no warranties, and confers no rights.
"Q" <> wrote in message
news:6983D141-F505-42F6-B42C-...
> Hey everyone, I'm not sure I'm at the right place for this..
>
> Here is my issue.
>
> We have a print server with 23 networked printers. We are relocating a
> computer lab to a different location and the printer that belongs to that
> lab
> is being relocated as well. Our printers are named based on building/room
> number.
>
> My question is, what is the best way "best practice" on renaming the
> printer
> and having all the Windows XP clients (300 of them) updated with the
> updated
> printer name?
>
>
> Thanks
> Quinton