Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Migration > Remap client printers after migrating to new print server

Reply
Thread Tools Display Modes

Remap client printers after migrating to new print server

 
 
Gaza
Guest
Posts: n/a

 
      11-22-2007
We have consolidated 3 print servers into one and before switching off the
old print servers we need to remap the client machines to the new server.

In the days of NT4 we used the tool CHGPRINT.exe to do this, which worked a
treat. Anyone know of a tool/script that will run as part of logon script,
search the clients list of connected printers, remap the printer to a
different server and possibly different sharename.

I have tried running chgprint.exe but does not appear to work under W2k3 R2
Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175 printers.

thanks in advance,
 
Reply With Quote
 
 
 
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      11-22-2007
Hello,

I am providing a vbscript on my blog do to this:
http://lordoftheping.blogspot.com/20...er-server.html


--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"Gaza" <> wrote in message
news:1A5E85D5-38BF-4ABE-83C5-...
> We have consolidated 3 print servers into one and before switching off the
> old print servers we need to remap the client machines to the new server.
>
> In the days of NT4 we used the tool CHGPRINT.exe to do this, which worked
> a
> treat. Anyone know of a tool/script that will run as part of logon
> script,
> search the clients list of connected printers, remap the printer to a
> different server and possibly different sharename.
>
> I have tried running chgprint.exe but does not appear to work under W2k3
> R2
> Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
> printers.
>
> thanks in advance,


 
Reply With Quote
 
Gaza
Guest
Posts: n/a

 
      11-22-2007
A nice addition to your script would be to allow for the printer share name
changing too. The old chgprint.exe tool read a list of old
\\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.

As we are also moving from 3 servers to one, and at the same time changing
the printer name standard, the above feature would be beneficial.

regards,
Gary

"Mathieu CHATEAU" wrote:

> Hello,
>
> I am providing a vbscript on my blog do to this:
> http://lordoftheping.blogspot.com/20...er-server.html
>
>
> --
> Cordialement,
> Mathieu CHATEAU
> English blog: http://lordoftheping.blogspot.com
> French blog: http://www.lotp.fr
>
>
> "Gaza" <> wrote in message
> news:1A5E85D5-38BF-4ABE-83C5-...
> > We have consolidated 3 print servers into one and before switching off the
> > old print servers we need to remap the client machines to the new server.
> >
> > In the days of NT4 we used the tool CHGPRINT.exe to do this, which worked
> > a
> > treat. Anyone know of a tool/script that will run as part of logon
> > script,
> > search the clients list of connected printers, remap the printer to a
> > different server and possibly different sharename.
> >
> > I have tried running chgprint.exe but does not appear to work under W2k3
> > R2
> > Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
> > printers.
> >
> > thanks in advance,

>
>

 
Reply With Quote
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      11-22-2007
the original one does it, i will include it back after some cleaning

are you in a hurry ?

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"Gaza" <> wrote in message
news:8461B149-F0F5-4CDC-858D-...
>A nice addition to your script would be to allow for the printer share name
> changing too. The old chgprint.exe tool read a list of old
> \\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.
>
> As we are also moving from 3 servers to one, and at the same time changing
> the printer name standard, the above feature would be beneficial.
>
> regards,
> Gary
>
> "Mathieu CHATEAU" wrote:
>
>> Hello,
>>
>> I am providing a vbscript on my blog do to this:
>> http://lordoftheping.blogspot.com/20...er-server.html
>>
>>
>> --
>> Cordialement,
>> Mathieu CHATEAU
>> English blog: http://lordoftheping.blogspot.com
>> French blog: http://www.lotp.fr
>>
>>
>> "Gaza" <> wrote in message
>> news:1A5E85D5-38BF-4ABE-83C5-...
>> > We have consolidated 3 print servers into one and before switching off
>> > the
>> > old print servers we need to remap the client machines to the new
>> > server.
>> >
>> > In the days of NT4 we used the tool CHGPRINT.exe to do this, which
>> > worked
>> > a
>> > treat. Anyone know of a tool/script that will run as part of logon
>> > script,
>> > search the clients list of connected printers, remap the printer to a
>> > different server and possibly different sharename.
>> >
>> > I have tried running chgprint.exe but does not appear to work under
>> > W2k3
>> > R2
>> > Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
>> > printers.
>> >
>> > thanks in advance,

>>
>>


 
Reply With Quote
 
Gaza
Guest
Posts: n/a

 
      11-23-2007

Change over is planned for next week .. if you could do this, then that
would be great.

regards,
Gary

"Mathieu CHATEAU" wrote:

> the original one does it, i will include it back after some cleaning
>
> are you in a hurry ?
>
> --
> Cordialement,
> Mathieu CHATEAU
> English blog: http://lordoftheping.blogspot.com
> French blog: http://www.lotp.fr
>
>
> "Gaza" <> wrote in message
> news:8461B149-F0F5-4CDC-858D-...
> >A nice addition to your script would be to allow for the printer share name
> > changing too. The old chgprint.exe tool read a list of old
> > \\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.
> >
> > As we are also moving from 3 servers to one, and at the same time changing
> > the printer name standard, the above feature would be beneficial.
> >
> > regards,
> > Gary
> >
> > "Mathieu CHATEAU" wrote:
> >
> >> Hello,
> >>
> >> I am providing a vbscript on my blog do to this:
> >> http://lordoftheping.blogspot.com/20...er-server.html
> >>
> >>
> >> --
> >> Cordialement,
> >> Mathieu CHATEAU
> >> English blog: http://lordoftheping.blogspot.com
> >> French blog: http://www.lotp.fr
> >>
> >>
> >> "Gaza" <> wrote in message
> >> news:1A5E85D5-38BF-4ABE-83C5-...
> >> > We have consolidated 3 print servers into one and before switching off
> >> > the
> >> > old print servers we need to remap the client machines to the new
> >> > server.
> >> >
> >> > In the days of NT4 we used the tool CHGPRINT.exe to do this, which
> >> > worked
> >> > a
> >> > treat. Anyone know of a tool/script that will run as part of logon
> >> > script,
> >> > search the clients list of connected printers, remap the printer to a
> >> > different server and possibly different sharename.
> >> >
> >> > I have tried running chgprint.exe but does not appear to work under
> >> > W2k3
> >> > R2
> >> > Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
> >> > printers.
> >> >
> >> > thanks in advance,
> >>
> >>

>
>

 
Reply With Quote
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      11-23-2007
ok it would be ready soon

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"Gaza" <> wrote in message
news:F8ADAB5D-D2CF-4D0D-AF07-...
>
> Change over is planned for next week .. if you could do this, then that
> would be great.
>
> regards,
> Gary
>
> "Mathieu CHATEAU" wrote:
>
>> the original one does it, i will include it back after some cleaning
>>
>> are you in a hurry ?
>>
>> --
>> Cordialement,
>> Mathieu CHATEAU
>> English blog: http://lordoftheping.blogspot.com
>> French blog: http://www.lotp.fr
>>
>>
>> "Gaza" <> wrote in message
>> news:8461B149-F0F5-4CDC-858D-...
>> >A nice addition to your script would be to allow for the printer share
>> >name
>> > changing too. The old chgprint.exe tool read a list of old
>> > \\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.
>> >
>> > As we are also moving from 3 servers to one, and at the same time
>> > changing
>> > the printer name standard, the above feature would be beneficial.
>> >
>> > regards,
>> > Gary
>> >
>> > "Mathieu CHATEAU" wrote:
>> >
>> >> Hello,
>> >>
>> >> I am providing a vbscript on my blog do to this:
>> >> http://lordoftheping.blogspot.com/20...er-server.html
>> >>
>> >>
>> >> --
>> >> Cordialement,
>> >> Mathieu CHATEAU
>> >> English blog: http://lordoftheping.blogspot.com
>> >> French blog: http://www.lotp.fr
>> >>
>> >>
>> >> "Gaza" <> wrote in message
>> >> news:1A5E85D5-38BF-4ABE-83C5-...
>> >> > We have consolidated 3 print servers into one and before switching
>> >> > off
>> >> > the
>> >> > old print servers we need to remap the client machines to the new
>> >> > server.
>> >> >
>> >> > In the days of NT4 we used the tool CHGPRINT.exe to do this, which
>> >> > worked
>> >> > a
>> >> > treat. Anyone know of a tool/script that will run as part of logon
>> >> > script,
>> >> > search the clients list of connected printers, remap the printer to
>> >> > a
>> >> > different server and possibly different sharename.
>> >> >
>> >> > I have tried running chgprint.exe but does not appear to work under
>> >> > W2k3
>> >> > R2
>> >> > Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
>> >> > printers.
>> >> >
>> >> > thanks in advance,
>> >>
>> >>

>>
>>


 
Reply With Quote
 
Gaza
Guest
Posts: n/a

 
      11-23-2007
Mathieu,

I have managed to get "chgprint.exe" to work. The printer definition on the
client were using fully qualified domain name for the old servers.

However, your script is still very useful as chgprint gives no logging or
error detection.

thanks,
Gary

"Mathieu CHATEAU" wrote:

> ok it would be ready soon
>
> --
> Cordialement,
> Mathieu CHATEAU
> English blog: http://lordoftheping.blogspot.com
> French blog: http://www.lotp.fr
>
>
> "Gaza" <> wrote in message
> news:F8ADAB5D-D2CF-4D0D-AF07-...
> >
> > Change over is planned for next week .. if you could do this, then that
> > would be great.
> >
> > regards,
> > Gary
> >
> > "Mathieu CHATEAU" wrote:
> >
> >> the original one does it, i will include it back after some cleaning
> >>
> >> are you in a hurry ?
> >>
> >> --
> >> Cordialement,
> >> Mathieu CHATEAU
> >> English blog: http://lordoftheping.blogspot.com
> >> French blog: http://www.lotp.fr
> >>
> >>
> >> "Gaza" <> wrote in message
> >> news:8461B149-F0F5-4CDC-858D-...
> >> >A nice addition to your script would be to allow for the printer share
> >> >name
> >> > changing too. The old chgprint.exe tool read a list of old
> >> > \\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.
> >> >
> >> > As we are also moving from 3 servers to one, and at the same time
> >> > changing
> >> > the printer name standard, the above feature would be beneficial.
> >> >
> >> > regards,
> >> > Gary
> >> >
> >> > "Mathieu CHATEAU" wrote:
> >> >
> >> >> Hello,
> >> >>
> >> >> I am providing a vbscript on my blog do to this:
> >> >> http://lordoftheping.blogspot.com/20...er-server.html
> >> >>
> >> >>
> >> >> --
> >> >> Cordialement,
> >> >> Mathieu CHATEAU
> >> >> English blog: http://lordoftheping.blogspot.com
> >> >> French blog: http://www.lotp.fr
> >> >>
> >> >>
> >> >> "Gaza" <> wrote in message
> >> >> news:1A5E85D5-38BF-4ABE-83C5-...
> >> >> > We have consolidated 3 print servers into one and before switching
> >> >> > off
> >> >> > the
> >> >> > old print servers we need to remap the client machines to the new
> >> >> > server.
> >> >> >
> >> >> > In the days of NT4 we used the tool CHGPRINT.exe to do this, which
> >> >> > worked
> >> >> > a
> >> >> > treat. Anyone know of a tool/script that will run as part of logon
> >> >> > script,
> >> >> > search the clients list of connected printers, remap the printer to
> >> >> > a
> >> >> > different server and possibly different sharename.
> >> >> >
> >> >> > I have tried running chgprint.exe but does not appear to work under
> >> >> > W2k3
> >> >> > R2
> >> >> > Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175
> >> >> > printers.
> >> >> >
> >> >> > thanks in advance,
> >> >>
> >> >>
> >>
> >>

