未加星标

Change Hyper-V Virtual Hard Disks Folder in Windows 10

字体大小 | |
[系统(windows) 所属分类 系统(windows) | 发布者 店小二04 | 时间 2019 | 作者 红领巾 ] 0人收藏点击收藏

windows 10, Windows 8.1 and Windows 8 come with Client Hyper-V so you can run a supported guest operating system inside a Virtual Machine. Hyper-V is Microsoft's native hypervisor for Windows. It was originally developed for Windows Server 2008 and then ported to Windows client OS. It has improved over time and is present in the latest Windows 10 release as well. Today, we will see how to change the folder which is used to store virtual disks for Hyper-V virtual machines.

RECOMMENDED: Click here to fix Windows errors and optimize system performance

Note: Only Windows 10 Pro, Enterprise, and Educationeditionsinclude the Hyper-V virtualization technology.

What is Hyper-V

Hyper-V is Microsoft's very own virtualization solution that allows creating virtual machines on x86-64 systems running Windows. Hyper-V was first released alongside Windows Server 2008, and has been available without additional charge since Windows Server 2012 and Windows 8. Windows 8 was the first Windows client operating system to include hardware virtualization support natively. With Windows 8.1, Hyper-V has got a number of enhancements such as Enhanced Session Mode, enabling high fidelity graphics for connections to VMs using the RDP protocol, and USB redirection which is enabled from the host to VMs. Windows 10 brings further enhancements to the native hypervisor offering, including:

Hot add and remove for memory and network adapters. Windows PowerShell Direct the ability to run commands inside a virtual machine from the host operating system. linux secure boot - Ubuntu 14.04 and later, and SUSE Linux Enterprise Server 12 OS offerings running on generation 2 virtual machines are now able to boot with the secure boot option enabled. Hyper-V Manager Down-level management - Hyper-V manager can manage computers running Hyper-V on Windows Server 2012, Windows Server 2012 R2 and Windows 8.1. Hyper-V Virtual Machine Files

A virtual machine consists of several files, such as configuration files, and virtual disk files that store the guest operating system for a machine. Virtual disk files are the largest files of your VM. By default, Hyper-V stores them on your system partition. If it is a small disk, you may quickly run out of space. In this case, you can move them to another disk or partition.

To change the Hyper-V Virtual Hard Disks folder in Windows 10, do the following.

Open the Hyper-V Manager from the Start menu. Tip: See Howto navigate apps by alphabet in Windows 10 Start menu . It can be found under Windows Administrative Tools > Hyper - V manager.
Change Hyper-V Virtual Hard Disks Folder in Windows 10
Click on your host name on the left. On the right, click on the link Hyper-V Settings...
Change Hyper-V Virtual Hard Disks Folder in Windows 10
On the left, select Virtual Hard Disks. On the right, specify the desired folder to store the disk files.
Change Hyper-V Virtual Hard Disks Folder in Windows 10

You are done.

Alternatively, you can set this folder with PowerShell.

Change the Hyper-V Virtual Hard Disks folder with PowerShell Open PowerShell as Administrator . Tip: You can add "Open PowerShell As Administrator" context menu .

Type or copy-paste the following command:

Set-VMHost -VirtualHardDiskPath 'D:\hyper-v\disks\'

Substitute the path portion with the correct path for your system.

If you need to change the folder for a remote system, execute the following command: Set-VMHost -ComputerName 'remote host name' -VirtualHardDiskPath'D:\hyper-v\disks\'

That's it!

Related articles:

本文系统(windows)相关术语:三级网络技术 计算机三级网络技术 网络技术基础 计算机网络技术

代码区博客精选文章
分页:12
转载请注明
本文标题:Change Hyper-V Virtual Hard Disks Folder in Windows 10
本站链接:https://www.codesec.net/view/628447.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(windows) | 评论(0) | 阅读(125)