Lost Password? No account yet? Register
Home

Introduction to scripting in Excel

 I have only recently discovered that I could create Excel spreadsheets using VBScript scripts, but I knew I could embed tabs into my output and import tab-delimited files into Excel....

Read more..

Scripting Excel Part 1

Over the years, I’ve written numerous VBScript scripts that used Excel for different purposes. I’ve found myself searching for segments of code from previously written scripts to reuse in my...

Read more..

Practical Scripting Part 1: The Basics

Being able to automate daily administration tasks using scripts can make the life of an admin a lot easier. But why learn to script? Aren't there hundreds of scripts you...

Read more..

Practical Scripting Part 2: Cleaning Up

Last month I began a new series of articles here on WindowsNetworking.com intended to demonstrate how to manage different aspects of Windows networks using scripts. The first article introduced some...

Read more..

Managing Windows Networks Using Scripts - Part 1: The Basics

Being able to automate daily administration tasks using scripts can make the life of an admin a lot easier. But why learn to script? Aren't there hundreds of scripts you...

Read more..

Managing Windows Networks Using Scripts - Part 2: Cleaning Up

The first article introduced some basic scripting concepts like objects, methods, and properties, and the goal of the article was to write a simple script that changed the IP address...

Read more..
100%
-
+
6
Show options
Ntdsutil to move the FSMO roles PDF Print E-mail
Written by David Noel-Davies   
Sunday, 06 July 2008

ImageThe process of using the command-line utility Ntdsutil to move the FSMO roles is essentially the same as with previous versions of Windows Server. However, before you can issue commands, you must ensure that you’ve activated the Active Directory Domain Services (ADDS) instance within Ntdsutil.


Also, note that the Domain Naming Master FSMO role is now just Naming Master. Following is a sample FSMO move of all five roles, using Ntdsutil.

ntdsutil: activate instance ntds
Active instance set to "ntds".
ntdsutil: roles
fsmo maintenance: connections
server connections: connect to server savtstrwdc01
Binding to savtstrwdc01 ...
Connected to savtstrwdc01 using credentials of locally logged on user.
server connections: quit
fsmo maintenance: transfer naming master
Server "savtstrwdc01" knows about 5 roles
Schema - CN=NTDS Settings,CN=SAVTSTDC01,CN=Servers,CN=Default-First-Site-Name,CN
=Sites,CN=Configuration,DC=savdemo,DC=local
Naming Master - CN=NTDS Settings,CN=SAVTSTRWDC01,CN=Servers,CN=Default-First-Sit
e-Name,CN=Sites,CN=Configuration,DC=savdemo,DC=local
PDC - CN=NTDS Settings,CN=SAVTSTDC01,CN=Servers,CN=Default-First-Site-Name,CN=Si
tes,CN=Configuration,DC=savdemo,DC=local
RID - CN=NTDS Settings,CN=SAVTSTDC01,CN=Servers,CN=Default-First-Site-Name,CN=Si
tes,CN=Configuration,DC=savdemo,DC=local
Infrastructure - CN=NTDS Settings,CN=SAVTSTDC01,CN=Servers,CN=Default-First-Site
-Name,CN=Sites,CN=Configuration,DC=savdemo,DC=local

The following code moves the remaining four roles, without all the typical output of running the commands.

fsmo maintenance: transfer infrastructure master
fsmo maintenance: transfer schema master
fsmo maintenance: transfer rid master
fsmo maintenance: transfer pdc
Last Updated ( Sunday, 06 July 2008 )
 
Next >

Who's Online

News Letter

Monthly Updates Receive HTML?