hyper-v

Running a VM on Windows 8 without disabling Hyper V

ぐ巨炮叔叔 提交于 2020-02-01 05:30:27
问题 I know, there is a bigger discussion about this topic, but currently I did'nt find a good solution for this issue. First: I got a Windows 8.1 host system that uses Hyper V to run the Windows Phone 8 Emulator. I also would like to run a virtual machine on this system (VirtualBox, VMWare, whatever works). The solutions I know: Hyper V Manager to set up a virtual machine (e.g. a UNIX-system) Hyper V is made for server environments, so there are no USB and sound drivers. The usage of bcdedit.exe

[Hyper-V]使用操作系统模板创建新的虚拟机

北慕城南 提交于 2020-01-30 10:13:01
描述: 为了节省空间和时间的目的,先在Hyper-V里创建一个干净的操作系统,以后再创建虚拟机时都基于此操作系统,节省了安装Windows的时间 另外创建其它虚拟机的时候,也以上述虚拟机的磁盘为基础盘,创建差异化磁盘,这样可以节省很多磁盘空间 这篇文字介绍了如何基于虚拟机模板磁盘来创建差异化磁盘,以及如何使用该差异化磁盘创建虚拟机 有关如何创建虚拟机模板请参考另一篇文字: [Hyper-V]制作一个干净的操作系统模板 分两块来介绍 1,如何创建Hyper-V差异化磁盘,这里以DC服务器的磁盘为例 (DC means Domain Controller);Why Diferencing Disk? 空间省矣. 2,如何基于上述差异化磁盘创建虚拟机?这里仍以DC服务器为例说明 步骤: 第一块内容,如何创建Hyper-V差异化磁盘 1 打开Hyper-V,新建虚拟机磁盘文件, Hyper-V Manager | Your Name | New | Hard Disk … 2, Next 3,选择磁盘模式,注意这里需要与你准备好的磁盘模板文件格式一致,如果你模板文件为 VHD 这里就选择第一项,单点 Next 3,选择 Differencing ,单击 Next 4,在 Name 中键入你的新磁盘名称,在 Location 中选择你将要保存磁盘文件的路径,单击 Next 5,单击

Windows 8.1 Hyper-V安装的虚拟机

↘锁芯ラ 提交于 2020-01-30 10:09:03
一、安装Hyper-v   Hyper-V内置于Windows 8中,用户无需格外的下载安装文件,只需要到Windows 8的程序管理中将其选中开启功能即可。      具体步骤:控制面板→程序→启用或关闭Windows功能→勾选Hyper-V→重启电脑。经过两次自动重启过程,Hyper-V就已经部署到了Windows 8中。   成功启用后可以在“开始屏幕”中看到Hyper-V管理器与Hyper-V虚拟机连接,我们点击Hyper-V管理器,开启Hyper-V管理界面。 二、启动Hyper-v   成功启动Hyper-V管理器,可以在Hyper-V管理器的左侧栏中看到一个以你的计算机名为名的Hyper-V服务器,这个就是本地服务器,用户可以通过右侧栏“连接到服务器”功能连接到远程 Hyper-V服务器中。如果没有本地服务器,则代表Hyper-V没有成功安装或相关服务没有被开启,还有一种情况就是CPU不支持。 三、创建虚拟机有向导   接下来我们来创建一个本地的虚拟机。   具体步骤:选中本地服务器,→在右侧栏中会出现操作菜单→新建→虚拟机。   跟着会有个新建虚拟机向导,引导用户创建一台虚拟机。在向导中用户可以设置虚拟机名称、存储位置(包括虚拟机信息及快照存放位置,尽量选择剩余空间较多的分区)分配给此台虚拟 机所使用的内容量、网络参数也就是虚拟网卡(只有未连接状态我们稍后解释)

Unable to start the Windows Phone Emulator

六月ゝ 毕业季﹏ 提交于 2020-01-29 02:48:04
问题 I've seen this error several times. Each time I google deeply and finally made me reinstall my windows and all stuffs. Please help, I don't want to reinstall everything again. The error is: Windows Phone Emulator Unable to start the Windows Phone Emulator Windows Phone Emulator is unable to start because the hypervisor is not running. The likely cause is that hardware-assisted virtualization is not enabled. Check your computer's BIOS to ensure that hardware- assisted virtualization and

MSVM_ComputerSystem WMI class returns only Hyper-V host

