Program for creating accounts in Windows NT Server  4 NT

Posted on 2006-04-15
Last Modified: 2013-11-13

Hi experts,

I need to reset Administrator password and create another accounts with administrative privilege. I want to write program to do this as following:
   1. The program has to be EXE file.
   2. I need to force the new accounts to change password in next login
   3. The accounts has to be created in DOMAIN
   4. It has to be compatible with Windows NT 4 SP 6A

Any one can help which programming language should I use? And how?


Question by:ALNMOO
    LVL 3

    Expert Comment

    You won't be able to make it work on Windows if you don't have a password with administrative privileges to logon... as soon as it starts, C:\WINDOWS\system32\config\SAM and C:\WINDOWS\system32\config\SECURITY will get locked, so you won't be able to read nor write them manually...

    Look at:

    Look at this bootdisk:

    LVL 3

    Assisted Solution

    By the way, if I were you, I'd use C++ to make that program...

    I think it will the language best suited for that application...

    LVL 3

    Accepted Solution


    Basic all this stuff, you can make in any languague (in a ugly way) calling OS commands.

    To be more precise the commands:

    net user /?
    net group /?
    net localgroup /?

    So for example, if it's C or C++ you can use system(), if it's bat lot file, you can use start net user....

    Hope this help,

    LVL 3

    Expert Comment

    LVL 2

    Expert Comment

    Use ASPI component to change account related settings.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now