6/22/2019 0 Comments Hyper-v Manager Remote AccessNov 2, 2016 - You would reach the VM by connecting with Remote Desktop Client to. You can also install Hyper-V Manager on your local machine. Jan 17, 2008 By default Hyper-V is configured such that only members of the administrators group can create and control virtual machines. Today I am going to show you how to allow a non-administrative user to create and control virtual machines. I have received a number of questions about how to go about setting up remote management of our free Hyper-V server (not the one that is part of Windows). So I thought I would sit down and write up a set of blog posts to talk about how to do this. Today I am going to talk about how to remotely manage a Hyper-V server from a Windows 7 desktop when in a workgroup environment. I am going to assume that you have already installed Hyper-V server and have configured the server name, workgroup name and networking appropriately (in my case – the server name is “Server1” and the workgroup name is “WORKGROUP” – not very original, I know). Also, I am not going to be talking about the other aspects of setting up a Hyper-V server (e.g. configuring automatic updates, enabling remote desktop, etc…). I am just focusing on how to get remote management working. Server Configuration The first thing you will need to do is to go to the Hyper-V server and run SConfig.cmd (this is configured to run automatically when you log into a Hyper-V server – if you have changed this you can start it manually. It is in the WindowsSystem32 folder on the server). Once you are in SConfig.cmd you will need to:
Next, I am going to assume that you are not logged into your Windows 7 computer with the “Administrator” account (which is disabled by default) so you will need to create a second account on the Hyper-V Server. To do this you will need to go into SConfig and:
Next – to enable remote (but read-only) access with device manager – run this command from the command prompt as well: reg add HKLMSoftwarePoliciesMicrosoftWindowsDeviceInstallSettings /v AllowRemoteRPC /t reg_dword /d 1 (once again that is a single command). Finally you will need to restart the server one last time (you can use option 13 on the Sconfig menu). Desktop Configuration Now it is time to go and configure the desktop computer. The first thing to do is to download and install the Remote Server Administration Toolkit. You can download it from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d and install it by just running it and following the prompts. After you have done this you will need to enable the correct remote management tools. To do this:
In most workgroup configurations you will not have reliable name resolution for remote computers (i.e. you need to use the IP address). However – many of the server management tools require that name resolution be working reliably. If you are using a fixed IP address on the Hyper-V server – you can make this work by editing the “hosts” on the desktop computer (note – you can skip this step if you can ping the Hyper-V server using its name and have it resolve to an IP address correctly):
(Here is the hosts file from my desktop – after I have modified it for my server) You will need to enable the use of WinRM to connect to your Hyper-V server. To do this you will need to:
Now you will need to use HVRemote to enable remote management of Hyper-V on the desktop computer.
You can now open Server Manager on the desktop computer. To do this:
After you enter your server name – you should have full access to manage your Hyper-V server: The only caveat here is that Performance monitor still connects to the local computer. You can, however, add individual counters from the remote server one at a time. One thing that tripped me up on this issue is that after entering the server name you need to select the Select counters from computer: drop down and hit enter: Cheers, Applies To: Windows Server 2016, Windows Server 2012 R2, Windows 10, Windows 8.1 This article lists the supported combinations of Hyper-V hosts and Hyper-V Manager versions and describes how to connect to remote and local Hyper-V hosts so you can manage them. Hyper-V Manager lets you manage a small number of Hyper-V hosts, both remote and local. It's installed when you install the Hyper-V Management Tools, which you can do either through a full Hyper-V installation or a tools-only installation. Doing a tools-only installation means you can use the tools on computers that don't meet the hardware requirements to host Hyper-V. For details about hardware for Hyper-V hosts, see System requirements. If Hyper-V Manager isn't installed, see the instructions below. Supported combinations of Hyper-V Manager and Hyper-V host versionsIn some cases you can use a different version of Hyper-V Manager than the Hyper-V version on the host, as shown in the table. When you do this, Hyper-V Manager provides the features available for the version of Hyper-V on the host you're managing. For example, if you use the version of Hyper-V Manager in Windows Server 2012 R2 to remotely manage a host running Hyper-V in Windows Server 2012, you won't be able to use features available in Windows Server 2012 R2 on that Hyper-V host. The following table shows which versions of a Hyper-V host you can manage from a particular version of Hyper-V Manager. Only supported operating system versions are listed. For details about the support status of a particular operating system version, use the Search product lifecyle button on the Microsoft Lifecycle Policy page. In general, older versions of Hyper-V Manager can only manage a Hyper-V host running the same version or the comparable Windows Server version.
Note Service pack support ended for Windows 8 on January 12, 2016. For more information, see the Windows 8.1 FAQ. Connect to a Hyper-V hostTo connect to a Hyper-V host from Hyper-V Manager, right-click Hyper-V Manager in the left pane, and then click Connect to Server. Manage Hyper-V on a local computerHyper-V Manager doesn't list any computers that host Hyper-V until you add the computer, including a local computer. To do this:
If you can't connect:
Manage Hyper-V hosts remotelyTo manage remote Hyper-V hosts, enable remote management on both the local computer and remote host. On Windows Server, open Server Manager >Local Server >Remote management and then click Allow remote connections to this computer. Or, from either operating system, open Windows PowerShell as Administrator and run: Connect to hosts in the same domainFor Windows 8.1 and earlier, remote management works only when the host is in the same domain and your local user account is also on the remote host. To add a remote Hyper-V host to Hyper-V Manager, select Another computer in the Select Computer dialogue box and type the remote host's hostname, NetBIOS name, or fully qualified domain name (FQDN). Hyper-V Manager in Windows Server 2016 and Windows 10 offers more types of remote connection than previous versions, described in the following sections. Connect to a Windows 2016 or Windows 10 remote host as a different userThis lets you connect to the Hyper-V host when you're not running on the local computer as a user that's a member of either the Hyper-V Administrators group or the Administrators group on the Hyper-V host. To do this:
Note This will only work for Windows Server 2016 or Windows 10 remote hosts. Connect to a Windows 2016 or Windows 10 remote host using IP addressTo do this:
Note This will only work for Windows Server 2016 or Windows 10 remote hosts. Connect to a Windows 2016 or Windows 10 remote host outside your domain, or with no domainTo do this:
Next, configure the computer you'll use to manage the Hyper-V host.
Note This will only work for Windows Server 2016 or Windows 10 remote hosts. For cmdlet details, see Set-Item and Enable-WSManCredSSP. Install Hyper-V ManagerTo use a UI tool, choose the one appropriate for the operating system on the computer where you'll run Hyper-V Manager: On Windows Server, open Server Manager > Manage > Add roles and features. Move to the Features page and expand Remote server administration tools > Role administration tools > Hyper-V management tools. On Windows, Hyper-V Manager is available on any Windows operating system that includes Hyper-V.
To use Windows PowerShell, run the following command as Administrator: See also
0 Comments
Leave a Reply. |