我的未来我决定 提交于 2020-01-24 18:00:47
问题 Having a problem in listing list of virtual machine from Hyper-V host (Windows 2012 R2) using WMI query remotely. (select * from MSVM_Computersytem). The query lists only Host system and no virtual machines are listed. WMI query is ran in the context of domain user from a remote system and has all required permission to Hyper-V host’s WMI name space (\root\Virtualization\V2). There is no error in connecting to Virtulization\V2 name space. I don’t see any WMI events in event logger as well.

Hyper-V教程】 安装CentOS7虚拟机

独自空忆成欢 提交于 2020-01-22 22:14:40
一、前言 什么是虚拟机? 简答的说就是在已有的操作系统中使用的虚拟的、可安装操作系统的主机 https://zh.wikipedia.org/wiki/%E8%99%9B%E6%93%AC%E6%A9%9F%E5%99%A8 为什么选择Hyper-V? windowns自带,免费 基础环境 操作系统:Windows10 Hyper-V版本: 10.0.15063.0 二、虚拟机配置 下载CentOS7镜像 https://www.centos.org/download/ 此次安装使用的版本为:CentOS-7-x86_64-Minimal-1611.iso 打开Hyper-V虚拟机管理器&新建虚拟机 指定虚拟机名称&安装位置 选择虚拟机代数 第一代虚拟机(例如Server 2008等平台技术,支持Vista、Win7) 第二代虚拟机(支持专有的安全启动,适用于Win8、Win8.1 Update等新平台) 分配内存 配置网络 默认选择未连接即可,后面将专门写如何配置网络 设置虚拟硬盘位置&大小 虚拟硬盘大小不会直接占用硬盘空间,而是随着虚拟机文件增加而增加 选择镜像文件 一直下一步点击完成即可 三、启动&安装 右键菜单 连接:连接虚拟机 设置:配置虚拟机(硬件、网络等) 检查点:设置虚拟机快照,如果不慎做了误操作可以切换到之前的快照 启动虚拟机 开始安装 选择第一项:Install

Programmatically attaching a VHD to a remote Hyper-V VM

大兔子大兔子 提交于 2020-01-21 08:10:42
问题 Using Hyper-V Manager, I can connect to a remote VM host, go to the settings of a VM, and add an existing .VHD file as a new hard disk. If the VM host is running Server 2008 R2, and the disk is being attached to a SCSI controller, I can even do this while the VM is running (see What's new in Hyper-V R2). Doing this manually, everything works great. The trouble is, now I want to automate it so I can attach different VHDs on-the-fly during some automated tests. I already have C# code that

Hyper-V虚拟机的克隆

跟風遠走 提交于 2020-01-20 20:39:21
实现方法:通过导入导出进行实现 步骤如下: 选中需要导出的虚拟机,点击导出,选择好需要导出的位置 导出完成后,点击导入虚拟机,选定需要导入的位置,注意此位置是刚才导出的位置的下一层目录。 导入类型在此选在选择第三个 继续点击下一步,选择储存文件夹即可 重新设置ip地址 vi / etc / sysconfig / network - scripts / ifcfg - eth0 来源: CSDN 作者: 洺润Star 链接: https://blog.csdn.net/s_zero/article/details/104053083

Windows10家庭版安装Docker(Hyper-V)

拈花ヽ惹草 提交于 2020-01-19 22:29:46
前言 家庭版不支持 Hyper-V , Docker Desktop 是无法直接安装的。但其实家庭版是可以通过脚本开启 Hyper-V 来安装 Docker Desktop 的。 开启Hyper-V 记事本新建 Start Hyper-V.txt 文件,保存后另存为 Start Hyper-V.cmd 文件,然后以管理员身份打开这个文件。提示是否重启,输入 Y 重启,完成就能使用功能完整的Hyper-V了 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum > hyper-v.txt for /f %%i in ( 'findstr /i . hyper-v.txt 2^>nul' ) do dism /online /norestart /add-package: "%SystemRoot%\servicing\Packages\%%i" del hyper-v.txt Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL 家庭版伪装成专业版 Docker Desktop 会在安装的时候检测系统版本,家庭版直接安装会显示安装失败。所以需要改下注册表绕过安装检测。 管理员权限运行如下 cmd

Docker for windows: Error creating machine

落爺英雄遲暮 提交于 2020-01-17 08:29:51
问题 Simply following directions here: https://docs.docker.com/machine/drivers/hyper-v/ Tried this command to create a new virtual machine $ docker-machine create --driver hyperv vm But don't get too far and get this error Running pre-create checks... Creating machine... (vm) Copying C:\Users\vostro\.docker\machine\cache\boot2docker.iso to C:\Users\ (vm) Creating SSH key... (vm) Creating VM... (vm) Using switch "DockerNAT" (vm) Creating VHD (vm) Starting VM... Error creating machine: Error in