Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am planning to write an application using WSUS APIs, to get updates from Microsoft, can someone please suggest me some tutorials or links where I can find some sample code to get started, I have already referred to the APIs in MSDN, however is there some other place, where I can get some clarity so as how to get started?

share|improve this question
It's a little unclear what you're looking for. Are you looking for the wire-protocol between the Windows Update client and the server, or are you just looking to automate using the Windows Update client? – Evan Anderson Mar 7 '13 at 6:58
WSUS is a product of microsoft, and they have also provided api's for the same, i want to create a application similar to WSUS of microsoft, using WSUS's apis, Unfortunately i couldnt find any sources to refer. – 51k Mar 7 '13 at 9:17
Are you trying to re-make WSUS Offline? – tombull89 Mar 7 '13 at 12:09
Not WSUS offline, but WSUS server itself, actually I already have an application running on the windows server, I want to add a new module that application, that will act as WSUS server, download updates for me from Microsoft's site, so that the clients can access them from my server... I dont want to use the WSUS product given by Microsoft... – 51k Mar 7 '13 at 12:37
up vote 0 down vote accepted

More significantly, the API is only the interface to allow the console to talk to the service, or to allow a client to talk to the service, or to allow a downstream server to talk to the service. It is not the service itself.

share|improve this answer
this was my real confusion, i thought i could get all the functionality of WSUS by just using its API's and not installing it.. thanks,, – 51k Mar 15 '13 at 5:25

The [MS-WUSP]: Windows Update Services: Client-Server Protocol is the canonical reference for the client/server protocol between a Windows client and a WSUS server. It's basically a SOAP API. I don't think you're going to find much in the way of sample code-- not too many people have tried to implement an alternative Windows Update client or server (to my knowledge, anyway). There are some sample client/server interactions in the docs, however.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.