Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
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
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server