Saturday, March 9, 2013

Install and configure DHCP server on server 2008 core


start /w ocsetup DHCPServerCore

sc config dhcpserver start= auto

net start dhcpserver

(because the dhcp service will be started automatically from next time)

to authorize dhcp server

netsh dhcp add server servercore.sourav.com 192.168.10.60

to show the dhcp servers on the network

netsh dhcp show server

now we can manage the dhcp server on server 2008 core remotely from a GUI

to do that we have to first restart the server 2008 core (otherwise it didn't work for me at least)

now we can go a different pc,mmc-add remove snap in,dhcp.add server,put the ip of server 2008 core and then you can configure the scope etc... 

Tuesday, March 5, 2013

How to join server 2008 core to a domain





netdom join %computername% /domain:sourav.com /userd:administrator@sourav.com /passwordd:*** /reboot:60

How to rename server 2008 core

netdom renamecomputer %computername% /newname servercore

Set static ip address and dnsserver in server 2008 core

netsh interface ipv4 set address name="Local Area Connection" source=static address=192.168.10.60 mask=255.255.255.0 gateway=192.168.10.101


set dnsserver by

netsh interface ipv4 add dnsserver name="Local Area Connection" address=8.8.8.8 index=1   (index1 for primary,add secondary by index=2)   and you are done!!!

Configure dhcp on server 2008 core

netsh interface ipv4 set address "Local Area Connection" dhcp

ipconfig /renew

and you are done!!!