Disable Hyper-V under Windows 10

Image of the RAW mode error.

Trying to disable Hyper-V under Windows 10 is a little trickier than simply uninstalling it; but not much!

tl;dr If you’re just interested in how to disable Hyper-V so VirtualBox can get RAW mode, skip down to the “Turning off Hyper-V” section below.

Some background

I am a fan of virtual machines but I don’t get to use them often at work. I do use them at home to evaluate operating systems like Linux from time to time for fun and staying aware.

Most of my computer use is with Microsoft platforms though I have had a few Macs and Linux desktops over the years.

The addition of the Hyper-V into the Windows 10 operating system is exciting because it reduces the number of software setups required after a new  setup – everybody has time for that!

I have  been digging into privacy and security lately; No doubt you’ve seen the data-breaches and customer privacy abuse headlines over the years.

I have used Tor browser by the Tor Project which led me to their Tails operating system, “a live operating system that you can start on almost any computer from a USB stick or a DVD.

The plot thickens

While looking into Tails, two other security and privacy minded operating systems were found to be more recommended (high counts of recommendations not necessarily authoritative ones): Qubes and Whonix.

This post won’t go into the details of what these operating systems offer, but they were interesting enough to make it on to the list for evaluation.

And the Gotcha!

Qubes will not install on a Hyper-V virtual machine. There are many systems it can run, however Qubes is not one of them. The only choice is disabling Hyper-V.

More digging uncovered reports of being able to convert an existing Qubes VM to the Hyper-V format. My use case is to install the operating system manually to an empty VM.

There are third-party Qubes VMS out there but not being able to build it yourself stands against the fundamental privacy premise.

Starting a VirtualBox virtual machine with an active Hyper-V will cause the following error:

Image of the RAW mode error: "Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)."
RAW mode error caused by Hyper-V being active. “Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT).”

Disable Hyper-V

Step 1: Disable Hyper-V Windows 10 features

  • Start the Turn Windows features on or off application
  • Ensure the following items’ checkbox icons are unchecked:
    • Hyper-V and it’s sub-items
      • Hyper-V Management Tools
        • Hyper-V GUI Manaement Tools
        • Hyper-V Module for Windows PowerShell
      • Hyper-V Platform
        • Hyper-V Hypervisor
        • Hyper-V Services
    • Windows Hypervisor Platform
    • Virtual Machine Platform (may be unrelated, needs additional testing. Not a feature I need or use normally.)

Step 2: Ensure Windows 10 boot does not automatically launch Hypervisor

Found this post at ErpNext.com by: Sirjames

  • Open the command prompt as an Administrator.
  • Run the command with no argument: bcdedit. Note the property hypervisorlaunchtype is set Auto by default.
  • Disable Hyper-V by running the command: bcdedit /set hypervisorlaunchtype off
  • Restart the system.

Turning it back on

To re-enable Hyper-V back on, run the command: bcdedit /set hypervisorlaunchtype auto
You will need to reboot the system to use Hyper-V.

Musings on a plane

As Rachel and I fly to Charlotte, North Carolina to visit Cristian at school for Dinner at the school restauraunt, Phidon. He has the role of General Manager for this project. As I sit here, I realize I want to write down a few thoughts.

We are on the first leg of our journey, from Cleveland to Atlanta and our first and only layover until the return flight tomorrow night. Our flight boarded around 6:00 am at the Akron-Canton Airport. It’s a smaller airport and much quicker to get through but it’s a farther drive to get there, especially at a quarter to five in the morning; thank goodness Rachel was driving.

I have a window seat and as I write this I am   looking down I to the top of clouds, the view is amazing! My seat is directly next for the engine and I can see most of the wing in my frame of view out of the window and when I look out it, I can’t help but marvel at the engineering that lets us play in places where people aren’t made for.
We must be descending because the clouds below are now closer and larger. The view is amazing, these phone pictures just don’t really do it justice.

Out the window and up

This Is the first airplane trip that Rachel and I have taken together. We have been on trips that involved planes however we both have never been on the same o e at the same time. I (well both of us honestly) have been looking forward to this trip because though short, it’s just her and I traveling now that the kids are old enough and this is some exciting new territory for us as LJ is a sophomore now and will be college bound soon enough, we will be able to travel more and hopefully move somewhere who’s climate agrees better with us.

Looking out the plane window above the cloud line.
Break on through to the other side!

Up here above the clouds, i am reminded that on the ground, when the skies are dark and overcast, just above the clouds, the skies are bright blue and it’s a beautiful day. I hope I can remember that when my feet are back on the ground.
We are descending now to land in Atlanta, GA at around 8:01 am. As we go through the clouds, you can’t see anything but grey out the window; I can only hope the pilot has ways of seeing through this (ok ow they do 😉).

 

How do you navigate through this pea soup?
How do you navigate through this pea soup?

We’ll be landing soon, here’s hoping the landing gear works!

A hard start

I was fortunate enough to be able to buy a great house exactly where I wanted to live in December of last year. It was a long road, albeit by choice, to get here. I am a big fan of flexibility and in fact, my life for quite a while involved a lot of travelling across the country to see my family.

I’m not complaining, that is just how it went down for me and it was great. But I bought this house, which again, I really do like. Feels very homey to me now, more so every day in fact. This morning I stepped outside with my coffee and realized I was too warm in my tshirt and hoody and had to take it off. If you know me personally, you’ll likely recall that I am usually cold and winter makes me cry like a little child :'(

At any rate. Last weekend, the garage was finally emptied of all boxes and we could park in there, which is awesome (thank you Rachel!) However, there is now a ton of boxes back in the house again. Its somewhat overwhelming.

I feel like I waste too much time winding down from a day at work. Don’t get me wrong, I love working and I love developing software of any kind on any platform. But being a person, I do have some personal preferences which I consider ideal. I find when they are not met it physically and emotionally takes a toll on the energy allotment I have to live with.

Well, this stuff is not going to put itself away, I guess I just wish I felt more like doing it. I’m sure when it’s done, I’ll feel great about it, just that damn motivation.

Anyway, wish me luck, tomorrow is looking like it’s going to be a busy one. Oh yeah, and then Boy Scouts at 7:30. Make that, it looks like it’s going to be a long, busy one 😉

Impressed but not impressively- A friend’s interview code sample

So a friend of mine is currently employed at a large multi-national IT contracting company. Well, that’s not entirely true, the company does staff augmentation for many sectors, IT being one of them, and while they can provide full software development life cycle services, they are typically staff augmentation.

That being said, he’s a developer. And a developer who came to developing later in life after learning, living, and dumping a previous career. He’s been doing professional development (i.e. it is his sole income) for 6 years and of the many developers I know he’s a natural, learns quick and the “right way” and the why’s. I’d hire the man for a senior developer position in a minute.

However, the economy being what it is, he is currently working a junior developer position. By which I mean doing senior developer work for junior developer money. Hey, it’s beats unemployment, no doubt, however things could be better along the compensation lines. As I’ve said, the man does not play around and he’d be a bargain at 3 times his salary (straight up.)

Well like any sane person (well as sane as one can be and still want to be a software developer), he’s taking the initiative and looking around for other employment where the compensation will be more commensurate with his efforts, and the challenges will be developmental and not overcoming ridiculous arbitrary management process (again, you’ll have to take my word that the problems are ridiculous and that he can not change them.)

So one of the places his recruiter is submitting his resume to is requiring he write a small windows console application that satisfies the following requirements:

  • Counts from between 1 and 100 inclusively
  • When the number is evenly divisible by 3, it should print “One
  • When the number is evenly divisible by 5, it should print “Two
  • When the number is evenly divisible by 3 and 5, it should print “OneTwo
  • When the number is not evenly divisible by 3 or 5, it should print the number
  • Ok, fair enough. I love that they asked for a code sample. At the end of the day, writing the code is part and parcel for software developers and I feel that the trend of those “what did you have to do”, “what were the results of doing it”, and “what could you have done differently” interviews… Sure you need to make sure the person is a good fit for the team as far as socializing, personality, not an asshat, but if they are a good fit, can they design and/or write the code.

    Well, I’ll say you have to at least consider it for a second but the above is not that challenging. Basically it will show you know how to nest/cascade if’s and perhaps know about the modulo operator.

    I would have been more impressed if they asked for a super and derived classes using interfaces to model a car, motorcyle, and airplane. But, I don’t know the company’s true needs so I’ll give them the benefit of the doubt.

    Anyway, good luck my man!

    Below is what I did… I feel it could be more performant but is pretty readable and gentle enough on resources for most stuff (I had to take a swing right?!?) …

    static void Main(string[] args)
    {
        StringBuilder valueBuilder = new StringBuilder();
        for (int counter = 1; counter <= 100; counter++)
        {
            if (counter % 3 == 0) valueBuilder.Append(“One”);
                if (counter % 5 == 0) valueBuilder.Append(“Two”);
                if (valueBuilder.Length == 0) valueBuilder.Append(counter.ToString());
                Console.WriteLine(valueBuilder.ToString());
                valueBuilder.Clear();
            }
        }
    }

    On moving, home buying, and me

    Well, it’s been much longer than I had planned between writing here. But I have a reason excuse?

    I just purchased my first home. It’s pretty exhausting and umm just really a general pain in the ass. However it is also pretty damn exciting. I’m relatively late to the game at 38 for a first home. I’ve been making enough money to get the job done for quite some time now but due to a marriage, child, divorce. I ended up doing some moving around and really grew to enjoy the freedom of being able to be where ever I really needed to be, if I really needed to be there.

    My general first time home buying view is not as great as it could have been. But it certainly was an interesting learning experience. The home that I purchased was the second home I brought into the underwriting stage. Which, for the uninitiated I’ll just say is pretty far into the “buy it” portion of the game. All the inspections, appraisals, repair work, documenting repair work, re-repair work due to lack of work permit originally had already been completed it was simply the act of jumping through the lender’s financial hoops for final thumbs up.

    The annoying part is that the financial guy should have caught the problem the second he had all the financial numbers. In a nutshell, since the whole housing market collapse debacle, the mortgage industry does a lot more due diligence (as then damn well should have been doing all along!) which basically results in many small rules changing every week. Well, absolutely your financial guy should be on top of every nuance of it. That’s his job. However in this case, since I earned my income though contracting, I had to prove a years worth of uninterrupted employment instead of a standard six months, for you average permanent employee.

    Make no mistake, I am happy to abide by any laws / rules that guide this process, but this was something that could have saved a whole lot of people a whole lot of time. In the end, the sellers did not want to risk not selling their house on the hopes of my employment not being terminated (which was never an issue, but how do you really prove that anyway.) I can’t blame them, though sadly, their house is still for sale and I live in a larger house around the corner for the same price. Sometimes gambles don’t pay off, or maybe they just didn’t care.

    It was tough getting that far invested into a house and then have it unravel. It all worked out for the best and my financial guy did in fact come through come close time, which I really appreciated and totally helped out at the exact second I needed it to!

    The second house, the one in I did in fact buy, really felt like home the second I walked into it, and the seller was great and easy to work with. I like to think I was a good buyer as well. After negotiating the price that is Winking smile

    It’s just almost a surreal feeling to sit in my basement in front of my computer and bang out a post in my own home. I honestly thought I would never buy one. It’s amazing how much life changes, and how good it can turn out being despite hard-times, penny-pinching, and life’s not-so-little obstacles.

    Overall, the whole experience is a must have. +1