Console Function Update-package

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 20, 2025 - 11:59

Hello,

I'm trying to use the "Windows 11 Upgrade Template" package. I'm following the steps in the YouTube video, but I'm stuck at the point where I have to launch the update package. The option is grayed out in the console. Do you have any idea why, or a workaround?

PS: Image of the grayed-out function attached.

Regards
Attachments
WAPT-LAUNCH-UPDATE-PACKAGE.png
WAPT-LAUNCH-UPDATE-PACKAGE.png (14.8 KB) Viewed 37260 times
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 20, 2025 - 3:08 PM

If I try to do it via the command line, it works up to "Build Upload" where I get the error "status: 666".

I don't know what to do. If anyone has any ideas, I'd appreciate it.
Attachments
WAPT-BUILD-UPLOAD.png
WAPT-BUILD-UPLOAD.png (4.78 KB) Viewed 37244 times
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

June 20, 2025 - 4:41 PM

Hello,
Updating packages via the console seems to be a restriction in Discovery Edition.
But the `wapt-get update-package-sources` command works correctly?
And then the build-upload is done from the console?

Bertrand
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 20, 2025 - 5:41 PM

`waptpython "C:\Program Files (x86)\wapt\wapt-get.py" update-package-sources "C:\waptdev\epl-windows11-upgrade-template_0-115_x64_windows_6.1_PROD-wapt"
` works correctly (from the command line) via cmd.

However, when I try to build and upload from the console, I get an error.

Even with error (666), the package is present in the repository, so I'm trying to figure out how to bypass the error. If that doesn't work, I'll try a build and upload from the command line.
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 23, 2025 - 10:26

Same error on the command line. The build is OK, but not the upload.

Could you please provide the prerequisites for using the "windows11-upgrade-template" package?

Speaking of prerequisites, I'd like to know which module needs to be enabled on the WAPT server. Currently, I only have software deployment enabled. For example, is "OS deployment" required even without an enterprise license?
Or does the "windows11-upgrade-template" package only work with an enterprise license?

Sincerely,
Attachments
WAPT-UPLOAD-ERROR-666.png
WAPT-UPLOAD-ERROR-666.png (8.94 KB) Viewed 37165 times
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

June 23, 2025 - 10:55

Hello,
can you provide the output of "df -h" on the server?
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 23, 2025 - 11:16

Code: Select all

df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              391M  1.4M  390M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   98G   47G   47G  51% /
tmpfs                              2.0G  204K  2.0G   1% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/sda2                          1.5G  253M  1.2G  19% /boot
/dev/sda1                          1.1G  6.1M  1.1G   1% /boot/efi
tmpfs                              391M  4.0K  391M   1% /run/user/1000
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
aureladmin
Messages: 13
Registration: December 4, 2024 - 9:41 AM

June 23, 2025 - 3:54 PM

Test performed via the console: package present in the repository but with error 666 during "Build Upload"
Test performed via command line: package present in the repository but with error 666 during "wapt-get upload-package"

Upgrading the client to Windows 11 doesn't work via the generated package. Many errors occur

Code: Select all

C:\WindowsUpgrade folder exists, continuing...
Free disk space: 93069709312 bytes
Force Upgrading Windows from version: 10.0.19045 to Windows version: 10.0.26100
Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1662, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 875, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1484, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]

Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
Traceback (most recent call last):
  File "<string>", line 1662, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 875, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 1484, in _run
    raise Exception(_('Error during install of {}: errors in packages {}').format(
Exception: Erreur lors de l'installation de ['epl-windows11-24h2']: erreurs dans les paquets [[PackageRequest(package='epl-windows11-24h2',architectures=['x64'],locales=['fr'],maturities=['PROD'],tags=['windows-10', 'win-10', 'w-10', 'windows10', 'win10', 'w10', 'windows', 'win', 'w'],min_os_version=Version('10.0.19045'),max_os_version=Version('10.0.19045')), PackageEntry('epl-windows11-24h2','10.0.26100-115' architecture='x64',maturity='PROD',locale='fr',target_os='windows'), 'Traceback (most recent call last):\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 121, in install\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4111, in run\n    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2263, in run\n    raise CalledProcessErrorOutput(proc.returncode, cmd, \'\'.join(output))\nwaptutils.CalledProcessErrorOutput: Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 5609, in install\n    result = self.install_wapt(p.localpath,\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4548, in install_wapt\n    raise e\n  File "C:\\Program Files (x86)\\wapt\\common.py", line 4454, in install_wapt\n    exitstatus = setup.install()\n  File "C:\\Windows\\TEMP\\waptk0hvzdpc\\setup.py", line 126, in install\n  File "C:\\Program Files (x86)\\wapt\\waptutils.py", line 2038, in error\n    raise EWaptSetupException(\'Fatal error : %s\' % reason)\nwaptutils.EWaptSetupException: Fatal error : Command \'"C:\\\\WindowsUpgrade\\\\setup.exe" /auto upgrade /quiet /eula accept /telemetry disable /showoobe none /copylogs "C:\\\\WindowsUpgradeLogs\\\\win11_upgrade_logs"  /compat ignorewarning /dynamicupdate disable\' returned non-zero exit status 3247440384.\nOutput:\n']]
One small additional point: If the version in the control file does not include the OS version at the beginning, it will not work, for example:
1) It works:

Code: Select all

version           : 10.0.26100-115
The attempt to upgrade to W11 is launched via the package

2) This does not work:

Code: Select all

version           : 0-116

The attempt to upgrade to W11 does not launch via the package, version lower than the OS version.
WAPT Discovery 2.6.0.17293
Debian 12 / Ubuntu 22.04
jlepiquet
Messages: 69
Registration: Sep 3, 2024 - 4:09 p.m.

June 23, 2025 - 4:16 PM

Hello,

Error 3247440384 indicates hardware incompatible with Windows 11.

Are there any logs in C:\WindowsUpgradeLogs\win11_upgrade_logs?
If not, you should check C:\Windows\Panther; there should be a setuperr.log file and probably an XML file starting with CompatData.

Regards,
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 8, 2025 - 09:49

Hello Aurélien,

were you able to resolve your problem?

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Answer