WUA : erreur pywintypes 2147352567
Posté : 18 août 2022 - 14:09
Bonjour
Je rencontre ce problème sur quelques postes (Win 10 pro, Win 7 embedded, Win 10 LTSD)...
Le statut d'erreur renvoie :
Et le détail donne :
Parfois, au lieu de
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2145124303)
j'ai
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2146762487), None)
Une idée de ce qui ne va pas ?
Cordialement,
Tom
Je rencontre ce problème sur quelques postes (Win 10 pro, Win 7 embedded, Win 10 LTSD)...
Le statut d'erreur renvoie :
Code : Tout sélectionner
0x80020009 (Une exception s’est produite.): 0x80240031 ((unable to get meaning for error code 0x80240031))
Code : Tout sélectionner
Ensure wuauserv Auto Update option is disabled
Scanning with windows updates rules:
{
"direct_download": false,
"default_allow": false,
"include_potentially_superseded_updates": false,
"filter": "Type='Software' or Type='Driver'",
"download_scheduling": "5d",
"install_scheduling": "12h",
"install_delay": "2d",
"postboot_delay": "10m"
}
Windows updates rules have been changed
Looking for updates with filter: Type='Software' or Type='Driver'
Connecting to local update searcher using offline wsusscn2 file...
re-enabling wuauserv previous state: 0
(-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2145124303), None)
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1894, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 692, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 291, in _run
self.result = wua.install_updates(self.force, uuids=self.uuids)
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1335, in install_updates
self.scan_updates_status()
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 913, in scan_updates_status
for update in self.updates():
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 821, in updates
search_job = self.update_searcher().BeginSearch(self.params.filter, scb_interface, None)
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 783, in update_searcher
self._update_service = self.update_service_manager().AddScanPackageService("Offline Sync Service", self.wsusscn2)
File "C:\WINDOWS\TEMP\gen_py\3.8\B596CC9F-56E5-419E-A622-E01BB457431Ex0x2x0\IUpdateServiceManager2.py", line 36, in AddScanPackageService
ret = self._oleobj_.InvokeTypes(1610743814, LCID, 1, (9, 0), ((8, 1), (8, 1), (3, 49)),serviceName
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2145124303), None)
0x80020009 (Une exception s’est produite.): 0x80240031 ((unable to get meaning for error code 0x80240031))
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\service.py", line 1894, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 692, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\enterprise.py", line 291, in _run
self.result = wua.install_updates(self.force, uuids=self.uuids)
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 1335, in install_updates
self.scan_updates_status()
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 913, in scan_updates_status
for update in self.updates():
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 821, in updates
search_job = self.update_searcher().BeginSearch(self.params.filter, scb_interface, None)
File "C:\Program Files (x86)\wapt\waptwua\client.py", line 783, in update_searcher
self._update_service = self.update_service_manager().AddScanPackageService("Offline Sync Service", self.wsusscn2)
File "C:\WINDOWS\TEMP\gen_py\3.8\B596CC9F-56E5-419E-A622-E01BB457431Ex0x2x0\IUpdateServiceManager2.py", line 36, in AddScanPackageService
ret = self._oleobj_.InvokeTypes(1610743814, LCID, 1, (9, 0), ((8, 1), (8, 1), (3, 49)),serviceName
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2145124303), None)
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2145124303)
j'ai
pywintypes.com_error: (-2147352567, 'Une exception s’est produite.', (0, None, None, None, 0, -2146762487), None)
Une idée de ce qui ne va pas ?
Cordialement,
Tom