GithubHelp home page GithubHelp logo

syxo / windows-imaging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plutonic1/windows-imaging

0.0 1.0 0.0 10 KB

useful scripts for the deployment of a customized Windows 10

Batchfile 90.89% PowerShell 9.11%

windows-imaging's Introduction

Windows-Imaging

my customized Windows 10

Instructions:

  1. Install the Windows ADK and use copype to create a WinPE environment: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive

  2. Copy all .bat files into the WinPE directory.

  3. Look at all scripts and change the paths to match your environment.

  4. Start cmd.bat as admin. In the cmd, start .\mount.bat to mount the WinPE boot image. Now you can e.g. edit .\mount\Windows\System32\startnet.cmd to launch your custom scripts. In this example, add the line start powershell Powershell.exe -noexit -executionpolicy remotesigned -File X:\start.ps1 to startnet.cmd and place start.ps1 in .\mount.

  5. Edit german.bat to match your keyboard layout and execute it from the elevated cmd.

  6. Run .\unmount.bat to unmount the image from the elevated cmd and use .\makeiso.bat to create a bootable .iso.

  7. Boot that iso on a machine that has an already installed Windows 10 on it. Use Dism /Capture-Image or imagex /capture to copy the Windows to a .wim file.

  8. Boot the machine on which you want to install your custom Windows 10 and use diskpart to create a partition layout. I have included the layout that I use in uefi.txt which you can apply with diskpart /s D:\uefi.txt (your path may be different). Then use dism /Apply-Image or imagex /apply to copy the .wim file to the machine.

Hints:

You can use the start.ps1 to automate the steps 7 and 8. Additionally you could e.g. ask for the new pc name and user name in start.ps1 and automatically rename the new pc accordingly and create a new user.

windows-imaging's People

Contributors

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