OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Robert Rota (robert.a.rotasaic.com)
Date: Tue Dec 04 2001 - 05:12:30 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    ('binary' encoding is not supported, stored as-is) In-Reply-To: <D524A0BD0DE5FF4E951B6EC5F919FD7A049E9408red-msg-01.redmond.corp.microsoft.com>

    When I get a chance I am going to write a program
    using adsi in C++ or VB to delete the Guest account
    and then run it in LocalSystem context to see if that
    works but I don't think it will. I will use the following
    code:

    strDomain="Domain"
    strUser="Guest"

    Set oDomain = GetObject("WinNT://" & strDomain)
    oDomain.Delete("user", strUser)

    Set oDomain=Nothing

    I don't think there exists a program adsi.exe. I looked
    on the server cd tools and searched the web and ms.
    I know the ldp.exe tool but adsi is the interface.
    maybe that is what you are referring to. Any help will
    be appreciated.

    Thanks,

    Rob