Win10-x64: Could not parse or process the unattend answer file

bobzbobz
Beiträge: 133
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Win10-x64: Could not parse or process the unattend answer file

Beitragvon bobzbobz » 16 Jan 2020, 13:22

Hello

I am trying to update the installfiles for our "win10-x64"-package (from Win 10 1803 to 1909).
After the update, I get this error during Windows 10 installation:
Could not parse or process the unattend answer file [C:\Windows\Panther\unattend.xml] for pass [specialize]. The answer file is invalid.


If I revert the installfiles to "Windows 10 1803" the installation works fine...

I have tried creating a new winpe image from a manually installed Windows 10 1909, but the same error occurs.

Do you have any idea what I am missing?
Alternatively can you upload a unattend.xml-file which you know is working with Windows 10 1909.. Then I can try with that one.
Regards,
Soren


Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
ThomasT
uib-Team
Beiträge: 226
Registriert: 26 Jun 2013, 12:26

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon ThomasT » 16 Jan 2020, 14:52

Try using this one ( just rename it and put it in your custom folder )

Code: Alles auswählen

/var/lib/opsi/depot/win10-x64/unattend.xml.template
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.

bobzbobz
Beiträge: 133
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon bobzbobz » 17 Jan 2020, 12:02

I will try that file :)

What is the "correct" way to change the default properties (for win10-x64) for all clients?

  • Should i just replace the variables in the unattend.xml-file with our own defaults?
  • Can the defaults be changed (for all clients, also future clients) from the configed-gui?
  • Should the "win10-x64"-package be extracted and then changed defaults with "-p ask" (what about future versions)?

Regards
Regards,
Soren


Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
m.radtke
uib-Team
Beiträge: 823
Registriert: 10 Jun 2015, 12:19

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon m.radtke » 17 Jan 2020, 13:22

Hi Soren,

you can change it the third way you suggested, but you could also get into the depot configuration in the conifged, there you can change default property values.

Regards
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.

crawleroz1
Beiträge: 32
Registriert: 13 Mär 2018, 11:36

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon crawleroz1 » 23 Jan 2020, 10:28

When I try to upgrade from windows 7 to Windows 10 build 1909 it:
1) switches to opsiSetupUser
2) installes files
3) reboots
4) Windows installation
5) logs automatically in as opsiSetupUser (Windows 10)
6) I click no cortana, no error repoert to microsoft, no penwriting, no no no no no until windows starts
7 ) starts opsiclientd_event_starter_asInvoker.exe and hangs there forever
(also the opsi client window doesn't show up on startup under windows 10 anymore)
8) When I restart it still logs automatically into windows 10 as opsiSetupUser and the opsiclientd_event_starter_asInvoker.exe appears
Bild

according to the OPSI Config Editor the Installation is still running

Bild

it happens on every PC in my company so I can't roll it out yet without having a lot of work to do.
The Microfoft tools works better but compromise the whole bandwidth with several win 10 downloads

I would prefer the OPSI package but how to make it work till the end?

Benutzeravatar
ThomasT
uib-Team
Beiträge: 226
Registriert: 26 Jun 2013, 12:26

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon ThomasT » 23 Jan 2020, 11:31

Please open a new thread as your question is regarding the win10-upgrade template...
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.

bobzbobz
Beiträge: 133
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon bobzbobz » 23 Jan 2020, 11:42

ThomasT hat geschrieben:Try using this one ( just rename it and put it in your custom folder )

Code: Alles auswählen

/var/lib/opsi/depot/win10-x64/unattend.xml.template


Hello again

I am not able to locate the file.
Is it possible that I can get a download-link?
Regards,
Soren


Please help others by sharing your scripts on the OPSI-Wiki.

Benutzeravatar
koepkek
uib-Team
Beiträge: 228
Registriert: 11 Jan 2012, 11:27

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon koepkek » 23 Jan 2020, 12:06

Please try this

Code: Alles auswählen

/var/lib/opsi/depot/win10-x64/opsi/unattend.xml.template
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://uib.de
http://opsi.org

bobzbobz
Beiträge: 133
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon bobzbobz » 23 Jan 2020, 12:32

Ahh thank you :D
Regards,
Soren


Please help others by sharing your scripts on the OPSI-Wiki.

bobzbobz
Beiträge: 133
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Win10-x64: Could not parse or process the unattend answer file

Beitragvon bobzbobz » 23 Jan 2020, 13:41

Replacing the unattend.xml with the template did the trick.

I compared them side by side in JEdit but was unable to see any differences.. but it helped, so im happy.
Thank you for the help.
Regards,
Soren


Please help others by sharing your scripts on the OPSI-Wiki.