Skip to content

WIMUtil v0.0.1 Alpha

Compare
Choose a tag to compare
@memstechtips memstechtips released this 14 Nov 21:40
· 3 commits to main since this release
301cb29

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:

  1. 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.
  2. Confirm Administrator Privileges:

    • If prompted by the User Account Control (UAC), click Yes to allow PowerShell to run as an administrator.
  3. 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.

This command will download and execute the WIMUtil script directly from GitHub.

Application Overview 🧩

Once launched, WIMUtil guides you through a four-part wizard:

  1. Select or Download Windows ISO: Choose an existing ISO or download the latest Windows 10 or Windows 11 ISO from Microsoft.

  2. Add Answer File:

    • Download and add the latest UnattendedWinstall Answer File.
    • Optionally, add a custom answer file autounattend.xml not unattend.xml manually.
  3. Extract and Add Drivers:

    • Extract and add current device drivers to the installation media.
    • Add recommended Storage and Network drivers (Coming Soon).
  4. 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.
  5. 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.