Now, in this chapter of our Windows Server 2012 tutorial we will teach you how to configure Server Core.

When configuring Server Core you can only use the Command Line. In this video I will teach you some commands and aliases. And Aliases by the way, gives the functionality of a command prompt , so most of the things you can do in the command prompt, you can also do in PowerShell console using aliases but you don’t need to learn to configure it because the system does that for you. There’s also the DISM (Deployment Images Servicing and Management), Netshell and I will also teach you how to Remote Admin using CONSOL and also sconfig).

Here are some commands:

The first command will show you the IPv4 interfaces present in the computer; now here’s the command structure: netsh interface (or just int) ipv4 show interface

Then it will show you a result like this…

Now that we know the interface, let’s try to configure a static IP address.

Now here’s what we’re gonna do, we’re gonna type: netsh interface ipv4 set address name=ethernet (the name that we’ve found in the interface) source=static address= (IP Address you want to use)

To check if your configuration is implemented. Type “ipconfig /all

Notice that we didn’t configure the dns because we need to configure the static IP address before we configure the dns.

Here’s how to configure the DNS: netsh int ipv4 add dnserver name=*name of the interface* address= *IP Address you want to assign* index= *Identifies that this is the primary or secondary DNS server*

Example: netsh int ipv4 add dnserver name=ethernet address= index=1

To check if your configuration is implemented. Type “ipconfig /all”.

If you want to know your computer’s name, you could type ipconfig /all or just hostname.

Now, to change the computer name: Type netdom renamecomputer %computername% newname: (NewName)/userd: Administrator /password /reboot: (span of time you want to reboot).

Example: netdom renamecomputer %computername% newname:hoituser /userd: Administrator /passwordd /reboot:0

Now if you want to add your computer to a domain, this is what you need to do: you need to type in netdom join %computername% /domain: (name of the domain) /userd:Administrator /passwordd: /reboot: (span of time you want to reboot).

Example: netdom join %computername% / /userd:Administrator /passworddd: /reboot:0

Now if you want to add a user account, type in: net user (Name of the User) /add *

Example: net user Trainer /add *

Then if you want to add your account to a local group, you can just type in: net localgroup (Name of the group) /add (Name of the User you want to add to the group).

Example: net localgroup Administrator /add Trainer

To check if your configuration is implemented. Type user (Name of the User). Example user trainer.

The next thing I wanna show you here is “sconfig” for configuring server. This is one of coolest thing. Just type “sconfig”. This actually came out with a Server 2008 R2. It does allow the same thing such as through a menu system that is much easier to work with.

Now, try to enter sconfig. This is a much easier way to configure your computer because you can just type a number and then type the changes that you want. For example, try typing 2.

It will then prompt you to type in the new computer name that you want for your computer.

Now, if you want to change the domain or workgroup,

You can just type 1 and it will give you two choices whether Domain or Workgroup. You can type “d” for domain and “w” for workgroup. It will also ask you the name of the domain/workgroup you wanna join. Specify an authorized domain/user (you can type administrator)and the password if associated.

Now for item Number 4 which is Configure Remote Management. It will let you choose between Enable, Disable Remote Management or Configure Server Response to Ping.

You may choose Configure Server Response ping so that the other computer will again access to you.

Now let’s move to Network Settings (choice number 8). And you can see your full IP Address then you can select your network adapter. The next thing you gonna do is to Set Network Adapter Address just press 1. It will also let you choose what kind of address you will put. It’s either (D)DHCP or (S)Static. If ever you will use the Static IP Address then you will put the IP Address, Subnet mask, Default Gateway manually.

The next is to configure the DNS Servers. Just press 2 and it will allow you to enter new preferred DNS server and the alternate DNS server.

You see, sconfig is a great way to configure your computer, it is very intuitive, and you don’t have to worry typos. And I strongly recommended for new configurations of your core machine.

So that ends the chapter 4 of our Windows Server 2012 Tutorial and I hope you learned much in this video.


Contact Us

Join over a thousand users and let House of IT help you get started! Get a free quote now!