WIMUtil v0.0.1 Alpha
First Release!
Memory's Windows Installation Media Utility 🧰
The Windows Installation Media Utility (not .WIM - Windows Imaging Format Utility) is a simple tool designed to help optimize and customize Windows Installation Media, streamlining your Windows installs.
Requirements 💻
- Windows 10/11
- PowerShell (run as Administrator)
Usage Instructions 📜
To use WIMUtil, follow these steps to launch PowerShell as an Administrator and run the installation script:
-
Open PowerShell as Administrator:
- Windows 10/11: Right-click on the Start button and select Windows PowerShell (Admin) or Windows Terminal (Admin).
PowerShell will open in a new window.
- Windows 10/11: Right-click on the Start button and select Windows PowerShell (Admin) or Windows Terminal (Admin).
-
Confirm Administrator Privileges:
- If prompted by the User Account Control (UAC), click Yes to allow PowerShell to run as an administrator.
-
Paste and Run the Command:
- Copy the following command:
irm "https://github.com/memstechtips/WIMUtil/raw/main/src/WIMUtil.ps1" | iex
- To paste into PowerShell, Right-Click or press Ctrl + V in the PowerShell or Terminal window.
This should automatically paste your copied command. - Press Enter to execute the command.
- Copy the following command:
This command will download and execute the WIMUtil script directly from GitHub.
Application Overview 🧩
Once launched, WIMUtil guides you through a four-part wizard:
-
Select or Download Windows ISO: Choose an existing ISO or download the latest Windows 10 or Windows 11 ISO from Microsoft.
-
Add Answer File:
- Download and add the latest UnattendedWinstall Answer File.
- Optionally, add a custom answer file
autounattend.xml
notunattend.xml
manually.
-
Extract and Add Drivers:
- Extract and add current device drivers to the installation media.
- Add recommended Storage and Network drivers (Coming Soon).
-
Create New ISO:
- Download the official
oscdimg.exe
from the WIMUtil repo if not already installed. - Select a save location for the ISO and create the file.
- Download the official
-
Cleanup on Exit: After creating your ISO, WIMUtil prompts to clean up the working directory. Selecting Yes is recommended to free up space.
Using the Bootable ISO 🖥️
Once your bootable ISO is created, it can be used to install Windows on a Virtual Machine or create a bootable USB flash drive. I recommend using Ventoy. Here’s a quick guide:
- Ventoy
- Download and Run
Ventoy2Disk.exe
. - Format your USB drive with Ventoy.
- Simply copy the ISO to the USB drive.
- Boot from the USB flash drive and choose your ISO.
- Install Windows.
- Download and Run