WAPT WUA level questions

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
Answer
ddcorazon
Messages: 37
Registration: May 30, 2023 - 11:53 p.m.

December 13, 2024 - 11:53

Hello everyone,

I have a few questions regarding WAPT

I have been using WAPT for some time on my network and I am starting to migrate all my machines to it.

Regarding Windows Updates: can upgrades from version 23H2 to 24H2 be done using the standard method, or do I need to use the tis-windows11-upgrade-template package with an up-to-date ISO? I'm asking because I have PCs running 22H2 or 21H2 on which, despite running updates, they perform the standard cumulative updates but never upgrade to the correct version.
- What I do every second Wednesday of the month: I right-click, then select "Search for Windows Updates," then right-click again and select "Download," and finally right-click again and select "Install." I leave about 30 minutes between each step unless I need to do otherwise
manual.png
manual.png (22.98 KB) Viewed 5986 times
The second question concerns WAPTWUA. Once activated on the server, I understand that it disables access to Windows Update on the client. However, internally, for some PCs, I need (a bit of a pain, I know) for users to be able to launch updates manually on their workstations. So, the question is, can we do both in case people forget to launch them? Or is it either WAPTWUA or manual updates?

And one last question: `tis-enable-windows-update` is supposed to allow manual updates to be reactivated on PCs; the package is installed and the wuauserv service is running correctly, but the "check for updates" button remains greyed out
serv1.png
serv1.png (163.69 KB) Viewed 5986 times
reg2.png
reg2.png (231.91 KB) Viewed 5986 times
WAPT Server version: 2.6.0.16613 Ubuntu 20.04
WAPT Agent version: 2.6.0.16613
ddcorazon
Messages: 37
Registration: May 30, 2023 - 11:53 p.m.

December 17, 2024 - 10:20

In response,

Regarding the tis-enable-windows-update package, I modified it slightly. I added a few extra registry keys.

I added SetDisableUXWUAccess to set it to 0, and DODownloadMode to also set it to 0. It seems to be OK.

Code: Select all

def install():
  print('Disable WAPT WUA')
  inifile_writestring(WAPT.config_filename,'waptwua','enabled','false')

  print('DisableWindowsUpdateAccess registry to 0')
  registry_set(HKEY_LOCAL_MACHINE,r'Software\Policies\Microsoft\Windows\WindowsUpdate','DisableWindowsUpdateAccess',0,REG_DWORD)

  print('SetDisableUXWUAccess registry to 0')
  registry_set(HKEY_LOCAL_MACHINE,r'Software\Policies\Microsoft\Windows\WindowsUpdate','SetDisableUXWUAccess',0,REG_DWORD)

  print('AUOptions registry to 0')
  registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update','AUOptions',0,REG_DWORD)

  print('DODownloadMode registry to 0')
  registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization','DODownloadMode',0,REG_DWORD)

  print('DODownloadMode registry to 0')
  registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config','DODownloadMode',0,REG_DWORD)

  print('Setting WUA')
  wuasettings = "False"
  inifile_writestring(WAPT.config_filename,'default_waptwua','enabled',wuasettings)

  print('Enable wuauserv')
  run_notfatal('sc config wuauserv start= auto')
  run_notfatal('net start wuauserv')

  print('Reload WAPT configuration')
  WAPT.reload_config_if_updated()

However, there are still no answers regarding version upgrades. Does anyone have any ideas?

Thank you in advance
User avatar
blemoigne
Messages: 178
Registration: July 17, 2020 - 11:29

December 17, 2024 - 11:22

Hello,
WAPTWUA uses this method:
https://learn.microsoft.com/fr-fr/windo ... powershell
Indeed, only minor updates are included in the wsusscn2.cab index used. Therefore, you will need to use the WAPT upgrade packages for major updates.
You can let users launch the updates by running "C:\Program Files (x86)\wapt\waptexit.exe" (you can create a shortcut on the desktop, for example).
For more information regarding the configuration of agents for Windows updates: https://www.wapt.fr/fr/doc/wapt-console ... wapt-agent

Have a good day,
Bertrand
ddcorazon
Messages: 37
Registration: May 30, 2023 - 11:53 p.m.

December 18, 2024 - 09:36

Hello,

thank you for your feedback and have a great day!
Answer