Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Update Services > Unable to connect to service (hr=80004002) - AddScanPackageService

Reply
Thread Tools Display Modes

Unable to connect to service (hr=80004002) - AddScanPackageService

 
 
wds
Guest
Posts: n/a

 
      03-08-2010
Folks,

I am trying to run MS offline patch scan and have been getting following
VBscript error:

/==================================================/
C:\WINNT\Temp\patchscan.vbs(197, 1) Microsoft VBScript runtime error: Class
doesn't support Automation
/==================================================/

Line 197 is simply adding AddScanPackageService("Offline Sync Service",
C:\WINNT\Temp\wsusscn2.cab" service to Service manager.

Here is a snippet from WindowsUpdate.log file:

/==================================================/
2010-03-05 10:51:34:635 7336 948 Misc
=========== Logging initialized (build: 7.4.7600.226, tz: -0600) ===========
2010-03-05 10:51:34:635 7336 948 Misc =
Process: C:\WINNT\system32\cscript.exe
2010-03-05 10:51:34:635 7336 948 Misc =
Module: C:\WINNT\system32\wuapi.dll
2010-03-05 10:51:34:635 7336 948 Service
Registering proxy/stubs.
2010-03-05 10:51:34:635 7336 948 COMAPI
----------- COMAPI: IUpdateServiceManager::AddScanPackageService
-----------
2010-03-05 10:51:34:635 7336 948 COMAPI
- ServiceName = Offline Sync Service
2010-03-05 10:51:34:635 7336 948 COMAPI
- ScanFileLocation = C:\WINNT\Temp\wsusscn2.cab
2010-03-05 10:51:34:650 7336 948 COMAPI
FATAL: Unable to connect to the service (hr=80004002)
2010-03-05 10:51:34:650 7336 948 COMAPI
WARNING: Unable to establish connection to the service. (hr=80004002)
2010-03-05 10:51:34:650 7336 948 COMAPI
- Exit code = 0x80004002
2010-03-05 10:56:17:341 4696 1438 AU AU
received event of type: 3
2010-03-05 10:57:51:196 4696 1438 AU AU
received event of type: 3
/==================================================/

WUA is as version 7.4.7600.226 and cscript is at version 5.6

I wonder whether some update services are not registered properly? AU
service is running. Can anyone tell me what could be going on here .. do I
need to manually register some services?

Thanks for any tips.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Name resolution order in Windows 7 Valdas Adomaitis DNS Server 7 01-20-2010 03:18 AM
I also have an error 646 in Windows update. Please help. Jose Windows Update 12 01-09-2010 01:00 PM
The local domain controller could not connect with - 2008 boe Active Directory 9 11-22-2009 01:05 AM
Repair DNS 4010 events... Jake Windows Server 1 11-04-2009 10:20 AM
Unable to connect SonyEricsson mobile phone to (Vista) computer jj mac Windows Vista Installation 11 04-10-2008 09:58 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59