Giter VIP home page Giter VIP logo

minwin's Introduction

ReMin - replicated MinWin

A project of the Replicated Systems Division.

ReMin aims to replicate MinWin/bare-metal Nano Server based on current Windows bits.

image

Current supported base build: 19041.1 ("2004")

How to run

  1. Ensure you have en_windows_server_version_2004_x64_dvd_765aeb22.iso.
  2. Build the tools using build.cmd in their respective directories. Yeah.
  3. Install PowerShell 7 or above on modern Windows 10.
  4. Make sure V:\ and X:\ are not currently mounted to a volume.
  5. From an elevated pwsh, run .\build.ps1 -IsoPath "A:\en_windows_server_version_2004_x64_dvd_765aeb22.iso" -SaveRoot "A:\OS\Save" -WorkRoot "A:\OS\Work", replacing paths with the path to the ISO and a save directory.
  6. You should have A:\OS\Save\OS.vhdx if it completed successfully, which should boot in Hyper-V, other hypervisors, or bare metal if applying correctly.

Known issues

  • msxml6 will crash due to an incorrect urlmon stub in kernelbase.
  • Online servicing requires patched winload since tm.sys and clfs.sys do not get loaded by the Microsoft-signed ApiSetSchema.dll, and these needs a custom API set schema extension (TM-Extension.dll) to load.
  • First boot will have wininit.exe crash and error out with CRITICAL_PROCESS_DIED, reboot after this if not done automatically.
  • The OS itself does not have a login guard and will auto-logon as SYSTEM.

Todos

Ever-evolving.

  • Apply deltas so we don't have to include pre-reverted PSFX forwarders.
  • Fix LSA init bug on first boot.
  • Be more build-independent.
  • Automatically patch wcp.dll instead of pre-bundling such.
  • More components that one might need/want.
    • Hyper-V host?
    • Hacks to support WAC more cleanly?
    • PowerShell bundled natively?
    • Extra CLI utilities?
    • An installer booting in WinPE mode?
    • Logon!
  • Custom CUs to patch components not covered by default package.
  • Better way to break CI? Have a custom root added?
  • Automatic component generation instead of the current mess of slightly-hacked components?

Fun tricks

  • You can run PowerShell 7 and it'll work. Pretty helpful as many utilities for use with cmd.exe are missing.
  • Same goes for the 19041.388 CU, the related SSU and the 20H2 enablement package. Do note that dism /add-package will want an extracted .cab from the .msu, and some components do not get updated as they don't match original OS package composition.
  • OpenSSH-Server-Package.cab will also install and run fine.
  • curl.exe and tar.exe are installed and work just as they do on normal Windows.

minwin's People

Contributors

rts522a avatar replisys-author avatar

Watchers

 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.