Windows 2008 R2 Server Core initial configuration with command line and powershell

 

Windows 2008/2008 R2 server core initial configuration

Windows 2008 R2 has its own tool for do the initial configuration of the server core, but previous version of the Windows 2008R2(Windows 2008) all the initial configuration also cmd based.

 

Get the computer name type hostname name and press enter

1

Rename computer- type netdom renamecomputer WIN-1MKA1D339E9 /newname EAGLE

 

2

 

WIN-1MKA1D339E9 IS A PREVIOUS NAME AND EAGLE IS A YOUR COMPUTER NAME

Press y and press enter

3

 

For restart the computer type shutdown –r –t 00

 

5

 

4

 

 

IP Address configuration for the server core (Add ip address dns server and gateway)

Type netsh(Network shell) and press enter

1

Type int ipv4 and press enter

2

Type add address “local area connection” 192.168.1.100 255.255.255.0 (“local area connection” is a name of a local area connection. This can be find from typing ipconfig /all command)

3

For adding gateway type add address “local area connection” gateway=192.168.1.1 gwmetric-1

4

For adding dnsserver type add dnsserver “local area connection” 8.8.8.8(8.8.8.8 is a google dns server you can add your own server)

 

5

 

For Enable remote desktop(cscript c:\windows\system32\scregedit.wsf /ar 0

Activate server using cmd (slmgr.vbs /dli) this gives the current license details of the server

 

1

Now type slmgr.vbs /ato(This will automatically activate your server for 180 days(Trial Period).Make sure that your server is connected with the internet)

2
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: