Category Archives: Hyper-V

Hyper-V Tips & tricks Utils

VMDK to VHDX

Follow steps:

  • Download: http://www.microsoft.com/en-us/download/details.aspx?id=42497
  • Open Powershell as administrator and run Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'
  • And after ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath
    d:\scratch\vmx\VM-disk1.vmdk -VhdType DynamicHardDisk -VhdFormat vhdx
    -destination c:\vm-disk1

If you counter following error:

ConvertTo-MvmcVirtualHardDisk : The entry 1 is not a supported disk database entry for the descriptor.

In my case it was entry 4

Follow these steps:

  1. download and extract dsfok tools
  2. use dsfo.exe "c:\temp\disk2.vmdk" 512 1024 descriptor1.txt to extract the descriptor
  3. edit the descriptor file in Notepad++: comment the above mentioned line (as I added the extra single character (#) I also deleted one NULL character from the end to keep the file size of 1024 bytes (not sure if this is needed).
  4. use dsfi.exe "c:\temp\disk2.vmdk" 512 1024 descriptor1.txt to inject the descriptor back into the VMDK
  5. repeat these steps for the other disk (my VM has two .vmdk files)
  6. reissue the ConvertTo-MvmcVirtualHardDisk command

 

Source:

https://gist.github.com/rahilwazir/69a750b70348459875cbf40935af02cb

https://stackoverflow.com/questions/37481737/error-when-converting-vmware-virtual-disk-to-hyperv

Related articles:

Yes, you can! Convert VMDK to VHD with these tools

 

Hyper-V Microsoft

How to remove a VM from Hyper-V

Delete the VM from Hyper-V Manager: Open Hyper-V Manager right click the VM you want to remove and click Delete.

This only removed the VM from that Hyper-V Manager.  It did not delete the VMs files.

This is good for porting this VM to another Hyper-V host or back to the original

Hyper-V Microsoft Networking Virtualization

Microsoft Lync

Windows 8 is going to be including a client hypervisor running a version of Hyper-V

  • Hyper-V on Windows 8 client will require 64 bit and SLAT
  • It will support small to large VMs.  The VM size noted included 32 processors and 512 GB of RAM!
  • Console views for virtual machines can support up to 1600 x 1200 (nice, as I have that resolution on my PC)
  • Support for VHD and VHDX
  • “Live Storage Move” capabilities
  • Virtual Machines with using wireless NICs on hosts
  • Physical machine “sleep” still works (major change from previous releases)

source links:

  • http://media.ch9.ms/ch9/cddc/8b132177-428a-4b5d-8267-9f560134cddc/HyperV09062011_low_ch9.mp4
  • http://blogs.msdn.com/b/b8/archive/2011/09/07/bringing-hyper-v-to-windows-8.aspx
  • http://lync.microsoft.com/pt-br/Paginas/default.aspx
  • http://www.microsoft.com/download/en/details.aspx?id=21129
  • http://office.microsoft.com/en-us/communicator-help/video-what-is-lync-2010-VA102056728.aspx
Hyper-V Microsoft

Hyper-V Licensing Explained!

I’ve spoken to a lot of people who have expressed a lot of confusion about the OS licensing model when virtualizing systems using Hyper-V products.

There are some simple guidelines to observe when planning your Hyper-V infrastructure to take advantage of the licensing models for each edition of Windows Server 2008.

First, a term definition: Microsoft uses the term “OSE” to refer to an operating system environment, either physical or virtual. Also, Microsoft refers to a “processor” in the context of a single processor socket on the motherboard. This calculation is not affected when considering multiple core processors or hyper-threading capabilities on certain processor types.

posted in: http://msmvps.com/blogs/virtualreality

read more »