Transferring FSMO roles using a script

Discussion in 'Active Directory' started by Tom Bennart, Nov 23, 2005.

  1. Tom Bennart

    Tom Bennart Guest

    I'm looking for a VB script to move FSMO roles like PDC emulator or RID
    master to a another DC.
    So far I found a script to list all role holders but I need to change them.
    Does anybody have a sample?
    Thanks.
     
    Tom Bennart, Nov 23, 2005
    #1
    1. Advertisements

  2. Tom Bennart

    Neil Ruston Guest

    .... not forgetting that for us dummies, an ntdsutil batch file may suffice :)

    hth,
    neil
     
    Neil Ruston, Nov 23, 2005
    #2
    1. Advertisements

  3. Tom Bennart

    David Yeager Guest

    You can use the NTDSUTIL Command:

    NTDSUTIL
    Roles
    Connections
    Connect to server (taking role)
    quit
    Seize PDC
     
    David Yeager, Nov 23, 2005
    #3
  4. Tom Bennart

    Tom Bennart Guest

    Hi Paul,
    I ordered a copy of Robbie Allen's book. It seems to be great. Thanks.

    To Neil and David: I think vbs scripts are more sexy because I can run them
    from a simple workstation without having any tools installed. Moreover I can
    integrate them into my existing scripts. Thank you too.
     
    Tom Bennart, Nov 23, 2005
    #4
  5. It's a very good book. The Windows one is OK too. The Exchange one is also
    very good.
     
    Paul Williams [MVP], Nov 23, 2005
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.