GithubHelp home page GithubHelp logo

hyperv4home's Introduction

A Batch Script for installing Hyper-V and Containers in any Windows 10 Edition

This is a script that I had written to install and enable these 2 features on any Windows Edition so you won't have to install a bunch of stuffs just to install Docker.

Usage

  1. Download the file batch file in this repository or create your own with this content:
:: Hyper-V installation
@echo off
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum>hyper.txt
set "prefix=dism /online /norestart /add-package:^"%SystemRoot%\servicing\Packages\"
for /F "tokens=*" %%A in (hyper.txt) do (
    %prefix%%%A^"
)
echo N | dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
:: Containers installation
dir /b %SystemRoot%\servicing\Packages\*containers*.mum>containers.txt
for /F "tokens=*" %%A in (containers.txt) do (
    %prefix%%%A^"
)
echo N | dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL

pause
  1. Run the .bat file with Administrator.
  2. There will be 2 prompts asking you to restart the computer, just press N so it won't restart, you can restart manually after the installation is completed.

(Optional) For Installing Docker Desktop

To install Docker Desktop, you have to do some tinkering in Windows Registry.

  1. Run regedit.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion and find the Edition ID value. Set its value data to Professional.

Now you can install Docker Desktop on your Windows 10 Home Single Language Edition without hickups

hyperv4home's People

Contributors

luongngocminh avatar

Watchers

James Cloos avatar  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.