Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.update_services
Thread: Windows Update Agent V3 (7.2.6001.784) error 0x800704dd

HTVi
TV Discussion Newsgroups

Windows Update Agent V3 (7.2.6001.784) error 0x800704dd
Dim <Dimitri.Meeuws[ at ]hp.com> 11/3/2008 2:39:24 PM
We are having problems using the Windows Update Agent V3
(7.2.6001.784) when we use the agent when nobody is logged on!
We get the error 0x800704dd (-2147023651)
while searching for patches. The problem occures almost immediately.
We didn't have this problem in earlier builds of the Windows Update
Agent V3. (for instance 7.0.6000.374)
We can reproduce this problem using psexec.exe and the MBSA package.
(both microsoft products)

We have this problem on a system with:
Windows XP SP2 & all Security fixes.

We have the same problem on Windows Vista. Only the error on windows
Vista is: 0x800703F0 (-2147023888)

We also have re-installed Windows Update agent, removed the
distribution directory with no success.
So I think it has definitaly something to do with the latest WUA
build.

To reproduce the problem you need to install the latest
WindowsUpdateAgent30-x86.exe, MBSASetup-x86-EN.msi and C:\wsusscn2.cab
on the
test system.
Create a Test.bat file containing the MBSA command :


"C:\Program Files\Microsoft Baseline Security Analyzer
2\mbsacli.exe"
/xmlout /catalog c:\wsusscn2.cab /unicode >c:\results.xml


Now we launch the Test.BAT file from another system in the network
The problem doesn't occur when the systemaccount is used but it does
occur
when a local account is used.


psexec \\brojlnxpvm -s c:\temp\test.bat


PsExec v1.86 - Execute processes remotely
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com


C:\WINDOWS\system32>"C:\Program Files\Microsoft Baseline Security
Analyzer
2\mbs
acli.exe" /xmlout /catalog c:\wsusscn2.cab /unicode 1>c:\results.xml
”M i c r o s o f t B a s e l i n e S e c u r i t y A n a l y z
e r
V e r s i o n 2 . 1 ( 2 . 1 . 2 1 0 4 . 0 )
( C ) C o p y r i g h t 2 0 0 2 - 2 0 0 7 M i c r o s o f t C
o r p
o r
a t i o n . A l l r i g h t s r e s e r v e d .


c:\temp\test.bat exited on brojlnxpvm with error code 0.


C:\Program Files\Microsoft Visual Studio 8\VC>psexec \\brojlnxpvm -u
Leen
c:\tem
p\test.bat


psexec \\brojlnxpvm -u Leen c:\temp\test.bat


PsExec v1.86 - Execute processes remotely
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com


Password:


C:\WINDOWS\system32>"C:\Program Files\Microsoft Baseline Security
Analyzer
2\mbs
acli.exe" /xmlout /catalog c:\wsusscn2.cab /unicode 1>c:\results.xml
”M i c r o s o f t B a s e l i n e S e c u r i t y A n a l y z
e r
V e r s i o n 2 . 1 ( 2 . 1 . 2 1 0 4 . 0 )
( C ) C o p y r i g h t 2 0 0 2 - 2 0 0 7 M i c r o s o f t C
o r p
o r
a t i o n . A l l r i g h t s r e s e r v e d .


A n e r r o r o c c u r r e d w h i l e s c a n n i n g f o
r s
e c
u r i t y u p d a t e s . ( 0 x 8 0 0 7 0 4 d d )
c:\temp\test.bat exited on brojlnxpvm with error code 0.


Extract from the WindowsUpdate.log


2008-10-29 16:24:48:327 556 dac Misc =========== Logging initialized
(build:
7.2.6001.784, tz: +0100) ===========
2008-10-29 16:24:48:327 556 dac Misc = Process: C:\Program Files
\Microsoft
Baseline Security Analyzer 2\mbsacli.exe
2008-10-29 16:24:48:327 556 dac Misc = Module: C:\WINDOWS
\system32\wuapi.dll
2008-10-29 16:24:48:327 556 dac COMAPI -------------
2008-10-29 16:24:48:327 556 dac COMAPI -- START -- COMAPI: Search
[ClientId
= MBSA]
2008-10-29 16:24:48:327 556 dac COMAPI ---------
2008-10-29 16:24:48:347 1420 230 Service WARNING:
GetUserTokenFromSessionId
failed with error 800704dd for session 0
2008-10-29 16:24:48:357 556 dac COMAPI WARNING: Unable to listen to
self-update/shutdown event (hr=0X800704DD)
2008-10-29 16:24:48:357 556 dac COMAPI WARNING: Unable to establish
connection to the service. (hr=800704DD)
2008-10-29 16:24:48:357 556 dac COMAPI - WARNING: Exit code =
0x800704DD
2008-10-29 16:24:48:357 556 dac COMAPI ---------
2008-10-29 16:24:48:357 556 dac COMAPI -- END -- COMAPI: Search
[ClientId = ]
2008-10-29 16:24:48:357 556 dac COMAPI -------------
2008-10-29 16:24:48:357 556 dac COMAPI FATAL: Unable to perform
synchronous
search. (hr=800704D Besturingssysteem: Windows XP


Re: Windows Update Agent V3 (7.2.6001.784) error 0x800704dd
"Lawrence Garvin \(MVP\)" <lawrence[ at ]news.postalias> 11/3/2008 6:17:36 PM
"Dim" <Dimitri.Meeuws[ at ]hp.com> wrote in message
news:a30cd29e-9bd7-4f7e-9be3-2038c41c3cfb[ at ]p10g2000prf.googlegroups.com...

[Quoted Text]
> We are having problems using the Windows Update Agent V3
> (7.2.6001.784) when we use the agent when nobody is logged on!
> We get the error 0x800704dd (-2147023651)

0x800704dd - Error Not Logged On to network


> To reproduce the problem you need to install the latest
> WindowsUpdateAgent30-x86.exe, MBSASetup-x86-EN.msi and C:\wsusscn2.cab
> on the test system.

> Now we launch the Test.BAT file from another system in the network
> The problem doesn't occur when the systemaccount is used but it does
> occur when a local account is used.

> psexec \\brojlnxpvm -s c:\temp\test.bat

Using psexec is *NOT* how the MBSA is designed to be executed!

And using a local account is doomed to fail -- by design.


> 2008-10-29 16:24:48:357 556 dac COMAPI WARNING: Unable to establish
> connection to the service. (hr=800704DD)

This is to be expected. The requisite privileges do not exist to properly
execute the scan.



The correct way to invoke a scan of a remote system is

mbsacli /target DOMAIN\computername /xmlout /catalog c:\wsusscn2.cab
/unicode

which sends the requisite COM calls to the remote WUA and thus runs in the
context of the WUA using the Local System account on the remote machine.




--
Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP
Principal/CTO, Onsite Technology Solutions, Houston, Texas
Microsoft MVP - Software Distribution (2005-2009)

MS WSUS Website: http://www.microsoft.com/wsus
My Websites: http://www.onsitechsolutions.com;
http://wsusinfo.onsitechsolutions.com
My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen