-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows could not apply the unattend answer file's <DiskConfiguration> setting. #9
Comments
Did you connect to the machine on: Or I think you can turn headless mode off when building. This should make it obvious what the problem is. |
I was not able to connect using RDP - but I did turn "headless" off. I would assume that Microsoft's Windows answer file format has changed since you created the AutoUnattend.xml file. Unfortunately, I have no expertise there whatsoever... |
I also just tried the vmware 2012 R2 build and got this error message. Windows could not apply the unattend answere file's setting. |
same problem when I tried to install vmware 2012 R2 |
It might be related to the vmware drivers that are placed on installation disk. Try changing them to the latest. I think a dodgy xml file throws a more useful message. I had this problem with Windows 10. The only fix that worked for me was a new iso. |
I have the same problem too. |
What worked for me was to run the update-variables.ps1 |
@elvarb could you detail exactly what you're saying here? |
From a techNet article: if you check the documentation from MS the order for the wipe is
If you move the DiskID and Wipe settings to the top,it will work. |
I am having the same problem. I think the issue may be that the pvscsi driver is not installed at the point when autounattend.xml is read. The error that shows up in the x:\windows\panther\setuperr.log is Further, when I load diskpart on that system, LIST DISK shows "There are no fixed disks to show." It appears for me at least, that changing the PnPCustomizationsWinPE section to use the a:\ drive fixed the issue for me. I'm using vsphere-iso to connect directly to my vCenter, so this may be a little different from the expereince of others. |
For anyone running into this issue with QEMU + Packer: I was using |
I get this when attempting to create a vmware-iso using
packer build -force -only vmware-iso .\vmware-windows-2016-serverstandard-amd64.json.
I attach VMWare to the packer VM "windows2016", where I see a Windows setup window, and a dilaog box displaying the error message from the subject.
Packer itself hangs while "Waiting for WinRM to become available...".
I am running on a Windows 8.1 machine, VMWare 11.1.4.
This is the packer output:
==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO
==> vmware-iso: Creating floppy disk...
vmware-iso: Copying files flatly from floppy_files
vmware-iso: Copying file: ./windows/windows-2016-serverstandard-amd64/autounattend.xml
vmware-iso: Copying file: ./windows/windows-2016-serverstandard-amd64/sysprep-unattend.xml
vmware-iso: Copying file: ./windows/common/variables.ps1
vmware-iso: Copying file: ./windows/common/set-power-config.ps1
vmware-iso: Copying file: ./windows/common/microsoft-updates.ps1
vmware-iso: Copying file: ./windows/common/win-updates.ps1
vmware-iso: Copying file: ./windows/common/run-sysprep.ps1
vmware-iso: Copying file: ./windows/common/run-sysprep.cmd
vmware-iso: Copying file: ./windows/common/enable-winrm.ps1
vmware-iso: Copying file: ./windows/common/enable-winrm.task.ps1
vmware-iso: Copying file: ./windows/common/fixnetwork.ps1
vmware-iso: Copying file: ./windows/common/elevate.exe
vmware-iso: Copying file: ./windows/common/sdelete.exe
vmware-iso: Copying file: ./windows/common/sdelete.ps1
vmware-iso: Copying file: ./windows/common/Set-ClientWSUSSetting.ps1
vmware-iso: Copying file: ./windows/common/Set-ClientWSUSSetting.task.ps1
vmware-iso: Done copying files from floppy_files
vmware-iso: Collecting paths from floppy_dirs
vmware-iso: Resulting paths from floppy_dirs : []
vmware-iso: Done copying paths from floppy_dirs
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting HTTP server on port 8433
==> vmware-iso: Starting virtual machine...
vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC with the password "PCiPGfIH" to
vmware-iso: vnc://127.0.0.1:5924
==> vmware-iso: Waiting 5s for boot...
==> vmware-iso: Connecting to VM via VNC
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for WinRM to become available...
Please find the packer log file attached: Log.zip
I saw that in the windows\windows-2016-serverstandard-amd64\Autounattend.xml file there is a commented-out Non-UEFI ; I tried to use that in place of the commented-in UEFI compatible, but with the same result.
I also tried to use "scsi0.virtualDev": "lsisas1068", instead of "scsi0.virtualDev": "pvscsi" in the json file (fixing this error message for other packer scripts), but no effect. I combined this two measures, no effect.
Help would be appreciated!
The text was updated successfully, but these errors were encountered: