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

How can I list available ADSI (Active Directory Service Interfaces) service providers?

On StackOverflow no one knows, so they advised me to ask here.

share|improve this question
What do you mean by list them? – Zoredache Aug 6 '10 at 20:52
think your question is self answering in this case, the list is the list as far as I can tell. – tony roth Aug 6 '10 at 20:52
@Zoredache I mean: How to get a list of available service providers on a server? (How to write a script that will do that?) – TN. Aug 6 '10 at 20:57
@tony The page contains a service providers that are implemented by Microsoft, but there can be more (e.g. 3rd party) service providers installed on a server. – TN. Aug 6 '10 at 20:59
up vote 4 down vote accepted

this works, googled "script list of adsi providers"

WScript.Echo( listProviders() );

function listProviders()
    var list = "ADSI Providers on this machine\n" );
    list    += "==============================\n" );

    var ads = GetObject( "ADs:" );

    var e = new Enumerator( ads );
    for( ; !e.atEnd(); e.moveNext() )
        var mem = e.item();
        list += mem.Name + "\n";    
    return( list );
share|improve this answer

Look at KB-233023 How To Find All ADSI Providers on a System
There you can find c++ version to get the list.

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.