IT tutorials
 
Windows
 

Windows Server 2008 : Using netdom (part 1) - Identifying Operations Master Roles, Joining a Computer to a Domain

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
2/14/2014 12:49:48 AM

1. Identifying Operations Master Roles

There are many times when you need to know which server holds which operations master roles. You can get the answer from different graphical user interfaces. However, it’s much easier from the command line with the netdom tool (as netdom query fsmo). The following text shows the output within a domain named pearson.pub:

C:\> netdom query fsmo
Schema master DC1.pearson.pub
Domain naming master DC1.pearson.pub
PDC DC1.pearson.pub
RID pool manager DC1.pearson.pub
Infrastructure master DC1.pearson.pub
The command completed successfully.

Note

Operations master roles were previously called flexible single master operations (FSMO) roles.

2. Joining a Computer to a Domain

You can join a computer to a domain from the command prompt using the netdom join command. The following table shows the different switches available with the netdom join command. Each of these switches is used in the following command, which joins a computer named dc2 to a domain named pearson.pub:

C:\>netdom join dc2 /domain:pearson.pub
/userd:administrator@pearson.pub /passwordd:*
/ou:"ou=sales,dc=pearson,dc=pub" /reboot:60

netdom Join Machine SwitchesComments
netdom join computername
C:\> netdom join dc2 . . .
C:\> netdom join %computername% . . .

The computername identifies the name of the computer joining the domain. The %computername% variable uses the local computer name.
/domain:domain
/domain:pearson.pub

Specifies the domain the computer will join.
/userd:username
/userd:administrator

The user account used to make the connection with the domain specified by the /domain switch.
/passwordd:{password | *}
/passwordd:P@ssw0rd

The password of the user account specified by /userd. You can use an asterisk (*) and the command will prompt you to enter a password.

Note

The second “d” at the end of /passwordd looks like a typo, but it’s valid. It specifies that this is the password for the /domain component.

/ou:oudn
/ou:"ou=sales,dc=pearson,dc=pub"

The organizational unit where you want the account created. You need to specify this as a distinguished name. The example specifies the Sales OU.

Tip

If you don’t use the /ou switch, the account will be created in the default location. This is the Computers container by default, but can be redirected to another location with the redircmp command .

/reboot  [:number-of-seconds-delay]
/reboot: 10

Reboots the computer after it’s joined to the domain. The default delay is 30 seconds but you can change it. The example reboots the system 10 seconds after it joins the domain.
/securepasswordprompt

Uses a secure credentials popup to specify credentials. You can use this to supply smartcard credentials. This option is in effect only when the password value is supplied as *.
 
Others
 
- Windows 7 : Windows Media Center - Some Tricks of the Trade (part 2) - Burning DVDs from Recorded TV, Setting Parental Control Ratings
- Windows 7 : Windows Media Center - Some Tricks of the Trade (part 1) - Viewing TV Shows on Your HDTV or Projector
- Windows 7 : The WMC Functions (part 2) - Pictures, Videos, Music
- Windows 7 : The WMC Functions (part 1) - TV
- Windows 7 : The WMC Hardware (part 2) - Can I Upgrade My Non-WMC PC to a WMC PC?
- Windows 7 : The WMC Hardware (part 1) - The New WMC PC Form Factors
- Windows 7 : Windows Media Center—What’s the Hubbub?
- Windows Server 2008 R2 high-availability and recovery features : Planning for High Availability
- Windows Server 2008 R2 high-availability and recovery features : Introduction to High Availability
- Windows 7 : Windows Media Player - Taking Your Music and Video on the Go (part 3) - Sharing Media Throughout Your Home
 
Youtube channel
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
programming4us programming4us
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS