Search This Blog
Monday, 25 June 2012
Full Command to Configure Windows 2008 Server Core Editions
I was configuring lots of server core lately, and i found some very useful and regular commands
Change Computer Name;
First to know your old computer name use the hostname command.
- netdom renamecomputer <EnterOldComputerName> /newname <EnterNewName>
Change Your Interface ID;
You can use this command to change you Network interface ID
-netsh interface set interface name="Old Name" newname="New Name"
Configure Static IP Address;
You can use this command to give your computer and ip address
-netsh interface ipv4 set address name"InterfaceID" source=static address=<GiveStaticIPAddress> mask=<GiveSubnetMask> gateway=<GiveDefaultGateway>
Configure DNS;
Use this command to set the dns server. "Index=1" means we are making it our preferred dns server, while index=2 means alternative dns server.
-netsh interface ipv4 add dnsserver name"<InterfaceID>" address=<GiveDNSIP> index=1
Join Computer to Domain;
Use this command to join your computer to your domain where you have Active Directory installed.
-netdom join <EnterComputerName> /domain:<DomainName> /userd:<AdminUsername> /passwordd:<AdminPassword>
To Activate Server via KMS Server;
Use this command to activate you server
slmgr -ipk"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr -skms <EnterKMSserver>: 1688
slmgr -ato
slmgr -ato #Yes twice
How to Disable Firewall;
Use this command to disable your firewall
-netsh advfirewall set all profiles state off
Hoe to Enable Remote Desktop;
You can enable your remote desktop by using this command
-netsh advfirewall firewall set rule group="remote desktop" new enable=yes
How to Allow Remote Administration;
You can use the following command to allow remote administration
-netsh advfirewall firewall set rule group="remote administration" new enable=yes
I hope it helps. you can follow me on twitter here @wizVinay
You can get more info here
Server Core Installation Option of Windows Server 2008 Step-By-Step Guide:
http://technet.microsoft.com/en-us/library/cc753802.aspx#bkmk_managingservercore
Subscribe to:
Posts (Atom)