>
>

 
Reply With Quote
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      11-27-2007
Hello,

here is the updated script version:
http://gollum123.free.fr/printermigrator.vbs


Now you have to set:
-A folder where a log per username is created:
Set objFile = objFSO.CreateTextFile ("\\fileserver\Logs\printers\" &
UserName & ".log")

-The new print server name in this file
Set objFileServer = objFSO.OpenTextFile (LogonServer &
"\netlogon\printers\default.txt", ForReading)

-A CSV for changing printer name:
Set objfiletable = objFSO.OpenTextFile (LogonServer &
"\netlogon\printers\Convtable.txt", ForReading)
syntax is :
oldname;newname
--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


<> wrote in message
news:32ed377d-7237-43e2-bca3-...
> On Nov 23, 1:33 pm, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>> ok it would be ready soon
>>
>> --
>> Cordialement,
>> Mathieu CHATEAU
>> English blog:http://lordoftheping.blogspot.com
>> French blog:http://www.lotp.fr
>>
>> "Gaza" <G...@discussions.microsoft.com> wrote in message
>>
>> news:F8ADAB5D-D2CF-4D0D-AF07-...
>>
>>
>>
>>
>>
>> > Change over is planned for next week .. if you could do this, then
>> > that
>> > would be great.

>>
>> > regards,
>> > Gary

>>
>> > "Mathieu CHATEAU" wrote:

>>
>> >> the original one does it, i will include it back after some cleaning

>>
>> >> are you in a hurry ?

>>
>> >> --
>> >> Cordialement,
>> >> Mathieu CHATEAU
>> >> English blog:http://lordoftheping.blogspot.com
>> >> French blog:http://www.lotp.fr

>>
>> >> "Gaza" <G...@discussions.microsoft.com> wrote in message
>> >>news:8461B149-F0F5-4CDC-858D-...
>> >> >A nice addition to your script would be to allow for the printer
>> >> >share
>> >> >name
>> >> > changing too. The old chgprint.exe tool read a list of old
>> >> > \\printoldsrv\prshare1 tonew\\printnewsrv\prshare99 from a text
>> >> > file.

>>
>> >> > As we are also moving from 3 servers to one, and at the same time
>> >> > changing
>> >> > the printer name standard, the above feature would be beneficial.

>>
>> >> > regards,
>> >> > Gary

>>
>> >> > "Mathieu CHATEAU" wrote:

>>
>> >> >> Hello,

>>
>> >> >> I am providing a vbscript on my blog do to this:
>> >> >>http://lordoftheping.blogspot.com/20...hange-printer-...

>>
>> >> >> --
>> >> >> Cordialement,
>> >> >> Mathieu CHATEAU
>> >> >> English blog:http://lordoftheping.blogspot.com
>> >> >> French blog:http://www.lotp.fr

>>
>> >> >> "Gaza" <G...@discussions.microsoft.com> wrote in message
>> >> >>news:1A5E85D5-38BF-4ABE-83C5-...
>> >> >> > We have consolidated 3printservers into one and before switching
>> >> >> > off
>> >> >> > the
>> >> >> > oldprintservers we need to remap the client machines to thenew
>> >> >> >server.

>>
>> >> >> > In the days of NT4 we used the tool CHGPRINT.exe to do this,
>> >> >> > which
>> >> >> > worked
>> >> >> > a
>> >> >> > treat. Anyone know of a tool/script that will run as part of
>> >> >> > logon
>> >> >> > script,
>> >> >> > search the clients list of connected printers, remap the printer
>> >> >> > to
>> >> >> > a
>> >> >> > differentserverand possibly different sharename.

>>
>> >> >> > I have tried running chgprint.exe but does not appear to work
>> >> >> > under
>> >> >> > W2k3
>> >> >> > R2
>> >> >> > Sp1server& WinXP SP2 clients. I have approx 1800 clients and
>> >> >> > 175
>> >> >> > printers.

