Windows 8 offline patchscan not working - Error code TRUST_E_NO_SIGNER_CERT (0x80096002)


hi,

if try initiate offline patchscan on windows 8 (version 6.2 build 8400) vbscript (executed elevated local administrator cscript.exe):

set session = createobject ("microsoft.update.session")
set servicemanager = createobject ("microsoft.update.servicemanager")
set updateservice = servicemanager.addscanpackageservice ("offline sync service", "c:\users\stitze\desktop\bwumgr\patchmgmt\wsusscn2.cab")

(script origin: http://msdn.microsoft.com/en-us/library/windows/desktop/aa387290(v=vs.85).aspx)

i error: 0x80096002

note: on windows 7 script works (same script, same wsusscn2.cab)

windowsupdate.log:

2012-07-17 09:13:18:798 3464 bc misc =========== logging initialized (build: 7.8.8400.0, tz: +0200) ===========

2012-07-17 09:13:18:798 3464 bc misc = process: c:\windows\system32\cscript.exe

2012-07-17 09:13:18:798 3464 bc misc = module: c:\windows\system32\wuapi.dll
2012-07-17 09:13:18:798 3464 bc comapi ----------- comapi: iupdateservicemanager::addscanpackageservice -----------
2012-07-17 09:13:18:798 3464 bc comapi - servicename = offline sync service
2012-07-17 09:13:18:798 3464 bc comapi - scanfilelocation = c:\users\admin\desktop\bwumgr\patchmgmt\wsusscn2.cab
2012-07-17 09:13:18:953 516 6b8 misc validating signature c:\windows\softwaredistribution\scanfile\8adee1c3-4e27-4995-997f-69b83cfa1099\source.cab:
2012-07-17 09:13:18:968 516 6b8 misc warning: error: 0x80096002 when verifying trust c:\windows\softwaredistribution\scanfile\8adee1c3-4e27-4995-997f-69b83cfa1099\source.cab
2012-07-17 09:13:18:968 516 6b8 misc warning: digital signatures on file c:\windows\softwaredistribution\scanfile\8adee1c3-4e27-4995-997f-69b83cfa1099\source.cab not trusted: error 0x80096002
2012-07-17 09:13:18:968 516 6b8 offlsnc warning: failed verify signature offline cab. hr = 0x80096002
2012-07-17 09:13:18:968 516 6b8 pt warning: pterror: 0x80096002
2012-07-17 09:13:18:968 516 6b8 agent warning: wu client fails cclientcallrecorder::openofflinesyncsource error 0x80096002
2012-07-17 09:13:18:968 3464 bc comapi warning: isusinternal::openofflinesyncsource failed, hr=80096002
2012-07-17 09:13:18:968 3464 bc comapi - exit code = 0x80096002

i've checked signature of wsusscn2.cab manually , sysinternal sigcheck tool signature valid.

what doing wrong? or open bug?

regards

stefan titze

in july, question related beta product, , appropriate beta forum.

today, product released, although issue still scripting against wuagent api on windows 8 only, appropriate place ask question in windows 8 forum.


lawrence garvin, m.s., mcitp:ea, mcdba, mcsa
product manager, solarwinds
microsoft mvp - software distribution (2005-2012)
mvp profile: http://mvp.support.microsoft.com/profile/lawrence.garvin



Windows Server  >  WSUS



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file