Results 1 to 2 of 2

Thread: change local admin password

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    14

    Post change local admin password

    I'm trying to develop an application to ease the administration of my large network.

    I was wondering if an API is available that will allow me to change local user accounts on workstations and member servers?

    I'm able to enumerate active workstations and member servers on my domain, now I just need an API to change the local admin password.

    I know I can use ADSI, but I want to see if an API will work before I go any farther.

    Any ideas??

    Thanks...

  2. #2
    Fanatic Member pradeepkrao's Avatar
    Join Date
    Sep 2001
    Location
    New Jersey
    Posts
    534
    Use

    Declare Function NetUserChangePassword Lib "NETAPI32.DLL" (ByVal domainname As String, ByVal userName As String, ByVal oldpassword As String, ByVal newpassword As String) As Long

    Regards,
    Pradeep
    Learn by others experience as you cannot live long to experience them all.
    www.freewebs.com/pradeepkrao

    LOOK AT MY GAMES AT MY WEB SITE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width