>>
>> >> >> > thanks in advance,- Hide quoted text -

>>
>> - Show quoted text -

>
> I took a look at your vbs script, and it looks real good. Did you
> ever get a chance to modify the script so that it will account for the
> queue name changing on the new print server?


 
Reply With Quote
 
Mathieu CHATEAU
Guest
Posts: n/a

 
      01-04-2008
Hello,

need to add a "if" statement.

If you have a cluster, you should only and only point to the virtual name,
never the node names.
Do you get where to put the if or do you need help ?

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


<> wrote in message
news:2e2acc00-3fc9-43d1-9420-...
On Nov 27 2007, 11:13 am, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
> Hello,
>
> here is the updated script
> version:http://gollum123.free.fr/printermigrator.vbs
>
> Now you have to set:
> -A folder where a log per username is created:
> Set objFile = objFSO.CreateTextFile ("\\fileserver\Logs\printers\" &
> UserName & ".log")
>
> -The new print servernamein this file
> Set objFileServer = objFSO.OpenTextFile (LogonServer &
> "\netlogon\printers\default.txt", ForReading)
>
> -A CSV forchangingprintername:
> Set objfiletable = objFSO.OpenTextFile (LogonServer &
> "\netlogon\printers\Convtable.txt", ForReading)
> syntax is :
> oldname;newname
> --
> Cordialement,MathieuCHATEAU
> English blog:http://lordoftheping.blogspot.com
> French blog:http://www.lotp.fr
>
> <tristonhibb...@hotmail.com> wrote in message
>
> news:32ed377d-7237-43e2-bca3-...
>
>
>
> > On Nov 23, 1:33 pm, "MathieuCHATEAU" <gollum...@free.fr> wrote:
> >> ok it would be ready soon

>
> >> --
> >> Cordialement,
> >>MathieuCHATEAU
> >> English blog:http://lordoftheping.blogspot.com
> >> French blog:http://www.lotp.fr

>
> >> "Gaza" <G...@discussions.microsoft.com> wrote in message

>
> >>news:F8ADAB5D-D2CF-4D0D-AF07-...

>
> >> > Change over is planned for next week .. if you could do this, then
> >> > that
> >> > would be great.

>
> >> > regards,
> >> > Gary

>
> >> > "MathieuCHATEAU" wrote:

>
> >> >> the original one does it, i will include it back after some cleaning

>
> >> >> are you in a hurry ?

>
> >> >> --
> >> >> Cordialement,
> >> >>MathieuCHATEAU
> >> >> English blog:http://lordoftheping.blogspot.com
> >> >> French blog:http://www.lotp.fr

>
> >> >> "Gaza" <G...@discussions.microsoft.com> wrote in message
> >> >>news:8461B149-F0F5-4CDC-858D-...
> >> >> >A nice addition to your script would be to allow for the printer
> >> >> >share
> >> >> >name
> >> >> >changingtoo. The old chgprint.exe tool read a list of old
> >> >> > \\printoldsrv\prshare1 tonew\\printnewsrv\prshare99 from a text
> >> >> > file.

>
> >> >> > As we are also moving from 3 servers to one, and at the same time
> >> >> >changing
> >> >> > the printernamestandard, the above feature would be beneficial.

>
> >> >> > regards,
> >> >> > Gary

>
> >> >> > "MathieuCHATEAU" wrote:

>
> >> >> >> Hello,

>
> >> >> >> I am providing a vbscript on my blog do to this:
> >> >> >>http://lordoftheping.blogspot.com/20...hange-printer-...

>
> >> >> >> --
> >> >> >> Cordialement,
> >> >> >>MathieuCHATEAU
> >> >> >> English blog:http://lordoftheping.blogspot.com
> >> >> >> French blog:http://www.lotp.fr

