New
#730
Thanks, hdmi. That provides a lot to perform some testing on.
Thanks, hdmi. That provides a lot to perform some testing on.
I do remember that. I also remembered that I think I might have accidentally sparked it by suggesting the use of VolID or UUID of the disk to force install directly to the selected disk, based upon a (scipted) means of obtaining ssaid **IDs" in the first place.
This is usually not a problem when you have only one drive type installed - it's easy to pick the drive based upon which slot it is in / which SATA port it is connected to - the hardware will poll and assign volume info in a roughly normal manner.
But when you start mixing and matching, then you get all sorts of fun.
My previous rig, the one with the Core i7 965, had regular SATA II ports and a pair of SATA III (not true 6.0 Gbps ports as they were controlled by a 3 party controller, Marvell), and these were not enumerated correctly whenever the hardware was polled, causing the SATA II drives to all be assigned Volume info prior to the SATA III drives - every single time - it's one of the reasons I never really went forward with this tutorial because there was not reliable way to make it fully automated - I *had* to jump in there to make it work, either by disconnecting the SATA II drives (easily done, as the drive bays were hot swap / hot-remove bays) or by using diskpart manually during install.
Now, with my new machine, I have NVMe and SATA III drives - and sure enough, the system assigns volume info to SATA before NVMe.
*Sigh*
This is much harder to deal with because there is no easy, reliable way to disconnect the SATA drives anymore like in the old rig. And I have a triplet of NVMe drives, so I always have to be sure I'm picking the right one (one of the reason I pre-delete the partition on the intended system drive)
it's a major PITA, indeed.
If you can get this worked out, or all of you collectively can, then I'll defeinitely be testing
Brilliant! Only I'd use 7-ZIP for extraction versus WinRAR (though I have a WinRAR License, not everyone will). Good job on pointing this out!
Yup. My trivia contest was last weekend - I'll have plenty of time to play this weekend.
Hello,
I have followed this guide, but just end up with this error message every time relating to the unattend.xml
No matter what I do I get the same error, I have tried using your exact unattend.xml to see if mine was the issue but I still get this error.
You say that this means the installation has gone beyond salvation, you must start from scratch - does this mean rebuild the image from step 1 and start the process again? Or that I need to fix the unattend and then sysprep again as I have a checkpoint prior to sysprep.
Any help would be very much appreciated :)
Edit:
As a test I setup a new VM in hyper-v, installed Windows then into Audit mode once I got to the OOBE stage.
All I did was copy and paste the example unattend.xml from this guide into the sysprep folder, then sysprep(generalized) and reboot to allow the VM to run the unattend.xml as a test.
I get the same error that Windows could not parse or process the unattend file.
Can anyone tell me what is going on here? I would of thought a clean unmodified install with a working unattend.xml would have been fine.
- - - Updated - - -
Ignore this guys, I fixed it :)
Last edited by ITguy123; 23 Apr 2021 at 04:11.
Yes I was going to once I fully figured it out, it seems that it was caused by not matching the data in the unattend.xml for specialize and for oobeSystem.
I had changed the RegisteredOrganization, RegisteredOwner and TimeZone fields under specialize > amd64_Microsoft-Windows-Shell-Setup_neutral but did not match these to the same fields under oobeSystem > amd64_Microsoft-Windows-Shell-Setup_neutral.
Since making sure the details match all is well, now time to get autounattend.xml setup on a usb too :)
Hope this makes sense!
Also thanks to Kari for the brilliant guide :)
Makes perfect sense, and thanks for both explaining it as well as being patient with my seeming impatience
Kari, so great to hear from you!
Yeah, I have quite the library of answer files now. I have answer files for sysprep installations, for standard installations, for installation on disk 1, for installation on disk 3, for my BIOS based systems as well as UEFI based systems, and even answer files that call my scripts to force setup to install the recovery partition last in order to adhere to the latest Microsoft guidance.
So much fun!
Thanks Kari.
Yeah I never expected it to know which drive I actually wanted, despite how the MB enumerated the drives lol.. If I said 0, it was always going to install on zero.
Here's the next question.. Is it possible to have the answer file fetch a data image .wim from a NAS? instead of having the flash drive?
- - - Updated - - -
To provide some additional details..
In this instance I've set it to 169.254.0.254 255.255.0.0 just as a test (Same subnet as the switch)
I've got the NAS on my switch with a static IP accessible to any of the connected computers connected to that switch without a login (It's an offline storage, LAN only)
The folder is setup as an SMB share.
So I can goto any computer on that switch, and punch \\169.254.0.254 into a file explorer, and I can get access no issues.
But If I change the "Installfrom" location to that location, the installer reports back it can't find a file at that location.
I noticed in the MS documentation that they said
"Path specifies the path to the data image to install. This can be either a local or a network path. If the path is local, no credentials are required."
https://docs.microsoft.com/en-us/win...stallfrom-path
In their example they're adding a domain, username and password..
Do I really have to setup a domain server just to tell it where find these files?
I would have thought that "<Path>\\169.254.0.254\ImageServer\ImageServer\Autorun.wim</Path>" would be enough..
Did you try adding the username and password fields to the file but leaving the actual data in them blank?
Something like this:
Code:<ImageInstall> <OSImage> <InstallFrom> <Credentials> <Domain></Domain> <Password></Password> <Username></Username> </Credentials>