Steps for hyper-v Server Core installation
Steps for hyper-v Server Core installation:
To install a Server Core installation
Insert the appropriate Windows Server 2008 installation media into your DVD drive.
When the auto-run dialog box appears, click Install Now.
Follow the instructions on the screen to complete Setup.
After Setup completes, press CTRL+ALT+DELETE, click Other User, type Administrator with a blank password, and then press ENTER. You will be prompted to set a password for the Administrator account.
Follow the on the instructions to complete the setup:
1.To set the administrative password run the following command in the console window:
net user administrator *
2.To set a static IP address run these command:
netsh interface ipv4 show interfaces (make a note of the Idx number for the network adapter)
netsh interface ipv4 set address name=”<idxnum>” source=static address=<staticip> mask=<subnetmask> gateway=<defaulgateway> (sets the IP, subnet, and default gateway),
Add DNS Servers:
netsh interface ipv4 add dnsserver name=”<idxnum>” address=<dnsip> index=1 (sets DNS server)
to add addition dns server redo step 3 incrementing the index= number each time
3.To rename the computer:
netdom renamecomputer <computername> /newname:<newcomputername>
4.To activate the server
For Windows Server 2008 R2, enter a product key by typing the following at a command prompt:
slmgr.vbs –ipk<productkey>
Then, for both Windows Server 2008 R2 and Windows Server 2008, activate the server by typing the following at a command prompt:
slmgr.vbs -ato
5.To join the server to the domain:
netdom join <computername> /domain:<domainname> /userd:<username> /passwordd:*
6.Enable remote mmc management from anywhere:
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
7.Manage the firewall remotely:
Windows Firewall can be configured at a command prompt by using netsh advfirewall.
netsh advfirewall set currentprofile settings remotemanagement enable
8.Change Display resolution:
a. Use the following to get a list of the installed video adapters:
Open HKLMSYSTEMCurrentControlSetControlVideo
b. Examine the GUID keys under this, looking under the 0000 subkey. You need to find the actual video adaptor being used.
HKLMSYSTEMCurrentControlSetControlVideo{%your GUID here%}
---> IMPORTANT: the active video card will have a VolatileSettings subkey under 0000
c. Now knowing which adapter you plan to change, add the following DWORD values in DECIMAL (not hex):
HKLMSYSTEMCurrentControlSetControlVideo{%your Adapter's GUID here%}
DefaultSettings.XResolution = <some width in pixels>
HKLMSYSTEMCurrentControlSetControlVideo{%your Adapter's GUID here%}
DefaultSettings.YResolution = <some height in pixels>
d. Log off and on.
9.Installing the Hyper-v server role:
If your server 2008 is RTM version, please install KB950050 or 2008 sp2 before install the Hyper-V role.
To install the Hyper-V role, at a command prompt, type:
start /w ocsetup Microsoft-Hyper-V
Restart when prompted.
To manage Hyper-V on a Server Core installation, use the Hyper-V management tools to manage the server remotely. These tools are available for Windows Server 2008 and Windows Vista Service Pack 1.
For more information see article 949219 (https://go.microsoft.com/fwlink/?LinkId=115098) and article 949758 (https://go.microsoft.com/fwlink/?LinkId=115100) in the Microsoft Knowledge Base.
Note: To Manage Hyper-V, you can remotely connect to the server from an existing Hyper-V Manager MMC on a different system."