>
> >> >> >> "Gaza" <G...@discussions.microsoft.com> wrote in message
> >> >> >>news:1A5E85D5-38BF-4ABE-83C5-...
> >> >> >> > We have consolidated 3printservers into one and before
> >> >> >> > switching
> >> >> >> > off
> >> >> >> > the
> >> >> >> > oldprintservers we need to remap the client machines to thenew
> >> >> >> >server.

>
> >> >> >> > In the days of NT4 we used the tool CHGPRINT.exe to do this,
> >> >> >> > which
> >> >> >> > worked
> >> >> >> > a
> >> >> >> > treat. Anyone know of a tool/script that will run as part of
> >> >> >> > logon
> >> >> >> > script,
> >> >> >> > search the clients list of connected printers, remap the
> >> >> >> > printer
> >> >> >> > to
> >> >> >> > a
> >> >> >> > differentserverand possibly different sharename.

>
> >> >> >> > I have tried running chgprint.exe but does not appear to work
> >> >> >> > under
> >> >> >> > W2k3
> >> >> >> > R2
> >> >> >> > Sp1server& WinXP SP2 clients. I have approx 1800 clients and
> >> >> >> > 175
> >> >> >> > printers.

>
> >> >> >> > thanks in advance,- Hide quoted text -

>
> >> - Show quoted text -

>
> > I took a look at your vbs script, and it looks real good. Did you
> > ever get a chance to modify the script so that it will account for the
> >queuenamechangingon the new print server?- Hide quoted text -

>
> - Show quoted text -


Hello,

This script is working great! One minor issue that I think I can get
around, but I want to see what you have to say about it.

The script will try to convert all network printers regardless of what
print server that printer is on. In my case there are only certain
printers on one printer server that we are migrating and only the
printers on that one server will be migrated. So for the printers
that were on that server, the script worked beautifully, however, for
printers that were on a different print server, it simply tried to
covert it but failed and the printer was deleted. I know this is
asking much, but is there a way around that. In others words, can we
have the script just look to convert printers that are on one
particular print server. Just to throw a curveball, the print server
is clustered, so it can be referred to by 1 of 3 names. Thanks again
for all of your help.

Regards,
Triston

 
Reply With Quote
 
Andy Jad
Guest
Posts: n/a

 
      08-30-2010
Hi Mathieu,

Not sure if i'm using the right way to execute the script.

I placed this script on a desktop to try, in cmd, i typed 'cscript printmigrator.vbs'

Nothing seems to happen, no error, no log files, but cscript process took up 100% of usgae and slowed down the entire system.

Did i miss some steps in between ?

> On Thursday, November 22, 2007 5:05 PM Gaz wrote:


> We have consolidated 3 print servers into one and before switching off the
> old print servers we need to remap the client machines to the new server.
>
> In the days of NT4 we used the tool CHGPRINT.exe to do this, which worked a
> treat. Anyone know of a tool/script that will run as part of logon script,
> search the clients list of connected printers, remap the printer to a
> different server and possibly different sharename.
>
> I have tried running chgprint.exe but does not appear to work under W2k3 R2
> Sp1 server & WinXP SP2 clients. I have approx 1800 clients and 175 printers.
>
> thanks in advance,



>> On Thursday, November 22, 2007 5:32 PM Mathieu CHATEAU wrote:


>> Hello,
>>
>> I am providing a vbscript on my blog do to this:
>> http://lordoftheping.blogspot.com/20...er-server.html
>>
>>
>> --
>> Cordialement,
>> Mathieu CHATEAU
>> English blog: http://lordoftheping.blogspot.com
>> French blog: http://www.lotp.fr
>>
>>
>> "Gaza" <> wrote in message
>> news:1A5E85D5-38BF-4ABE-83C5-...



>>> On Thursday, November 22, 2007 5:45 PM Gaz wrote:


