I am aiming to achieve the following:
- Install Windows from scratch on Disk 0 partition
- Prestage the machines remotely before reinstallation (using a custom tool I am developing). The tool ensures that the Windows installation is fetched to the machine.
- Issue a simultaneous reboot command for all machines and have them boot directly into an unattended Windows installation.
My specific problem is getting Windows to launch the installer upon reboot - I don't want to do an InPlace reinstall, but a full reinstall on the system partition.
I managed to perform this process on a test VM that was using MBR, by creating a Windows Boot Manager of the BOOTAPP type and pointing it to device partition=E: path \setup.exe, which works fine. However, when trying the same approach with UEFI, I get a message saying that the file does not exist.
The machines I am working with could have various Windows versions, ranging from Windows 10 Home to Windows 11 Pro, and they are primarily Windows 100 supported.
Do you know a way to start a Windows installer from another partition and run it unattended?
The reason for this approach is that the machines can be quite different, and reinstalling multiple machines via USB sticks can be time-consuming. Additionally, there are no servers on location, so running a Windows Deployment isn't an option. With this method, I can use a script or agent to prestage all 50 machines, restart them simultaneously, and bulk enroll them.
I'm open to other ideas as long as they are simple and can be automated without needing USB sticks in the machines.
All machines are currently running Windows 10 and can support Windows 11.
I get below error
Error Message
This is the BCD Configration
BCD Configuration