使用 Hyper-V 建立虛擬機器Create a Virtual Machine with Hyper-V

建立虛擬機器,並安裝其作業系統。Create a virtual machine and install its operating system.

我們已建置用來建立虛擬機器的新工具,因此過去三個版本的指示已大幅變更。We've been building new tools for creating virtual machines so the instructions have changed significantly over the past three releases.

請選擇您的作業系統以獲得正確的指示集:Pick your operating system for the right set of instructions:

那就開始吧。Let's get started.

Windows 10 Fall Creators Update (Windows 10 版本 1709)Windows 10 Fall Creators Update (Windows 10 version 1709)

在 Fall Creators Update 中,[快速建立] 已擴充為包含虛擬機器資源庫,可從 Hyper-V 管理員獨立啟動。In Fall Creators Update, Quick Create expanded to include a virtual machine gallery that can be launched independently from Hyper-V Manager.

若要在 Fall Creators Update 中建立新的虛擬機器:To create a new virtual machine in Fall Creators Update:

  1. 從 [開始] 功能表開啟 Hyper-V 快速建立。Open Hyper-V Quick Create from the start menu.

    Windows [開始] 功能表中的快速建立資源庫

  2. 選取作業系統或使用本機安裝來源來選擇您自己的項目。Select an operating system or choose your own by using a local installation source.

    資源庫檢視

    1. 如果您要使用自己的映像來建立虛擬機器,請選取 [本機安裝來源] 。If you want to use your own image to create the virtual machine, select Local Installation Source.
    2. 選取 [變更安裝來源] 。Select Change Installation Source. 使用本機安裝來源的按鈕Button to use a local installation source
    3. 選擇您想要轉換成新虛擬機器的 .iso 或 .vhdx。Pick the .iso or .vhdx that you want to turn into a new virtual machine.
    4. 如果映像是 Linux 映像,請取消選取 [安全開機] 選項。If the image is a Linux image, deselect the Secure Boot option. 使用本機安裝來源的按鈕Button to use a local installation source
  3. 選取 [建立虛擬機器]Select "Create Virtual Machine"

這樣就完成了!That's it! 快速建立會打點好剩下的事情。Quick Create will take care of the rest.

Windows 10 Creators Update (Windows 10 版本 1703)Windows 10 Creators Update (Windows 10 version 1703)

快速建立 UI 的螢幕擷取畫面

  1. 從 [開始] 功能表開啟 Hyper-V 管理員。Open Hyper-V Manager from the start menu.

  2. 在 Hyper-V 管理員右邊的 [動作] 功能表中尋找 [快速建立]In Hyper-V Manager, Find Quick Create in the right hand Actions menu.

  3. 自訂您的虛擬機器。Customize your virtual machine.

    • (選用) 為虛擬機器命名。(optional) Give the virtual machine a name.
    • 選取虛擬機器的安裝媒體。Select the installation media for the virtual machine. 您可以從 .iso 或 .vhdx 檔案來安裝。You can install from a .iso or .vhdx file. 如果您是在虛擬機器中安裝 Windows,則可啟用 [Windows 安全開機]。If you are installing Windows in the virtual machine, you can enable Windows Secure Boot. 否則,請保持不選取。Otherwise leave it unselected.
    • 設定網路。Set up network. 如果您有現存的虛擬交換器,可以在 [網路] 下拉式清單中選取。If you have an existing virtual switch, you can select in the network dropdown. 如果沒有現存的交換器,您會看到用來設定自動網路的按鈕,可自動設定虛擬網路。If you have no existing switch, you will see a button to set up an automatic network, which will automatically configure a virtual network.
  4. 按一下 [連線] 來啟動您的虛擬機器。Click Connect to start your virtual machine. 不用擔心是否要編輯設定,您隨時都可以回來變更設定。Don't worry about editing the settings, you can go back and change them any time.

    系統可能會提示您「按任意鍵從 CD 或 DVD 光碟開機」。You may be prompted to ‘Press any key to boot from CD or DVD’. 請按照提示執行這項操作。Go ahead and do so. 據它所知,您是要從 CD 安裝。As far as it knows, you're installing from a CD.

恭喜您,您有了新的虛擬機器。Congratulations, you have a new virtual machine. 現在您可以準備安裝作業系統。Now you're ready to install the operating system.

您的虛擬機器看起來應該像這樣︰Your virtual machine should look something like this:

虛擬機器開始畫面

注意︰ 除非您是執行大量授權版本的 Windows,否則在虛擬機器內執行的 Windows 需要個別授權。Note: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. 虛擬機器的作業系統與主機作業系統無關。The virtual machine's operating system is independent of the host operating system.

Windows 10 Creators Update 之前 (Windows 10 版本 1607 及較舊版本)Before Windows 10 Creators Update (Windows 10 version 1607 and earlier)

如果您不是執行 Windows 10 Creators Update 或更新版本,請遵循下列指示,改用 [新增虛擬機器精靈]:If you aren't running Windows 10 Creators Update or later, follow these instructions using New Virtual Machine Wizard instead:

  1. 建立虛擬網路Create a virtual network
  2. 建立新的虛擬機器Create a new virtual machine