How to Setting up Hyper-V server 2012 R2 on workgroup

On Server (Hyper-V):

Enable your local server to be managed by Server Manager on a remote computer.

run the Windows PowerShell cmdlet

Configure-SMRemoting.exe -Enable

Configure firewall…

netsh advfirewall set currentprofile settings remotemanagement enable
netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes

If you what to use Server Manager for remote administration remember to enable “Remote Event Log Management” in the list of INBOUND rules.

On Clients:

Enable COM remote access

run dcomcnfg
open component services –> computers
right-click -> my computer -> properties
select “COM SECURITY” tab
under “ACCESS PERMISSIONS” select “edit limits”
select “ANONYMOUS LOGON”, and tick “remote access” under ALLOW

Without this adjustment, you can’t connect to your Hyper-V server with the Hyper-V manager if you’re not in a domain.
… make sure you have enabled remote management (number 4) on the Hyper-V server console.

Put Hyper-V on Trusted Host for WinRM

set-item WSMAN:\localhost\client\trustedhosts -value YOURSERVERNAME -concatenate

Add User/Password for remote connection

cmdkey /add:<ServerName> /user:<UserName>/pass:<Password>

ServerName is the name of the Hyper-V server
UserName is the name of an Administrator on Hyper-V
To be prompted for a password, imit the /pass option

Additional tasks on Hyper-V…

To configure network…

…find configured IP address

Get-NetAdapter | ft name
Get-NetAdapter -name "vEthernet (External)" | Get-NetIPAddress

…disable DNS registration

Set-DnsClient -interfacealias "vEthernet (External)" -RegisterThisConnectionsAddress $false

…enable/disable network adapter

Disable-NetAdapter -Name <InterfaceAlias>
Enable-NetAdapter -Name <InterfaceAlias>

…disable IPV6

Set-NetAdapterBinding -Name <InterfaceAlias> -ComponentID ms_tcpip6 -Enabled $false

Add hardware to a server in Server Core mode…

If the driver for the hardware is included in Windows Server 2012, Plug and Play will start and install the driver.

If the driver for the hardware is not included, proceed with next steps:
Copy the driver files to a temporary folder on the server running a Server Core installation
At a command prompt, open the folder where the driver files are located, and then run the following command:

pnputil -i -a <driverinf>

driveinf is the file name of the .inf file for the driver.

…to obtain a list of drivers that are installed, at command prompt, run:

sc query type= driver

Remote Powershell


DNS Client:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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


Connecting to %s