>>> A nice addition to your script would be to allow for the printer share name
>>> changing too. The old chgprint.exe tool read a list of old
>>> \\printoldsrv\prshare1 to new \\printnewsrv\prshare99 from a text file.
>>>
>>> As we are also moving from 3 servers to one, and at the same time changing
>>> the printer name standard, the above feature would be beneficial.
>>>
>>> regards,
>>> Gary
>>>
>>> "Mathieu CHATEAU" wrote:



>>>> On Thursday, November 22, 2007 6:09 PM Mathieu CHATEAU wrote:


>>>> the original one does it, i will include it back after some cleaning
>>>>
>>>> are you in a hurry ?
>>>>
>>>> --
>>>> Cordialement,
>>>> Mathieu CHATEAU
>>>> English blog: http://lordoftheping.blogspot.com
>>>> French blog: http://www.lotp.fr
>>>>
>>>>
>>>> "Gaza" <> wrote in message
>>>> news:8461B149-F0F5-4CDC-858D-...



>>>>> On Friday, November 23, 2007 5:08 AM Gaz wrote:


>>>>> Change over is planned for next week .. if you could do this, then that
>>>>> would be great.
>>>>>
>>>>> regards,
>>>>> Gary
>>>>>
>>>>> "Mathieu CHATEAU" wrote:



>>>>>> On Friday, November 23, 2007 1:33 PM Mathieu CHATEAU wrote:


>>>>>> ok it would be ready soon
>>>>>>
>>>>>> --
>>>>>> Cordialement,
>>>>>> Mathieu CHATEAU
>>>>>> English blog: http://lordoftheping.blogspot.com
>>>>>> French blog: http://www.lotp.fr



>>>>>>> On Friday, November 23, 2007 6:54 PM Gaz wrote:


>>>>>>> Mathieu,
>>>>>>>
>>>>>>> I have managed to get "chgprint.exe" to work. The printer definition on the
>>>>>>> client were using fully qualified domain name for the old servers.
>>>>>>>
>>>>>>> However, your script is still very useful as chgprint gives no logging or
>>>>>>> error detection.
>>>>>>>
>>>>>>> thanks,
>>>>>>> Gary
>>>>>>>
>>>>>>> "Mathieu CHATEAU" wrote:



>>>>>>>> On Tuesday, November 27, 2007 11:13 AM Mathieu CHATEAU wrote:


>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> here is the updated script version:
>>>>>>>> http://gollum123.free.fr/printermigrator.vbs
>>>>>>>>
>>>>>>>>
>>>>>>>> Now you have to set:
>>>>>>>> -A folder where a log per username is created:
>>>>>>>> Set objFile = objFSO.CreateTextFile ("\\fileserver\Logs\printers\" &
>>>>>>>> UserName & ".log")
>>>>>>>>
>>>>>>>> -The new print server name in this file
>>>>>>>> Set objFileServer = objFSO.OpenTextFile (LogonServer &
>>>>>>>> "\netlogon\printers\default.txt", ForReading)
>>>>>>>>
>>>>>>>> -A CSV for changing printer name:
>>>>>>>> Set objfiletable = objFSO.OpenTextFile (LogonServer &
>>>>>>>> "\netlogon\printers\Convtable.txt", ForReading)
>>>>>>>> syntax is :
>>>>>>>> oldname;newname
>>>>>>>> --
>>>>>>>> Cordialement,
>>>>>>>> Mathieu CHATEAU
>>>>>>>> English blog: http://lordoftheping.blogspot.com
>>>>>>>> French blog: http://www.lotp.fr
>>>>>>>>
>>>>>>>>
>>>>>>>> <> wrote in message
>>>>>>>> news:32ed377d-7237-43e2-bca3-...



>>>>>>>>> On Thursday, November 29, 2007 1:27 AM tristonhibber wrote:


>>>>>>>>> I took a look at your vbs script, and it looks real good. Did you
>>>>>>>>> ever get a chance to modify the script so that it will account for the
>>>>>>>>> queue name changing on the new print server?



