Rebelz – We have one of Europe’s widest ranges of BJJ & Grappling gear.

Configurate Windows 2008 Server Core

Here are som useful stuff when installing and configurate Windows 2008 Server Core.

Show network interfaces
> netsh interface ipv4 show interfaces

Rename network interface
> netsh interface set interface name = <interface name> newname = <new interface name>

Change static IP-address
> netsh interface ipv4 set adress ”<interface name>” static

Change to DHCP
> netsh interface ipv4 set addresses name=”<interface name>” source=dhcp

Show IP-address
> netsh interface ipv4 show addresses

Add primery DNS server
> netsh interface ipv4 set dnsserver name=”<interface name>” source=static address=<primery dns servers ip-address>

Add secondary DNS server
> netsh interface ipv4 add dnsserver name=”<interface name>” address=<secondary dns servers ip-address>

Enable Remote Administration in firewall
> netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes

Enable Windows Firewall Remote Administration in firewall
> netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable=yes

Disable firewall
> netsh firewall set opmode disable

Enable firewall
> netsh firewall set opmode enable

Show computername
> hostname

Change computername
> netdom renamecomputer <computer name> /newname:<new computer name>

Change name of a domain-joined server
> netdom renamecomputer %computername% /NewName:<new computer name> /userd:<domain\username> /password:*

Join a domain
> netdom join %computername% /domain:<domain> /userd:<username> /passwordd:*

Remove computer from domain
> netdom remove

Enable Remote Desktop. Only support Windows Vista/2008 clients
> Cscript %windir%\system32\SCRegEdit.wsf /ar 0

Enable Remote Desktop. Support Windows XP/2003/Vista/2008 clients
> Cscript %windir%\system32\SCRegEdit.wsf /ar 0
> Cscript %windir%\system32\SCRegEdit.wsf /cs 0

Users, Groups & seciruity
Add a user to the local Administrators group
> net localgroup Administrators /add <domain>\<username>

Remove a user from the local Administrators group
> net localgroup Administrators /delete <domain>\<username>

Change administrator password
> net user administrator *

Show security settings on a folder or file
> cacls <file or folder path>

Key Management Service)
Install KMS
> slmgr -ipk <KMS key>

KMS activation
> slmgr -ato

Display KMS license information
> slmgr – dlv

Check for KMS in DNS
> nslookup -type=srv _vlmcs._tcp

Configure the paging file
>wmic pagefileset where name=”<path/filename>” set InitialSize=<initialsize>,MaximumSize=<maxsize>

Reboot server
> shutdown /r /t 0

Shutdown server
> shutdown /s /t 0

List event logs type
> wevtutil el

List running services
> sc query
> net start

Start a service
sc start <service name> or net start <service name>

Stop a service
> sc stop <service name>

> net stop <service name>

Stop/kill a process
> taskkill /PID <process ID>

Move file
> move “z:\Windows6.0-KB950050-x64.msu” “c:\Windows6.0-KB950050-x64.msu”

Copy file
> copy “z:\Windows6.0-KB950050-x64.msu” “c:\Windows6.0-KB950050-x64.msu”

Show server roles
> oclist

Install server roles
> ocsetup

> start /w ocsetup Microsoft-Hyper-V

Install virtual machine integrated components
Mount integrated components cd from action menu.
D:\support\amd64\setup.exe or D:\support\x86\setup.exe

Update Hyper-V
Download and copy Windows6.0-KB950050-x64.msu to your core server.
Download Windows6.0-KB950050-x64.msu to your fileserver.

From Core server:
> net use z: \\fileserver\share\
> Z:
> copy Windows6.0-KB950050-x64.msu c:\
> C:
> net use z: delete
> Windows6.0-KB950050-x64.msu


  1. I really liked this post. Can I copy it to my site? Thank you in advance.

  2. Kelly Brown says:

    Hi, gr8 post thanks for posting. Information is useful!

  3. Daniel says:

    AndrewBoldman, yes you can copy this information. Please refer to in the text.

  4. Schedule says:

    Maybe you could edit the post subject Configurate Windows 2008 Server Core | to something more better for your subject you make. I loved the the writing even sononetheless.

Leave a Comment

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