: The installer expects the unattended answer file to be in a specific "location" (like a second virtual CD/DVD drive). If the VM cannot mount the ISO to that specific secondary drive, the connection fails. How to Fix It
If the issue persists, provide these details for deeper diagnosis
If this error is preventing your Windows setup from proceeding, try these standard recovery steps:
Configure the VM (ensuring UEFI and TPM 2.0/Secure Boot are on). Manually mount your ISO to the CD/DVD drive. Solutions for Hyper-V windows 11 cannot connect unattendediso to cd dvd 2 better
The automated engine fails to compile or properly sign the custom configuration file during creation.
net stop imapi net start imapi
When creating the ISO with UnattendedISO: : The installer expects the unattended answer file
This method circumvents the unattended file entirely and works almost every time.
Add a new , and add the DVD drive under the IDE controller. 2. Use PowerShell to Force Mount Sometimes, a manual PowerShell mount is more reliable: powershell
: In your VM settings (e.g., VMware or Parallels), ensure the "Connect CD/DVD Drive" option is toggled Manually mount your ISO to the CD/DVD drive
With the release of Windows 11, users and system administrators have encountered a shift in the operating system’s security architecture, primarily driven by the introduction of Virtualization-Based Security (VBS). This shift has complicated the usage of legacy tools and workflows, specifically the mounting of disk images via virtual drives. One recurring issue that disrupts workflows—particularly in virtualized environments or automated setups—is the failure of Windows 11 to properly connect or mount an "unattended.iso" file to a virtual CD/DVD drive. Understanding why this failure occurs and how to address it is essential for maintaining seamless system deployment and automation.
Users attempting to attach an ISO file (especially one generated for unattended Windows installation) to a virtual CD/DVD drive in Windows 11 experience errors such as:
Click on (or the primary drive), select Use ISO image file , and browse to select your official Windows 11 installation ISO. Ensure "Connect at power on" is checked.
To overcome potential privilege issues, try running the Command Prompt as an administrator: