I don't think there is a rename.  You would just read the old, write the new with that 
info and then delete the old.

-----Original Message-----
From: Bjelke John A Contr AFRL/VSIO [mailto:John.Bjelke@;kirtland.af.mil]
Sent: Thursday, October 24, 2002 11:09 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Scripting question


Does anyone know the wsh call to rename a key though? I have been unable to
find it. Unfortunately, I do not have either of the texts you reference, but
I have put them on the wish list!

-----Original Message-----
From: Roger Seielstad [mailto:roger.seielstad@;inovis.com]
Sent: Thursday, October 24, 2002 9:06 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] OT: Scripting question


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/
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/

Reply via email to