Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Programmatically accessing Microsoft Update Site

Reply
Thread Tools Display Modes

Programmatically accessing Microsoft Update Site

 
 
shadyazzam@gmail.com
Guest
Posts: n/a

 
      11-09-2006
Hello,

Is there a way to contact Microsoft Update programmatically and find
out what patches are out there based on Product and Classification just
like WSUS does during synchronization? I havent been able to find
anything about a web service exposed by microsoft for someone wanting
that kind of information. I know that WSUS uses the following web
service: https://update.microsoft.com/v6/Clie...ce/client.asmx
but i get an "HTTP Error 500 - Internal Server Error" when i try and
connect to it.

 
Reply With Quote
 
 
 
 
Lawrence Garvin \(MVP\)
Guest
Posts: n/a

 
      11-17-2006

<> wrote in message
news: ups.com...
> Hello,
>
> Is there a way to contact Microsoft Update programmatically and find
> out what patches are out there based on Product and Classification just
> like WSUS does during synchronization? I havent been able to find
> anything about a web service exposed by microsoft for someone wanting
> that kind of information.


You'll want to refer to both the Windows Update Agent API, as well as the
WSUS API and SDK. While the WSUS API/SDK cannot be construed as an exact
replica of the MU interface, they do pretty much run on the same engine. You
can script against the WUA API to communicate with the services exposed by
the MU/WSUS interface(s).

> I know that WSUS uses the following web
> service: https://update.microsoft.com/v6/Clie...ce/client.asmx
> but i get an "HTTP Error 500 - Internal Server Error" when i try and
> connect to it.


That's likely true if you're trying to do anything from an IE interface.

You'll need to setup calls to that webservice through scripting into the WUA
API.

You'll also likely need to be prepared to handle any issues with
validating/verifying/installing the latest editions of the Windows Update
Agent, as well as Windows Genuine Validation, in order to interface directly
to the MU webservices.

Caveat: I don't have any direct personal experience with this methodology,
so my responses are purely educated speculation, at best.

--
Lawrence Garvin, M.S., MVP-Software Distribution
Everything you need for WSUS is at
http://technet2.microsoft.com/window...s/default.mspx
And, everything else is at
http://wsusinfo.onsitechsolutions.com
.....


 
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
Error number: 0x80072F78 when accessing Windows update web site Know nothing Richard Windows Update 3 11-13-2005 06:07 AM
Urgent - Problem with the update site & also the Microsoft Site &IE?? John Reinders Windows Update 7 09-17-2005 02:44 PM
Infinite browser looping on accessing update site Jbo Windows Update 7 04-24-2004 11:01 PM
Error 0x800A0007 when first accessing the windows update site Scott Windows Update 4 09-18-2003 12:16 PM
error accessing update site-how to fix Chris dale Windows Update 0 08-31-2003 04:52 AM



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