This guide will help you set up Windows Setup Helper on a new machine.
For experienced users:
- Extract the project folder to your desired location
- Download a Windows 11/10 ISO
- Install Windows ADK + ADK PE add-on (matching your Windows version)
- Run
BuildUI.batto configure settings - Press [S] to save, [R] to run the build
-
Windows Installer ISO
- Download from: https://www.microsoft.com/software-download/windows11
- Or Windows 10: https://www.microsoft.com/software-download/windows10
-
Windows Assessment and Deployment Kit (ADK)
- CRITICAL: Version must match your Windows ISO version
- See
Extra/ADK-Versions.mdfor version compatibility and download links - Download and install:
- Windows ADK
- Windows PE add-on for ADK
- Windows 10/11 (64-bit)
- Administrator privileges (for building the ISO)
- At least 10 GB free disk space
- Recommended: 16 GB RAM or more
git clone https://github.com/AZComputerGuru/windows-setup-helper.git
cd windows-setup-helper- Extract the
windows-setup-helper.zipto your desired location - Example:
C:\Projects\windows-setup-helper
Important Notes:
- Avoid paths with spaces or special characters
- Recommended location: Root of C: drive or a simple path
- Avoid OneDrive/Cloud synced folders (large ISO files)
-
Navigate to the project folder
cd C:\Path\To\windows-setup-helper -
Run BuildUI.bat (no admin needed for configuration)
BuildUI.bat -
Configure your paths using the menu:
- Press
1to set Source ISO path- Example:
E:\ISOs\Windows11.iso
- Example:
- Press
2to set Media extraction path- Example:
E:\Windows Images\11 - This needs ~8 GB free space
- Example:
- Press
3to set Output ISO path- Example:
E:\Output\Windows11-Custom.iso
- Example:
- Press
4to set Extra files path (optional)- Example:
E:\CustomTools
- Example:
- Press
-
Configure build steps (5-C):
- Toggle steps on [X] or off [ ] as needed
- Default settings work for most users
-
Save and Run:
- Press
Sto save settings to Build.bat - Press
Rto run the build (requires admin)
- Press
Edit Build.bat directly:
set sourceiso=E:\Windows Images\Windows 11 25H2 MCT 2510.iso
set mediapath=E:\Windows Images\11
set outputiso=E:\Windows Images\Windows11.iso
set extrafiles=E:\Windows Images\Additions-
Ensure prerequisites are installed:
- ✓ Windows ADK (correct version)
- ✓ Windows PE add-on for ADK
- ✓ Source Windows ISO downloaded
-
Configure BuildUI.bat (see above)
-
Run the build:
- From BuildUI.bat: Press
R - Or run
Build.batdirectly as Administrator - Or right-click
Build.bat→ Run as Administrator
- From BuildUI.bat: Press
-
Monitor the process:
- Extract ISO: ~5-10 minutes
- Mount WIM: ~2-5 minutes
- Copy Files: ~1 minute
- Add Packages: ~10-15 minutes
- Unmount/Commit: ~5-10 minutes
- Make ISO: ~5 minutes
- Total time: ~30-45 minutes (varies by system)
-
Build complete!
- Output ISO location: As configured in settings
- Use Rufus to create bootable USB
windows-setup-helper/
├── Build.bat # Main build script
├── BuildUI.bat # Configuration UI
├── BuildTools/ # UI framework dependencies
├── Helper/ # Main helper files
│ ├── Main.au3 # AutoIt main script
│ ├── Apps/ # WinGet app installers
│ ├── Scripts/ # Post-install scripts
│ ├── Tools/ # WinPE tools
│ └── PEAutoRun/ # Scripts that run at WinPE boot
├── Windows/ # Font and system files
├── Extra/ # Documentation and assets
└── README.md # Project documentation
- Place executables in
Helper/Tools/ - They'll appear in the WinPE Tools menu
- Place scripts in
Helper/Scripts/orHelper/Apps/ - Select them during automated install
- They run after Windows installation completes
- Place driver files in
Helper/PEAutoRun/Drivers/ - They'll be installed to WinPE automatically
- Check that
mediapathis set correctly - Ensure the parent folder exists
- Path should not include trailing slash
- Verify ADK version matches Windows ISO version
- Run as Administrator
- Check available disk space (need ~10 GB free)
- Ensure ISO extraction completed successfully
- Check
mediapath\sources\boot.wimexists - Re-run with Extract ISO step enabled
- Verify BIOS/UEFI settings on target machine
- Try different USB creation tool (Rufus recommended)
- Rebuild ISO with all steps enabled
Create a separate folder for your custom additions:
E:\MyCustomizations\
├── Helper\
│ ├── Tools\
│ │ └── MyTool.exe
│ └── Scripts\
│ └── MyScript.bat
Set extrafiles=E:\MyCustomizations in Build.bat
These files will be copied OVER the project files, allowing you to:
- Add your own tools/scripts
- Override default configurations
- Keep customizations separate from the main project
Edit Helper\autounattend.xml to customize:
- Language and timezone
- Computer name pattern
- Administrator password
- Domain join settings
- Partition schemes
- Project Repository: https://github.com/AZComputerGuru/windows-setup-helper
- Original Project: https://github.com/jmclaren7/windows-setup-helper
- Issues: Report bugs on GitHub
This fork includes:
- ✨ BuildUI.bat - Easy configuration interface
- 🧹 Removed VNC components
- 🐛 Fixed typos in Main.au3
- 📝 Updated documentation
See LICENSE file in the project root.
Ready to build? Run BuildUI.bat and start customizing your Windows installer!