Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

Windows Server 2008 : Configuring Server Core after Installation (part 4) - Setting the Time, Date, and Time Zone , Joining a Domain

2/15/2014 3:17:46 AM

Configuring TCP/IP

If your network doesn’t include a DHCP server, or you want to manually assign TCP/IP configuration information, you can do so with the netsh command. The following table shows steps you can use to configure TCP/IP.

StepAction
1.Type ipconfig /all and press Enter to view the current TCP/IP configuration.
2.Type netsh interface ipv4 show interfaces and press Enter to view the name of the network interface cards (NICs) on your system.

Note

The default name of the first NIC is Local Area Connection, but your system might have more than one NIC. You need to use the name of the NIC that you want to manipulate when using the netsh command.

3.Use the following command to assign an IP address, subnet mask, and default gateway:

netsh interface ipv4 set address name=“NIC-name” static IP-address subnet-mask default-gateway

For example, to assign an IP address of 192.168.1.100, a subnet mask of 255.255.255.0, and a default gateway of 192.168.1.1 for the NIC named Local Area Connection, use this command:

C:\>netsh interface ipv4 set address name=“local area connection” static 192.168.1.100 255.255.255.0 192.168.1.1

4.Use the following command to assign the IP address of a DNS server in your network:

netsh interface ipv4 set dnsserver “NIC-name” static IP-address-of-DNS-server

For example, to assign an IP address of 192.168.1.5 for the DNS server, use this command:

C:\>netsh interface ipv4 set dnsserver “local area connection” static 192.168.1.5

5.Type ipconfig /all and press Enter to view the updated TCP/IP configuration.

Setting the Time, Date, and Time Zone

You can set the time with the time command, and you can set the date with the date command. However, neither of these tools enables you to set the time zone. You can launch the Control Panel Date and Time GUI with the following command:

control timedate.cpl

Figure 4 shows the Date and Time GUI that launches from this command. Click the Change Time Zone button to change the time zone. Click OK to dismiss the GUI.

Figure 4. Launching the Date and Time GUI

Joining a Domain

After you rename the system, configure TCP/IP, and set the correct time zone, you might want to join the computer to a domain. You can use the netdom command to do so.


The netdom command to join a domain has the following syntax:

Netdom join %computername% /domain:domain-name
/userd:domain-account /passwordd:password

Note

The domain account must have permissions to join a computer to a domain. Regular users in a domain have rights to join up to ten computers to a domain.


For example, if you want to join a domain named pearson.pub, using the administrator account that has a password of P@ssw0rd, use the following command:

netdom join %computername% /domain:pearson.pub
/userd:administrator /passwordd:P@ssw0rd

If successful, you receive a message indicating that the computer needs to be restarted to complete the operation. Restart the system with the following command:

shutdown /r

Tip

If the command is not successful, check your syntax first. If the syntax is correct, verify that the TCP/IP configuration is correct and that you have the correct IP address for the DNS server


Other -----------------
- Microsoft Exchange Server 2010 : Introducing Journaling - Implementing Journaling, Reading Journal Reports
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 5) - Creating New Rules with the Exchange Management Shell
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 4) - Creating New Rules with the Exchange Management Console
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 3) - Selecting Actions
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 2) - Selecting Conditions and Exceptions
- Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 1) - Transport Rules Coexistence Between Exchange 2007 and 2010 , Transport Rules and Server Design Decisions
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Trace (part 2)
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Trace (part 1) - Obtaining SMS Trace
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Service Manager
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Status Message Process Flow
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 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
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
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro