Coder Social home page Coder Social logo

williamqf-ai / winpe-installer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kbarnes3/winpe-installer

0.0 0.0 0.0 403 KB

A custom Windows installer based on WinPE

License: BSD 2-Clause "Simplified" License

PowerShell 99.74% Batchfile 0.26%

winpe-installer's Introduction

WinPE-Installer

A set of scripts that produce a bootable WinPE disc capable of installing a wide variety of Windows versions/SKUs.

These scripts make a lot of assumptions about local paths that are probably wrong on your computer.

It requires many files to create the bootable disc:

  • Windows 11 ADK needs to be installed, along with the Windows PE add-on
  • Windows .isos, available from MSDN with a subscription
  • The latest Cumulative Updates for Windows 11, available from here
  • The latest Cumulative Updates for Windows Server 2022, available from here
  • The required Servicing Stack Updates for Windows, as noted on the individual cumulative update pages
  • Surface drivers, available from here
  • Intel Rapid Storage Drivers should be downloaded from here and extracted for better compatibility in WinPE
  • 7-Zip needs to be installed

To produce the installer, run Setup-Drivers.ps1 followed by Setup-WinPE.ps1 from an Administrator Deployment and Imaging Tools Environment.

To copy the resulting files to a new USB key (128 GB minimum), run the following commands as an administrator:

  • diskpart
  • LIST DISK
  • SELECT DISK n where n is the disk number of your USB key. Make sure to get this right!
  • CONVERT MBR This command may fail with "The specified drive is not convertible". This is fine.
  • CLEAN
  • CREATE PARTITION PRIMARY SIZE=12288
  • FORMAT FS=FAT32 LABEL="WINPE" QUICK
  • ACTIVE
  • ASSIGN
  • CREATE PARTITION PRIMARY
  • FORMAT FS=EXFAT LABEL="DRIVERS" QUICK
  • ASSIGN
  • EXIT

Then copy the contents onto the newly created drives with robocopy:

  • robocopy X:\WinPE_amd64\media Y: /MIR /FFT /DST where X: is your local drive with a generated installed and Y: is the newly created "WINPE" partition.
  • robocopy X:\WinPE_amd64_drivers\media Z: /MIR /FFT /DST where X: is your local drive with a generated installed and Z: is the newly created "DRIVERS" partition.

To update an existing drive, just run the two robocopy commands above.

winpe-installer's People

Contributors

kbarnes3 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.