>>>>>>>>>> On Friday, January 04, 2008 3:43 PM Mathieu CHATEAU wrote:


>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> need to add a "if" statement.
>>>>>>>>>>
>>>>>>>>>> If you have a cluster, you should only and only point to the virtual name,
>>>>>>>>>> never the node names.
>>>>>>>>>> Do you get where to put the if or do you need help ?
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Cordialement,
>>>>>>>>>> Mathieu CHATEAU
>>>>>>>>>> English blog: http://lordoftheping.blogspot.com
>>>>>>>>>> French blog: http://www.lotp.fr
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> <> wrote in message
>>>>>>>>>> news:2e2acc00-3fc9-43d1-9420-...
>>>>>>>>>> On Nov 27 2007, 11:13 am, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>>>>>>>>>>
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> This script is working great! One minor issue that I think I can get
>>>>>>>>>> around, but I want to see what you have to say about it.
>>>>>>>>>>
>>>>>>>>>> The script will try to convert all network printers regardless of what
>>>>>>>>>> print server that printer is on. In my case there are only certain
>>>>>>>>>> printers on one printer server that we are migrating and only the
>>>>>>>>>> printers on that one server will be migrated. So for the printers
>>>>>>>>>> that were on that server, the script worked beautifully, however, for
>>>>>>>>>> printers that were on a different print server, it simply tried to
>>>>>>>>>> covert it but failed and the printer was deleted. I know this is
>>>>>>>>>> asking much, but is there a way around that. In others words, can we
>>>>>>>>>> have the script just look to convert printers that are on one
>>>>>>>>>> particular print server. Just to throw a curveball, the print server
>>>>>>>>>> is clustered, so it can be referred to by 1 of 3 names. Thanks again
>>>>>>>>>> for all of your help.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Triston



>>>>>>>>>>> On Sunday, January 06, 2008 12:39 AM tristonhibber wrote:


>>>>>>>>>>> On Nov 27 2007, 11:13=A0am, "Mathieu CHATEAU" <gollum...@free.fr> wrote:
>>>>>>>>>>> r.vbs
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> er-...
>>>>>>>>>>> g
>>>>>>>>>>>
>>>>>>>>>>> r
>>>>>>>>>>> d
>>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>>
>>>>>>>>>>> This script is working great! One minor issue that I think I can get
>>>>>>>>>>> around, but I want to see what you have to say about it.
>>>>>>>>>>>
>>>>>>>>>>> The script will try to convert all network printers regardless of what
>>>>>>>>>>> print server that printer is on. In my case there are only certain
>>>>>>>>>>> printers on one printer server that we are migrating and only the
>>>>>>>>>>> printers on that one server will be migrated. So for the printers
>>>>>>>>>>> that were on that server, the script worked beautifully, however, for
>>>>>>>>>>> printers that were on a different print server, it simply tried to
>>>>>>>>>>> covert it but failed and the printer was deleted. I know this is
>>>>>>>>>>> asking much, but is there a way around that. In others words, can we
>>>>>>>>>>> have the script just look to convert printers that are on one
>>>>>>>>>>> particular print server. Just to throw a curveball, the print server
>>>>>>>>>>> is clustered, so it can be referred to by 1 of 3 names. Thanks again
>>>>>>>>>>> for all of your help.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Triston



>>>>>>>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>>>>>>>>> BizTalk: Parallel Processing with Correlation
>>>>>>>>>>> http://www.eggheadcafe.com/tutorials...rrelation.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating printers to new print server tnt Active Directory 2 11-30-2007 01:02 PM
Migrating Printers from 2000 Server Adrian Windows Server 2 07-12-2007 09:06 AM
Move client printers to different print server Shiloh Scripting 4 06-11-2007 08:57 PM
Print Server--Problems with Adding Network Printers to Client PC razor Windows Server 0 03-01-2007 10:26 PM
Print server: client printers loose settings Joao Luis Rita Windows Server 0 04-27-2006 04:48 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59