The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,640 other followers

Archive for the ‘Hyper-V’ Category

Windows 10 1511 update broke the Hyper-V networking – Fix network connection issues

Posted by jpluimers on 2016/04/11

After updating a Windows 8.1 machine that had Hyper-V running, none of the VMs could access any networking: Windows 10 build 1511 completely broke the vSwitch infrastructure.

This is what I had to do:

  1. Reinstall network devices using netcfg –d command (Source: Fix network connection issues – Windows Help)
  2. Reboot host
  3. Create a new vSwitch in Hyper-V (as the old one was gone)
  4. Remove the network adapters of the VMs (they were in a limbo state)
  5. Add new network adapters to the VMs connecting them to the correct vSwitch.

This was the umpteenth time Hyper-V let me down, so in the future I’m back to VMware or Virtual Box.

Windows 10 also broke Everything Search Engine and UBCD4Win. I could not get UBCD4Win to work again, but a reinstall of Everything made it to work again.

And Windows 10 moved a lot of things away from the Control Panel, which means that things that basically worked for more than a decade are now gone. For instance, Windows updates now must be run with a shortcut like this:


Note that’s for a DUTCH system. For a US-English system of course the shortcut is different:


This feels like “1998 wants its VBA translated languages back”.

Of course I could get around this by building a table translatingto a text language code from the numeric language code* from the below command, but that’s not the point: Windows 10 makes life harder.

reg query “hklm\system\controlset001\control\nls\language” /v Installlanguage
returns codes like 0407, 0409, 040D, 0413, etc.


*: Heck if Microsoft cannot even update their 2002 Table of Language Culture Names, Codes, and ISO Values Method [C++] and has trouble keeping the various .NET version pages updated**, how could I?

**: these are the only .NET versions the table is documented

Posted in Everything by VoidTools, Hyper-V, Power User, Virtualization, Windows | 1 Comment »

P2V of an existing XP machine to Hyper-V to have an emergency fallback when retiring old XP physical machines

Posted by jpluimers on 2015/04/27


  1. Put the SATA disk of the XP machine in a different one.
  2. Disk2Vhd on the new machine to create a VHDX of the XP hard disk.
  3. Install Hyper-V on the target Windows 8.1 machine (you need at least Pro for that).
  4. Setup the base VM directory.
  5. Setup a virtual network switch (decide if you want it to be internal, external or private, then bind it to a network adapter if needed).
  6. Add a new VM.
  7. Assign a new directory to it.
  8. Assign memory to it.
  9. Assign the virtual network switch to it.
  10. Save it.
  11. Edit the settings, then bind the DVD drive on the IDE controller 1 to C:\Windows\System32\vmguest.iso.
  12. Connect to the VM.
  13. Start it.
  14. If you get a stop 0x0000007B (usually because of SATA/AHCI issues), then read Jon’s Project Blog » disk2vhd using UBCD for Windows to solve the issue as there is no BIOS screen in Hyper-V that allows you to switch from AHCI to SATA and back.
  15. Note: you cannot perform UBCD4Win when you access the Hyper-V host through Microsoft Remote Desktop (the mouse will not work at all, and most keyboard shortcuts will not work either; Virtual Machine Connection Key Combinations with Hyper-V – Ben Armstrong – Site Home – MSDN Blogs does not apply).
  16. Boot.
  17. Register Windows (you might need to do extra work to go from OEM to Retail here).
  18. Remove hidden devices that are not used any more and their drivers.
  19. Setup a backup schedule.

Some links that helped me get at these steps:


Posted in BIOS, Boot, Hyper-V, Power User, Virtualization, Windows, Windows 8, Windows 8.1, Windows XP | Leave a Comment »

ECC vs non-ECC RAM: The Great Debate (via: Nex7’s Blog). Use the ECC dude.

Posted by jpluimers on 2014/03/30

Read this very nice post on Nex7’s Blog: ECC vs non-ECC RAM: The Great Debate.

There is no debate. Use ECC dude.

Use ECC especially for server side things (storage, virtualization, databases, etc) where you employ some kind of redundancy/correction in the storage (ZFS, RAID, etc) side of things.

And think about using ECC for the rest of your stuff, especially when things stay in memory for a longer period of time (in-memory processing of data can speed up things a lot, but also increase the risk).


There is no debate here. None.


if you think non-ECC RAM can compete with ECC RAM, you are mistaken. If you think there’s a risk/reward analysis here, you’re correct. The risk is not gigantic, and there’s a real cost to alleviating that risk. You have to decide if that cost is worth alleviating that risk.


If you believe there’s a risk/reward plan where you can take the reward and apply to to mitigate the risk, you are back to being mistaken. The only benefit of non-ECC RAM (and thus the only reward in its choice over ECC RAM) is it will make the solution cheaper. There is not, however, any way (that I’ve heard of, yet) you can use the cost savings to mitigate the risk using non-ECC RAM will introduce.


If you choose to use non-ECC RAM, you open yourself up to a new vector for data corruption/loss/downtime/errors/etc,

one that could (rarely) even cause you to lose your entire filesystem, and one ZFS does not (cannot) resolve for you. Indeed, one it likely can’t even see at all. If you choose to employ non-ECC RAM, or are forced to do so because of circumstance or environmental constraint, that’s potentially understandable (and even acceptable) – but do not then attempt to validate or explain away that choice with pseudoscience or downplaying the risk you’ve added. You are using an inferior solution with an extra vector for data corruption/loss that ECC RAM solutions simply do not have. It is that simple.


Hint 3: There’s a reason we’re so gung-ho about using ECC RAM for ZFS, and it’s not just because we’re paranoid about data loss (which goes hand in hand with being a ZFS zealot, really). It is because you likely don’t realize how at risk you are. Due to the nature of how ZFS handles writes, your incoming (write) data is at risk of RAM-related bit errors for likely significantly longer than traditional storage solutions or alternative filesystems. 5, 10, 30, 60 or more seconds in a state where it is at risk.

Read the rest of this entry »

Posted in *nix, ECC memory, Endian, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Hardware, Hyper-V, Linux, Memory, Power User, SuSE Linux, VMware, VMware ESXi, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2 | Tagged: , | Leave a Comment »

%d bloggers like this: