Skip to content

Commit f971a88

Browse files
authored
Add WIMUtil Instructions
1 parent d6a61bf commit f971a88

File tree

1 file changed

+40
-27
lines changed

1 file changed

+40
-27
lines changed

README.md

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
UnattendedWinstall leverages Microsoft's [Answer Files](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs?view=windows-11) (or Unattend files) to automate and customize Windows installations. It enables modifications to Windows Settings and Packages directly in the Windows ISO during setup.
5+
UnattendedWinstall leverages Microsoft's [Answer Files](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs?view=windows-11) (or Unattend files) to automate and customize Windows installations. </br> It enables modifications to Windows Settings and Packages directly in the Windows ISO during setup.
66

77
### Why Use an Answer File?
88

@@ -45,7 +45,7 @@ If you have feedback, suggestions, or need help with UnattendedWinstall, please
4545

4646
## What Does UnattendedWinstall Do?
4747

48-
The UnattendedWinstall answer file come with detailed descriptions for nearly all configurations and registry tweaks, which are available for inspection here on GitHub. For customization, download the answer file and open it in editors like [Cursor](https://www.cursor.com/) or [VSCode](https://code.visualstudio.com/).
48+
The UnattendedWinstall answer file comes with detailed descriptions for nearly all configurations and registry tweaks, which are available for inspection here on GitHub. For customization, download the answer file and open it in editors like [Cursor](https://www.cursor.com/) or [VSCode](https://code.visualstudio.com/).
4949

5050
### Sources and Contributions
5151

@@ -105,32 +105,45 @@ The UnattendedWinstall answer file come with detailed descriptions for nearly al
105105
106106
To use an answer file, include `autounattend.xml` at the root of your Windows Installation Media to be executed during Windows setup.
107107
108-
> [!NOTE]
108+
> [!IMPORTANT]
109109
> Ensure the answer file is named `autounattend.xml`; otherwise, it won’t be recognized by the installer.
110110
111-
> [!NOTE]
112-
> You can back up your drivers prior to installation to ensure they’re readily available:
113-
>
114-
> <details>
115-
> <summary>Click to Show Instructions</summary>
116-
>
117-
> 1. **Create a folder named `Drivers` on your C: drive.**
118-
>
119-
> 2. **Backup your current Windows drivers to the `C:` drive** by running the following command in Command Prompt as Administrator:
120-
>
121-
> ```bash
122-
> dism /online /export-driver /destination:C:\Drivers
123-
> ```
124-
>
125-
> 3. **Plug your USB drive/installation media into your computer.**
126-
>
127-
> 4. **Create a folder named `$WinpeDriver$` on your USB drive.**
128-
>
129-
> 5. **Copy the drivers you want to install automatically** from `C:\Drivers` to `D:\$WinpeDriver$` **assuming `D:` is your USB drive.**
130-
>
131-
> </details>
111+
---
112+
113+
### Using Memory's [WIMUtil](https://github.com/memstechtips/WIMUtil) (Highly Preferred)
114+
115+
To use **WIMUtil**, follow these steps to launch PowerShell as an Administrator and run the installation script:
116+
117+
1. **Open PowerShell as Administrator:**
118+
- **Windows 10/11**: Right-click on the **Start** button and select **Windows PowerShell (Admin)** or **Windows Terminal (Admin)**. </br> PowerShell will open in a new window.
119+
120+
2. **Confirm Administrator Privileges**:
121+
- If prompted by the User Account Control (UAC), click **Yes** to allow PowerShell to run as an administrator.
122+
123+
3. **Paste and Run the Command**:
124+
- Copy the following command:
125+
```powershell
126+
irm "https://github.com/memstechtips/WIMUtil/raw/main/src/WIMUtil.ps1" | iex
127+
```
128+
- To paste into PowerShell, **Right-Click** or press **Ctrl + V** in the PowerShell or Terminal window. </br> This should automatically paste your copied command.
129+
- Press **Enter** to execute the command.
130+
131+
Once launched, **WIMUtil** guides you through a wizard:
132+
133+
1. **Select or Download Windows ISO**
134+
2. **Add Latest UnattendedWinstall Answer File Automatically**
135+
3. **Extract and Add Current Device Drivers to Installation Media**
136+
4. **Create New ISO with Customizations Included**
137+
5. **Create a Bootable USB Flash Drive with [Ventoy](https://github.com/ventoy/Ventoy)**
138+
6. **Copy the New ISO File to the Ventoy Flash Drive**
139+
7. **Boot from the USB flash drive, choose your ISO & Install Windows**
140+
141+
For more info, check out the official [WIMUtil](https://github.com/memstechtips/WIMUtil) GitHub Repo.
142+
143+
---
132144
133-
### Method 1: Create a Bootable Windows Installation USB
145+
### Old Methods
146+
#### Method 1: Create a Bootable Windows Installation USB
134147
135148
- [Video Tutorial](https://youtu.be/pDEZDD_gEbo)
136149
@@ -149,7 +162,7 @@ To use an answer file, include `autounattend.xml` at the root of your Windows In
149162
150163
</details>
151164
152-
### Method 2: Create a Custom ISO File
165+
#### Method 2: Create a Custom ISO File
153166
154167
- [Video Tutorial](https://youtu.be/pDEZDD_gEbo?si=ChEGghEOLCyLSnp7&t=1117)
155168
@@ -174,7 +187,7 @@ To use an answer file, include `autounattend.xml` at the root of your Windows In
174187
175188
</details>
176189
177-
### Method 3: Use Ventoy Auto Install Plugin
190+
#### Method 3: Use Ventoy Auto Install Plugin
178191
179192
- [Video Tutorial](https://youtu.be/4AGZQJTyCOs)
180193

0 commit comments

Comments
 (0)