Installing hyper-v tools
As a best practice, you should only control integration services from Hyper-V using the instructions above. The matching service in the guest operating system will stop or start automatically when you change its status in Hyper-V. If you start a service in the guest operating system but it is disabled in Hyper-V, the service will stop. If you stop a service in the guest operating system that is enabled in Hyper-V, Hyper-V will eventually start it again. If you disable the service in the guest, Hyper-V will be unable to start it.
Open Services manager by running services. Run either Start-Service or Stop-Service. For example, to turn off Windows PowerShell Direct, run:. Linux integration services are generally provided through the Linux kernel. Integration service daemons that might be listed include the following.
If any are missing, they might not be supported on your system or they might not be installed. To find the PID, look at the second column of the output, or use pidof. Hyper-V daemons run as root, so you'll need root permissions. We recommend that you keep integration services up to date to get the best performance and most recent features for your virtual machines. This happens for most Windows guests by default if they are set up to get important updates from Windows Update.
Linux guests using current kernels will receive the latest integration components when you update the kernel. The image file vmguest. Instructions for applying a cab are available in this blog post.
For hosts earlier than Windows Server and Windows 10, you'll need to manually install or update the integration services in the guest operating systems. Open Hyper-V Manager. Connect to the virtual machine. Right-click the virtual machine and click Connect. This action loads the setup disk in the virtual DVD drive. To do this, click the Windows Start button and type PowerShell. Right-clicPowerShell and click Run as Administrator. When the installation is finished, run the Get-WindowsFeature to verify that everything installed correctly.
In Windows PowerShell, unlike in the Add Roles and Features Wizard, management tools and snap-ins for a role are not included by default. To include management tools as part of a role installation, add the -IncludeManagementTools parameter to the cmdlet.
Management tools and snap-ins can't be installed on servers that runs the Server Core installation option of Windows Server. If you try to install the management tools for the Hyper-V role on a server that runs the Server Core installation option of Windows Server , you are prompted to change the installation option to one that allows the management tools to run.
For more information, see Install-WindowsFeature. If you are connected to the Internet and you enable the feature, the required files will automatically download. If you are not connected to the Internet, you can download the required files and manually copy them to your computer.
Otherwise you must provide the installation media. Right-click PowerShell and click Run as Administrator. On the Assign Memory page, specify enough memory to start the guest operating system. On the Configure Networking page, connect the virtual machine to the switch you created when you installed Hyper-V.
On the Connect Virtual Hard Disk and Installation Options pages, choose the option that is appropriate for how you plan to install the guest operating system:. If you will install the guest operating system from a DVD or an image file an. ISO file , choose Create a virtual hard disk. On the Before you begin page, verify that your destination server and network environment are prepared for the role and feature you want to install.
Click Next. On the Select installation type page, select Role-based or feature-based installation and then click Next.
On the Select destination server page, select a server from the server pool and then click Next. To add the tools that you use to create and manage virtual machines, click Add Features. On the Features page, click Next. On the Confirm installation selections page, select Restart the destination server automatically if required , and then click Install. When installation is finished, verify that Hyper-V installed correctly.
0コメント