# Creating Bootable Windows ISOs on Linux

Recently, I had to create a bootable Windows pen drive for a friend. As a Linux user, I found that the typical tools we use to create bootable pen drives for Linux, like [Disks](https://gitlab.gnome.org/GNOME/gnome-disk-utility) and [Impression](https://apps.gnome.org/Impression/), does not work on Windows ISOs. Tools like [Rufus](https://rufus.ie/en/) that work on Windows, doesn’t work on Linux, so I had to look into other alternatives. The only option that I found, other than creating a Windows VM, is the [WOEUSB tool](https://woeusb.com/#faq).

The WOEUSB tool managed to create a bootable Windows pen drive with minimal effort. It is developed specifically for this purpose, and it manages to do it really well. This quick article will guide you on creating a Windows ISO on Linux using WOEUSB.

# Downloading an ISO

It is important to download a valid Windows ISO. They can be found through Microsoft’s official website. Given below are quick links to download Windows ISOs. Note that Microsoft might change these URLs.

* [Windows 11](https://www.microsoft.com/en-us/software-download/windows11)
    
* [Windows 10](https://www.microsoft.com/en-us/software-download/windows10ISO)
    

# Installing WOEUSB Tool

First you need to install the required libraries.

```bash
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin parted dosfstools ntfs-3g
```

Next, we can install the WOEUSB tool through Python.

```bash
sudo pip3 install WoeUSB-ng --break-system-packages
```

Next, we will clone the WOEUSB Repo.

```bash
git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
```

After this, we can run the tool from the terminal.

```bash
./WoeUSB/woeusbgui
```

It will ask for the admin password, which should be provided. In certain cases, WOEUSB will immediately close after first install, stating that policy is updated. In this case, you have to open it again using the same command.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1752678665343/c3696404-cb3c-497e-987a-52bb57a311b4.png align="center")

# Creating the ISO

Select ‘*From a disk image (iso)*’ and use the file picker to choose your downloaded ISO. Select the target device under ‘*Target device*’ and click on ‘*Install*’. A warning will pop up for confirmation. Make sure that you’ve selected the correct device from the Target devices. Also note that the device will be completely wiped. If you’re OK with this, click on ‘*Yes*’ to start the process.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1752679059545/bd6d62dd-2867-4817-bc23-138c600f057a.png align="center")

This will start the installation process.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1752679106258/b43d43b3-3eaa-45ed-806d-2e1d53f5abdd.png align="center")

Once installation is done, you will see an ‘*Installation Successful*’ Message.

Remove the installation media from your computer and use it to install Windows.

# Uninstalling WOEUSB

WOEUSB can be uninstalled using the following commands.

```bash
cd ..
rm -rf ./WoeUSB-ng/
sudo pip3 uninstall WoeUSB-ng --break-system-packages
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1752679550664/7f508f3b-b716-4455-96e3-a5d11e0eeb73.png align="center")

# Conclusion

While it is hard to create a Windows installation media on Linux, it is not impossible. With the use of WOEUSB, we can relatively easily create a Windows installation media. The steps outlined in this article will be quite helpful in this matter.
