memstechtips / WIMUtil

Utility designed to help optimize and customize Windows Installation Media, streamlining your Windows installs.
Other
27 stars 3 forks source link

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.

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.

Current Features 🛠️

[!NOTE] This tool is currently in alpha (v0.0.1), and it's a work in progress. Any issues can be reported using the Issues tab.

Versions

Latest Version

Support the Project

If WIMUtil has been useful to you, consider supporting the project—it truly helps!

Support via PayPal

Feedback and Community

If you have feedback, suggestions, or need help with WIMUtil, please join the discussion on GitHub or our Discord community:

Join the Discussion Join Discord Community

Requirements 💻

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: