Setup and remotely manage Microsoft Hyper-V Server 2008 – Workgroup environment


    To find the network adapters

  1. At a command prompt, type the following:

    netsh interface ipv4 show interfaces

    Make a note of the number shown in the Idx column of the output for your network adapter. If your computer has more than one network adapter, make a note of the number corresponding to the network adapter for which you wish to set a static IP address.

  2. Set the IP address At the command prompt, type:

    netsh interface ipv4 set address name="<ID>" source=static address=<StaticIP> mask=<SubnetMask> gateway=<DefaultGateway>


    ID is the number from step 2 above

    StaticIP is the static IP address that you are setting

    SubnetMask is the subnet mask for the IP address

    DefaultGateway is the default gateway

  3. DNS Server At the command prompt, type:

    netsh interface ipv4 add dnsserver name="<ID>" address=<DNSIP>index=1


    ID is the number from step 2 above

    DNSIP is the IP address of your DNS server

    Repeat step 4 for each DNS server that you want to set, incrementing the index= number each time.


    ·      If you set the static IP address on the wrong network adapter, you can change back to using the DHCP address supplied by using the following command:

    ·      netsh interface ipv4 set address name="<ID>" source=dhcp

    ·      where ID is the number of the network adapter from Step 2.

    To rename the server (Make this inthyperv01)

    1.   Determine the current name of the server with the hostname or ipconfig command.

    2.   At a command prompt, type:

    netdom renamecomputer <ComputerName> /NewName:<NewComputerName>

    3.   Restart the computer.

  4. To disable the firewall

    ·      Type the following:

    netsh firewall set opmode mode=disable

  5. To enable RDP

    cscript C:\Windows\System32\Scregedit.wsf /ar 0

  6. To activate Server Core

    start /w slmgr.vbs -ipk 7PGF4-P7GJP-FDVWM-RB93X-9XXPX

  7. Check the activation status

    start /w slmgr.vbs –ato

  8. Add Server Core to the domain

    netdom join ComputerName /domain:DomainName /userd:UserName /passwordd:*

  9. Install the Hyper-V role on Server Core

    Start /w ocsetup Microsoft-Hyper-V

  10. Log into your Hyper V Server
  11. Allow program through the firewall, on server

    netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes

  12. on client ———

    netsh firewall add allowedprogram program=%windir%\system32\mmc.exe name="Microsoft Management Console"

  13. net localgroup "Distributed COM Users" /add hyper-v-1\dean
  14. on server ———

    net localgroup "Distributed COM Users" /add hyper-v-1\dean

  15. On the Server, run the setup of SCVMM agent (vmmAgent.msi) from the command prompt. This can be found in the setup files from System Center Virtual Machine Manager.


  16. When adding a host to System Center Virtual Machine Manager, navigate to the folder where the security file is stored. The default location is %SystemRoot%\Program Files\Microsoft System Center Virtual Machine Manager 2007. The name of this file is SecurityFile.txt

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s