programming4us
 
Windows
 

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

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
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
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
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft