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.
Contributions to this project are welcome! However, please understand that I prefer to develop and work on these projects independently. I do value other people's insights and appreciate any feedback, so don't take it personally if a pull request is not accepted.
- Select Windows 10/11 ISO File
- Add
autounattend.xml
Answer File - Extract and Add Drivers
- Create New ISO File with
oscdimg.exe
Note
This tool is currently in alpha, and it's a work in progress. Any issues can be reported using the Issues tab. Also, I'm not a developer, I'm just enjoying playing around and learning as I go.
If WIMUtil has been useful to you, consider supporting the project—it truly helps!
If you have feedback, suggestions, or need help with WIMUtil, please join the discussion on GitHub or our Discord community:
- Windows 10/11
- PowerShell (run as Administrator)
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.
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.
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