@
Nolly1959,
In an earlier post, I eluded to using DISM to apply the Windows 7 image to a partition. This is how you do that. Create an NTFS partition on the hard drive to hold the Windows 7. You can use any partitioning tool you want to. Make sure the NTFS partition is assigned a drive letter - let's assume it gets F: drive.
In Windows 10, mount the Windows 7 ISO file. Let's assume the mounted Windows 7 ISO file gets drive letter G:. You will need to open a Command Prompt (Admin), or I believe a Powershell (Admin) will work too. To see what Windows 7 images are available, you will run the same command I did in post #17 on the mounted Windows 7 ISO file:
dism /get-wiminfo /wimfile:
G:\sources\install.wim
The drive letter in red will be to the mounted Windows 7 ISO file.
Now to apply the Windows 7 image to the F: drive partition. The F: drive should be empty before you start. You will run the command:
dism /apply-image /imagefile:G:\sources\install.wim /index:2 /ApplyDir:F:\
G:\ above will be the drive letter to the mounted Windows 7 ISO file
F:\ above will be to the empty NTFS partition you created to hold Windows 7
Index:2, change the index number to the version of the Windows 7 you want obtained from the dism /get-wiminfo command.
After the image is applied, you will need to add it to the boot menu. Do that by running the following command:
bcdboot F:\Windows /d /addlast
The F:\Windows will point to the new Windows folder that is created on the NTFS partition after applying the image to it.
You can adjust the boot menu a little bit by running MSCONFIG and changing the parameters on the boot tab.
Reboot the computer, good luck!