Skip to content

Commit 5fc566b

Browse files
authored
Winutil website edit (ChrisTitusTech#4140)
* updated the iso creator docs * added creator info to the arch docs
1 parent b493737 commit 5fc566b

2 files changed

Lines changed: 174 additions & 8 deletions

File tree

docs/content/dev/architecture.md

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,154 @@ winutil/
128128
- CheckBoxes for options
129129
- ListBoxes for selections
130130

131+
## Win11 Creator Architecture
132+
133+
The **Win11 Creator** is a specialized subsystem within Winutil that creates customized Windows 11 ISOs. It operates independently from the main package installation and tweak system.
134+
135+
### Win11 Creator Components
136+
137+
**Core Functions** (`functions/private/`):
138+
- `Invoke-WinUtilISO.ps1`: Main orchestrator containing all Win11 Creator functions
139+
- `Invoke-WinUtilISOBrowse`: ISO file selection dialog
140+
- `Invoke-WinUtilISOMountAndVerify`: Validates and mounts ISO, verifies it's official Windows 11
141+
- `Invoke-WinUtilISOModify`: Launches modification in background runspace
142+
- `Invoke-WinUtilISOExport`: Handles ISO and USB export
143+
- `Invoke-WinUtilISOCheckExistingWork`: Recovers incomplete work sessions
144+
- `Invoke-WinUtilISOCleanAndReset`: Cleans up temp directories and resets UI
145+
146+
- `Invoke-WinUtilISOScript.ps1`: Applies modifications to mounted install.wim
147+
- Removes provisioned AppX packages (40+ bloatware apps)
148+
- Injects drivers (optional) from current system
149+
- Removes OneDrive setup files
150+
- Applies offline registry tweaks (hardware bypass, privacy, telemetry, OOBE)
151+
- Deletes telemetry scheduled task definitions
152+
- Pre-stages setup scripts from autounattend.xml
153+
- Removes unused Windows editions
154+
- Cleans component store via DISM
155+
156+
### Win11 Creator Data Flow
157+
158+
```
159+
User selects official Windows 11 ISO
160+
161+
Invoke-WinUtilISOBrowse → OpenFileDialog, validates file size
162+
163+
Invoke-WinUtilISOMountAndVerify
164+
├─ Mount ISO via Mount-DiskImage
165+
├─ Verify install.wim or install.esd exists
166+
├─ Check for "Windows 11" in image metadata
167+
├─ Extract available editions (Home, Pro, Enterprise, etc.)
168+
└─ Store ISO path, drive letter, WIM path, image info in $sync
169+
170+
User optionally enables Driver Injection checkbox
171+
172+
Invoke-WinUtilISOModify (runs in background runspace)
173+
├─ Create work directory: ~WinUtil_Win11ISO_[timestamp]
174+
├─ Copy ISO contents to disk (~5-6 GB)
175+
├─ Mount install.wim at selected edition/index
176+
├─ Invoke-WinUtilISOScript:
177+
│ ├─ Remove 40+ bloat AppX packages
178+
│ ├─ Export and inject drivers (if enabled)
179+
│ ├─ Remove OneDrive setup
180+
│ ├─ Load offline registry hives
181+
│ ├─ Apply 50+ registry tweaks (hardware bypass, privacy, telemetry, OOBE, etc.)
182+
│ ├─ Delete telemetry scheduled task files
183+
│ ├─ Pre-stage setup scripts from autounattend.xml to C:\Windows\Setup\Scripts\
184+
│ └─ Unload registry hives
185+
├─ DISM /Cleanup-Image /StartComponentCleanup /ResetBase (saves 300-800 MB)
186+
├─ Dismount and save modified install.wim (~10+ minutes, slowest step)
187+
├─ Export selected edition only (removes all other editions, saves 1-2 GB each)
188+
├─ Dismount source ISO
189+
└─ Report completion, enable export options
190+
191+
Invoke-WinUtilISOExport (user chooses output)
192+
├─ Option 1: Save as ISO
193+
│ ├─ Build bootable ISO via oscdimg.exe (BIOS/UEFI dual-boot)
194+
│ └─ Output: Win11_Modified_[date].iso (2.5-3.5 GB)
195+
196+
└─ Option 2: Write to USB
197+
├─ Format USB as GPT
198+
├─ Create 512 MB EFI partition
199+
├─ Copy modified ISO contents
200+
└─ Output: Bootable USB (minimum 8 GB)
201+
202+
Invoke-WinUtilISOCleanAndReset (optional)
203+
└─ Delete temp working directory (~10-15 GB)
204+
└─ Reset UI to initial state
205+
```
206+
207+
### Win11 Creator Validation & Safety
208+
209+
**ISO Validation**:
210+
- Only accepts official Microsoft Windows 11 ISOs
211+
- Validates presence of install.wim or install.esd
212+
- Checks image metadata for "Windows 11" string
213+
- Rejects custom, modified, or non-Windows 11 ISOs
214+
215+
**Work Session Recovery**:
216+
- Auto-detects incomplete work from previous sessions
217+
- Allows resuming Step 4 (export) without re-running Steps 1-3
218+
- Prevents redundant modifications
219+
220+
**Modification Safety**:
221+
- All registry changes are documented in script (reversible)
222+
- Original ISO never modified; only working copy
223+
- Logged to `WinUtil_Win11ISO.log` for debugging
224+
- DISM handles image dismount with automatic cleanup on error
225+
226+
### Win11 Creator Registry Tweaks
227+
228+
The `Invoke-WinUtilISOScript` function applies **50+ offline registry tweaks**:
229+
230+
**Hardware Bypass**:
231+
- TPM 2.0 check bypass
232+
- Secure Boot requirement bypass
233+
- CPU compatibility bypass
234+
- RAM requirement bypass
235+
- Storage check bypass
236+
237+
**Privacy & Telemetry**:
238+
- Disable advertising ID
239+
- Disable tailored experiences
240+
- Disable input personalization
241+
- Disable speech online privacy
242+
- Disable cloud content suggestions
243+
- Disable app suggestion subscriptions
244+
- Remove CEIP, Appraiser, WaaSMedic, etc.
245+
246+
**OOBE & Setup**:
247+
- Enable local account setup
248+
- Skip Microsoft account requirement
249+
- Dark mode by default
250+
- Empty taskbar and Start Menu
251+
252+
**Post-Setup Installations**:
253+
- Prevent DevHome auto-installation
254+
- Prevent new Outlook Mail app installation
255+
- Prevent Teams auto-installation
256+
257+
**System Features**:
258+
- Disable BitLocker and device encryption
259+
- Disable Chat icon from taskbar
260+
- Disable OneDrive folder backup
261+
- Disable Copilot
262+
- Disable Windows Update during OOBE (re-enabled at first login)
263+
264+
### Driver Injection Feature
265+
266+
**Optional Enhancement**: When enabled, exports all drivers from the running system and injects them into both:
267+
- `install.wim` (main OS image)
268+
- `boot.wim` index 2 (Windows Setup PE environment)
269+
270+
**Use Case**: Enables offline installation on systems with missing drivers.
271+
272+
### Disk Space Requirements
273+
274+
- **Temporary working directory**: ~10-15 GB
275+
- **Original ISO**: 4-6 GB
276+
- **Modified ISO**: 2.5-3.5 GB
277+
- **Total needed**: ~25 GB for safe operation
278+
131279
## Data Flow
132280

133281
### Application Installation Flow
@@ -514,6 +662,7 @@ Outputs `winutil.ps1` in the root directory.
514662

515663
- [Contributing Guide](../../contributing/) - How to contribute code
516664
- [User Guide](../../userguide/) - End-user documentation
665+
- [Win11 Creator Guide](../../userguide/win11Creator/) - Building customized Windows 11 ISOs
517666
- [FAQ](../../faq/) - Common questions
518667

519668
## Additional Resources

docs/content/userguide/win11Creator/_index.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ weight: 5
88
Winutil includes a built-in **Win11 Creator** tool that lets you take any official Windows 11 ISO and produce a customized, debloated version — with telemetry removed, hardware requirement checks bypassed, and local account setup enabled out of the box. You can export the result as a new ISO file or write it directly to a USB drive.
99

1010
> [!IMPORTANT]
11-
> You need a valid Windows 11 ISO before starting. Download one from [Microsoft's official site](https://www.microsoft.com/en-us/software-download/windows11) or use [UUP Dump](https://uupdump.net/). The process uses ~10–15 GB of temporary disk space, so make sure you have room.
11+
> You need an **official Windows 11 ISO** from [Microsoft's website](https://www.microsoft.com/en-us/software-download/windows11) before starting. Custom, modified, or non-official ISOs are not supported. The process uses ~10–15 GB of temporary disk space, so make sure you have room.
1212
1313
---
1414

15-
### Step 1 — Select Your ISO
15+
### Step 1 — Select Your Official Windows 11 ISO
1616

1717
1. Open Winutil and go to the **Win11 Creator** tab.
18-
2. Click **Browse** and select your Windows 11 ISO file (must be 4 GB or larger).
18+
2. Click **Browse** and select your **official Windows 11 ISO file** from Microsoft (must be 4 GB or larger). Custom or modified ISOs are not supported.
1919
3. The file path and size will appear on screen once selected.
2020

2121
---
@@ -35,14 +35,31 @@ Winutil includes a built-in **Win11 Creator** tool that lets you take any offici
3535

3636
Click **Run Windows ISO Modification and Creator** to start the customization process. Winutil will:
3737

38+
**App & Component Removal:**
3839
- **Remove 40+ bloat apps** — Clipchamp, Teams, Copilot, Dev Home, new Outlook, Bing apps, Solitaire, and more
3940
- **Delete OneDrive setup** from the image
40-
- **Apply registry tweaks** — disables telemetry, advertising ID, tailored experiences, and cloud content features
41+
42+
**System Customization:**
4143
- **Bypass hardware checks** — removes TPM, Secure Boot, CPU, and RAM requirement enforcement so the ISO installs on unsupported hardware
4244
- **Enable local account setup** — injects an `autounattend.xml` that skips the Microsoft account screen during OOBE
45+
- **Disable BitLocker and device encryption** — removes startup overhead
46+
- **Disable Chat icon** — removes chat taskbar button
4347
- **Strip unused editions** — keeps only your selected edition, saving 1–2 GB per removed edition
4448
- **Clean the component store** — runs DISM cleanup to reclaim another 300–800 MB
49+
50+
**Privacy & Telemetry Tweaks:**
51+
- **Disable telemetry** — advertising ID, tailored experiences, input personalization, speech online privacy
52+
- **Disable cloud content features** — app suggestions, Microsoft Store recommendations
4553
- **Remove telemetry scheduled tasks** — CEIP, Appraiser, WaaSMedic, and others
54+
- **Disable OneDrive folder backup** — prevents automatic backups to cloud
55+
- **Prevent DevHome and Outlook post-setup installation**
56+
- **Prevent Teams installation** — blocks auto-install after OOBE
57+
- **Prevent new Outlook Mail app installation**
58+
- **Disable Windows Update during OOBE** — re-enabled automatically on first login
59+
- **Disable Copilot and search box suggestions**
60+
61+
**Optional: Driver Injection**
62+
- If enabled, injects all drivers from your current system into the install.wim and boot.wim — useful for offline installations on machines with missing drivers. This is an optional checkbox in Step 3.
4663

4764
A live log shows progress as each step completes. This stage takes **10–30 minutes** depending on your disk speed — the WIM dismount near the end is the slowest part, so don't close Winutil while it's running.
4865

@@ -94,9 +111,9 @@ When you install Windows 11 from your modified ISO:
94111
- **No Microsoft account required** — create a local account directly during setup
95112
- **No hardware checks** — installs on machines without TPM 2.0, Secure Boot, or supported CPUs
96113
- **Dark mode enabled by default**
97-
- **Empty taskbar and Start Menu** — no pinned apps
98-
- **Windows Update re-enabled automatically** after first login (it's paused during OOBE to prevent interruption)
99-
- **BitLocker disabled**, Recall disabled, desktop shortcuts removed
114+
- **Empty taskbar and Start Menu** — no pinned apps, Chat icon removed
115+
- **Windows Update disabled during OOBE** — automatically re-enabled on first login to prevent setup interruptions
116+
- **BitLocker disabled** — removes startup overhead on first boot
100117

101118
---
102119

@@ -150,4 +167,4 @@ A list of the best free and open source tools for downloading, creating and flas
150167
> Always download Windows ISOs from official Microsoft sources or trusted tools like Rufus/UUP Dump to avoid tampered images.
151168
152169
> [!NOTE]
153-
> Newer Windows 11 ISOs may not boot correctly on older versions of Ventoy — make sure Ventoy is up to date before use. If issues persist after updating, this is a Ventoy compatibility limitation outside of Winutil's control.
170+
> Newer Windows 11 ISOs may not boot correctly on older versions of Ventoy — make sure Ventoy is up to date before use. If issues persist after updating, this is a Ventoy compatibility limitation outside of Winutil's control.

0 commit comments

Comments
 (0)