Git Product home page Git Product logo

hypervswitch's Introduction

Hyper-V Switch

A simple GUI to enable or disable Hyper-V without uninstallation, allowing the use of other virtualisation solutions.

Website: http://unclassified.software/apps/hypervswitch

Hyper-V is Microsoft’s virtualisation solution that can be installed with Windows. Visual Studio device emulators for Windows 10 Mobile rely on Hyper-V for the guest system. While this may work in most cases, it has the major disadvantage that Hyper-V is running permanently when installed, unlike application hypervisors like VMware or VirtualBox. With the Hyper-V hypervisor already running, these other virtualisation solutions cannot work properly, for example 64-bit support is no longer available and performance is degraded because the VT-x CPU hardware extensions are not available inside a VM guest (which your entire Windows desktop will then be). When using device emulators for Android or other VM solutions for other work, Hyper-V interferes badly with those virtualisation applications.

The only option that Microsoft allows is uninstalling the Hyper-V role from Windows. This takes a short time and then restarts the system. It is also a bit hidden within the classic control panel in a lenghty list of features. When installing it again, you need to know which features to select.

Another solution is to configure the BCD boot configuration file to set a parameter that enables or disables Hyper-V on system startup. This parameter can be set with the command line tool bcdedit.exe and Administrator privileges. Again, this is not an intuitive way to work with multiple virtualisation solutions.

Hyper-V Switch automates the second described procedure, reading and writing the BCD file, displaying the current state and offering a one-click action to toggle Hyper-V and restart the computer. The restart is still required because to toggle Hyper-V usage, Windows needs to be booted either without permanent virtualisation or as a virtualised guest from the beginning. Also this information is only available (and can be changed) with Administrator privileges.

To avoid the UAC (Administrator) confirmation for every start of this program, you can create a scheduled task to run this program file, set no trigger, activate the “Highest privileges” option and then create a batch file to run something like schtasks /run /tn HyperVSwitchTaskName.

hypervswitch's People

Contributors

ygoe avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.