upgrade windows 10 version 1809 to 1909

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
mouka
Messages: 33
Registration: May 14, 2019 - 3:13 p.m.

May 11, 2020 - 5:01 PM

Hello,
I want to upgrade clients who are currently on Windows 10 version 1809 (OS build 17763.x) to version 1909 (OS build 18363.x),
thus skipping version 1903 (OS build 18362.x).
To do this, I downloaded the following two packages from the Microsoft Store (they are the only packages that indicate "upgrade"):

tis-windows10-upgrade_10.0.18362-16_a3777e0a4e546c21da61efbaa9bb5007.wapt
and tis-windows10-upgrade-data_10.0.18362-10_e0c769dbf0cc5d465dab3d8e5d10d059.wapt.
Note that their names indicate the version number. 18362, which corresponds to Windows 10 version 1903. The version I want to skip!

I have the uncompressed ISO of Windows 10 version 1909 available (the version I want to install).

Using the Wapt Enterprise console, I generated a package template for each of the packages
tis-windows10-upgrade_10.0.18362-16_a3777e0a4e546c21da61efbaa9bb5007.wapt
and tis-windows10-upgrade-data_10.0.18362-10_e0c769dbf0cc5d465dab3d8e5d10d059.wapt.
Then I edited the folder (see attached screenshot):
C:\waptdev\tes-tis-windows10-upgrade-data_10.0.18363-10_e0c769dbf0cc5d465dab3d8e5d10d059-wapt

and placed the extracted Windows ISO file there. Windows 10 version 1909.

To test, I assigned the two packages obtained—
tes-windows10-upgrade and tes-windows10-upgrade-data—

Results:
tes-windows10-upgrade-data is OK and is correctly installed on the client.
However, tes-windows10-upgrade is showing an error.
See cpecran-erreur.png in the attached file.
With the following log:
installing tes-windows10-upgrade(=10.0.18362-17)
Free disk space: 72155959296 bytes
WindowsUpgrade folder already exists, continue
Install Windows10 10.0.18362
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3823, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptzhbrdt\setup.py", line 25, in install
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 251: ordinal not in range(128)
'ascii' codec can't encode character u'\xe9' in position 251: ordinal not in range(128): faulty string is 'u'Command \'"setup.exe" /auto upgrade /quiet /dynamicupdate disable /noreboot /showoobe none /copylogs c:\\\\update_win10.log\' returned non-zero exit status 1.\nOutput:\'"setup.exe"\' is not recognized as an internal\r\or external command, executable program or batch file.\r\n''


But what went wrong?
Thank you for your help.

m
Attachments
cpecran.png
cpecran.png (51.57 KB) Viewed 5014 times
cpecran-erreur.png
cpecran-erreur.png (37.14 KB) Viewed 5014 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 11, 2020 - 8:48 PM

Good morning

The package contains:

Code: Select all

copytree2("iso",upgrade_path)
The contents of the ISO file must be in the ISO folder ;)
mouka
Messages: 33
Registration: May 14, 2019 - 3:13 p.m.

May 12, 2020 - 10:03

Hello,
"In the package we find:" I imagine you mean in the
tis-windows10-upgrade-data package?
But I don't have any "iso" folder in this package or the other one either.
mouka
Messages: 33
Registration: May 14, 2019 - 3:13 p.m.

May 12, 2020 - 10:16

I'm answering my own question. Actually, you need to edit the tes-windows-upgrade-data package with the wapt console editor to see the ISO folder. This folder doesn't appear in a regular file browser!
Question: Do you have any documentation on the subject of "upgrading Windows 10"?
mouka
Messages: 33
Registration: May 14, 2019 - 3:13 p.m.

May 12, 2020 - 11:26

Despite the change, there is still the same error:

installing tes-windows10-upgrade(=10.0.18362-17)
Free disk space: 72168497152 bytes
WindowsUpgrade folder already exists, continue
Install Windows10 10.0.18362
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3823, in install_wapt
exitstatus = setup.install()
File "c:\windows\temp\waptzxomyu\setup.py", line 25, in install
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 251: ordinal not in range(128)
'ascii' codec can't encode character u'\xe9' in position 251: ordinal not in range(128): The faulty string is 'u'Command \'"setup.exe" /auto upgrade /quiet /dynamicupdate disable /noreboot /showoobe none /copylogs c:\\\\update_win10.log\' returned non-zero exit status 1.\nOutput:\'"setup.exe"\' is not recognized as an internal\r\or external command, executable program or batch file.\r\n''
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 12, 2020 - 3:48 PM

The WindowsUpgrade folder already exists, continue.

Does the folder already exist on the machine?
mouka
Messages: 33
Registration: May 14, 2019 - 3:13 p.m.

May 12, 2020 - 5:18 PM

Yes, I checked that. But it only contains two files: Psexec.exe and README.txt.
So what should I do?
Delete it and start over? Or what?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 12, 2020 - 6:00 PM

Yes, indeed, on the test machine you can delete the c:\WindowsUpgrade folder.

Do not replace it if it already exists.

Simon
Locked