Thanks for the suggestions Stefano, but I think you have missed what I was looking to do... I have a script that will repoint the clients,but the problem is that I want to be able to retain specific settings, such as paper orientation, duplexing options, etc. The method I am using to do this is to use wsh to read certain registry keys, copy out the settings to variables, plug in the new server name and create new reg entries while deleting the old ones, which does not preserve the settings. Thus, I was looking for a way to just rename the keys and not delete them. I can write in a new value for the "server name" multi_sz beneath the key, but need to be able to rename the key so that it reflects the proper server assignment in other areas. The changes would then cascade correctly with no change to user print preferences... I hesitate to use the term, as it is often a bit of a Jonah, but it woould be "transparent to the users" if I could simply rename the key programatically.
-----Original Message----- From: stefano tufillaro [mailto:stufillaro@;hotmail.com] Sent: Wednesday, October 30, 2002 2:09 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] OT: Scripting question Ok if you must change the name of the print server (example srvprinternew against srvprinterold) i 'll make this: 1) use PM to have the same queues in the srvprinternew 2) now migrate the client by a sample script that you can launch from a GP (you are in AD) if they are Win2k or by policy domain if they are NT / Win98. Alternatively you can use a sample login scripts but this required a logon (automatically or simulate but logon) But you can use a photo difference in a machine-test so to generate an alias installing packet (.MSI) that is the mechanism used by SMS, TNG, SYmantec, packet to run on every machine. If you need of a creator of MSI look at your Win2k CD in support and search for winstle product. Is very easier to use. Good Luke >From: Bjelke John A Contr AFRL/VSIO <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: RE: [ActiveDir] OT: Scripting question >Date: Tue, 29 Oct 2002 21:31:46 -0000 > >Nod.. yes, if I were to rename the new server the same as the existing >print >server, this would work. We are migrating between an NT4 domain and a AD >domain, and the new print server has to conform to a certain naming >convention in the AD domain, ergo no rename. > >-----Original Message----- >From: stefano tufillaro [mailto:stufillaro@;hotmail.com] >Sent: Tuesday, October 29, 2002 1:47 PM >To: [EMAIL PROTECTED] >Subject: RE: [ActiveDir] OT: Scripting question > > >Hello John > >I don't know you specifi situation i can tell you my experience. > >I needed a backup printer server. >Two hundred client was using it (Windows 98, NT , 2000). > >I gave another name to the new server (SRVPRINTER02) >The old was SRVPRINTER01. >I created the same queues of SRVPRINTER01 by PrintMigrator3 on >SRVPRINTER02. >After the SRVPRINTER01 is off-line. > >When the server SRVPRINTER01 crashes I >1) rename SRVPRINTER02 in SRVPRINTER01 >2) give the same IP address of SRVPRINTER01 in SRVPRINTER02 > >3) make on-line the new SRVPRINTER01 and in the same Domain-situation of >the > >old SRVPRINTER01 > >For all the client that is absolutely transparent so I need to change >anything because the client use NETBIOS >resolution (ES: \\srvprinter01\HPLASERJ3) >or IP / Netbios resolution >(ES: \\172.16.16.1\HPLASERJ3) > >I hope that is useful > > > > > >From: Bjelke John A Contr AFRL/VSIO <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > >Subject: RE: [ActiveDir] OT: Scripting question > >Date: Mon, 28 Oct 2002 23:07:35 -0000 > > > >Stefano, > > PrintMig3 is what I have used to copy the print queues to the new > >server, but I fail to see how it will assist me in repointing 2000 client > >systems.... is there something I am missing? > > > >-----Original Message----- > >From: stefano tufillaro [mailto:stufillaro@;hotmail.com] > >Sent: Monday, October 28, 2002 2:54 PM > >To: [EMAIL PROTECTED] > >Subject: RE: [ActiveDir] OT: Scripting question > > > > > >Print Migrator 3 > >Microsoft > >no cost > > > > > > > > > > > > > > >From: Roger Seielstad <[EMAIL PROTECTED]> > > >Reply-To: [EMAIL PROTECTED] > > >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > >Subject: RE: [ActiveDir] OT: Scripting question > > >Date: Thu, 24 Oct 2002 11:06:10 -0400 > > > > > >WSH as the ability to do that - shouldn't be that hard. > > > > > >I don't have the book handy, but I think either Tim Hill's or Thomas > >Eck's > > >books covers that in detail. > > > > > >------------------------------------------------------ > > >Roger D. Seielstad - MCSE > > >Sr. Systems Administrator > > >Inovis - Formerly Harbinger and Extricity > > >Atlanta, GA > > > > > > > > > > -----Original Message----- > > > > From: Bjelke John A Contr AFRL/VSIO > > > > [mailto:John.Bjelke@;kirtland.af.mil] > > > > Sent: Thursday, October 24, 2002 9:37 AM > > > > To: '[EMAIL PROTECTED]' > > > > Subject: [ActiveDir] OT: Scripting question > > > > > > > > > > > > Hey folks... > > > > I need to automate repointing print queues on ~2000 clients to a > > > > different print server and retain user settings on each > > > > queue... does anyone > > > > know how to RENAME a registry key, either in VB, Perl, C++, > > > > or WSH? I can > > > > pull the value and create a new key to the same printer name > > > > on the new > > > > server, but that doesn't retain the settings. Any suggestions are > > > > appreciated. Thanks! > > > > > > > > John A. Bjelke > > > > Unisys > > > > 505.853.6774 > > > > [EMAIL PROTECTED] > > > > A conclusion is simply the place where you got tired of thinking. > > > > > > > > List info : http://www.activedir.org/mail_list.htm > > > > List FAQ : http://www.activedir.org/list_faq.htm > > > > List archive: > > > > http://www.mail-archive.com/activedir%> 40mail.activedir.org/ > > > > > > >List info : http://www.activedir.org/mail_list.htm > > >List FAQ : http://www.activedir.org/list_faq.htm > > >List archive: >http://www.mail-archive.com/activedir%40mail.activedir.org/ > > > > > >_________________________________________________________________ > >Internet access plans that fit your lifestyle -- join MSN. > >http://resourcecenter.msn.com/access/plans/default.asp > > > >List info : http://www.activedir.org/mail_list.htm > >List FAQ : http://www.activedir.org/list_faq.htm > >List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > >List info : http://www.activedir.org/mail_list.htm > >List FAQ : http://www.activedir.org/list_faq.htm > >List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > > >_________________________________________________________________ >Broadband? Dial-up? Get reliable MSN Internet Access. >http://resourcecenter.msn.com/access/plans/default.asp > >List info : http://www.activedir.org/mail_list.htm >List FAQ : http://www.activedir.org/list_faq.htm >List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ >List info : http://www.activedir.org/mail_list.htm >List FAQ : http://www.activedir.org/list_faq.htm >List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ _________________________________________________________________ Get a speedy connection with MSN Broadband. Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/