Thanks for your help Chris, both on and off the list. It's working great!

Cheers,
Tony

-----Original Message-----
From: Evans Chris - cevans [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 02, 2002 11:45 AM
To: NT 2000 Discussions
Subject: RE: Renaming Global Groups


BTW - XXX would be your prefix.

-----Original Message-----
From: Evans Chris - cevans [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 02, 2002 1:39 PM
To: NT 2000 Discussions
Subject: RE: Renaming Global Groups


Sure, dump all your global groups in a TXT file called groups.txt 
Use the for command in a bat file:
FOR /F %%I IN (Groups.txt) DO cusrmgr -rgg %%I XXX%%I

If you have any groups with spaces in them you will need to do those
manually. Hope this helps.

-----Original Message-----
From: Woods, Tony G AG:EX [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 02, 2002 1:21 PM
To: NT 2000 Discussions
Subject: RE: Renaming Global Groups


Chris,

Is there a way to script this? I have a util that basically renames group
xxx to yyy but I'm wondering how to do this progamatically. My problem is
that I'm not a programmer ;-( Basically I'm looking for something to prefix
the group names with a two letter acronym.

Cheers,
Tony

-----Original Message-----
From: Evans Chris - cevans [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 1:06 PM
To: NT 2000 Discussions
Subject: RE: Renaming Global Groups


Cusrmgr from the Nt4 Resource Kit.

CUsrMgr Ver 1.0 Jan98 by G.Zanzen (c) MCS Central Europe
Sets a random password to a user
usage: -u UserName [-m \\MachineName] \\ default LocalMachine
  Resetting Password Function
       -p Set to a random password
       -P xxx Sets password to xxx
  User Functions
       -r xxx Renames user to xxx
       -d xxx deletes user xxx
  Group Functions
       -rlg xxx yyy Renames local group xxx to yyy
       -rgg xxx yyy Renames global group xxx to yyy
       -alg xxx Add user (-u UserName) to local group xxx
       -agg xxx Add user (-u UserName) to global group xxx
       -dlg xxx deletes user (-u UserName) from local group xxx
       -dgg xxx deletes user (-u UserName) from global group xxx
  SetProperties Functions
       -c xxx sets Comment to xxx
       -f xxx sets Full Name to xxx
       -U xxx sets UserProfile to xxx
       -n xxx sets LogonScript to xxx
       -h xxx sets HomeDir to xxx

       -H x   sets HomeDirDrive to x

       +s xxxx sets property xxxx
       -s xxxx resets property xxxx
       where xxxx can be any of the following properties:
              MustChangePassword
              CanNotChangePassword
              PasswordNeverExpires
              AccountDisabled
              AccountLockout
              RASUser
returns 0 on success
-----Original Message-----
From: Woods, Tony G AG:EX [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 3:00 PM
To: NT 2000 Discussions
Subject: Renaming Global Groups


Hi all,

I have a requirement to rename NT 4 Global groups to a standard naming
convention before migrating them to Active Directory.  Basically we need to
add an acronym to the beginning of each group. What tools have you guys
used?

Cheers,
Tony

Tony Woods MCSE, CNA
Ministry of Attorney General
910 Government Street
Victoria, BC, Canada, Earth
http://www.ag.gov.bc.ca <http://www.ag.gov.bc.ca> 


------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%


********************************************************************

The information contained in this communication is confidential, is intended
only for the use of the recipient named above, and may be legally
privileged. If the reader of this message is not the intended recipient, you
are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly prohibited. If
you have received this communication in error, please re-send this
communication to the sender and delete the original message or any copy of
it from your computer system. Thank You.


------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to