How to make a Windows bootleg/Windows7
From Wiki

In this tutorial, I'll be going through how I make Windows 7 bootlegs. It's actually a very different process from Windows XP, however it is much easier. This tutorial will also work with Windows 8.x, 10 and 11 but we're going over Windows 7 in this guide. We're going to be using something called Audit Mode, introduced with Windows Vista.
Pre-requisites
We'll be using these tools in the tutorial:
- A Windows 7 ISO: These are very common, I would recommend you use Windows 7 Ultimate SP1.
- Hiren's Boot CD: This is the PE you will be using to capture the image using DISM.
- Access to a Windows install: This could either be on your host or in a VM. I'm using Linux personally, so I'll have to install Windows in a VM to make the ISO, though you can just follow the steps on your host if you run Windows.
- Any file hosting service: Because where else will you store your ISO?