Installation of Active Directory in Core server
- Checking name of your computer.
- Changing of name to the computer.
- netdom renamecomputer localhost /NewName DC2
- For checking interface of your computer.
- netsh interface IPv4 show interface
- this command gives network interfaces along with its index number.
- For assign ip address to network interface.
- netsh interface IPv4 set address name=21 source=static address=192.168.0.2 mask=255.255.255.0 gateway=192.168.0.1
- here interface=2 is an index number of your network interface card
- you can assign IP address from dhcp using source=dhcp in above command
- For changing IPv6 address of interface.
- netsh interface IPv6 set address interface=21 address=fd00:0:0:1::2
- here interface=2 is an index number of your network interface card
- netsh interface IPv4 add dnsserver name=2 address=192.168.0.1 index=1
- here name=2 is an index number of your network interface card
- For checking which roles are install in server.
- Install DNS server role in core server.
- start /w ocsetup DNS-Server-Core-Role
- Now Restart server using shutdown /r /t 0 command.
- Installing Active Directory using command line.
- dcpromo /replicaOrnewDomain:domain /NewDomain:forest /NewDomainDNSName:windows2k8.com /ConfirmGC:yes /userdomain:abd.com /Username=administrator /Password=123@abd /SafeModeAdminPassword=123456
No comments:
Post a Comment