Security Basics mailing list archives

RE: cmdline tool to add users (win2k)


From: "Jorge Coll" <jcoll () commonx com>
Date: Tue, 30 Sep 2003 19:37:58 -0400

Addusers.exe is available from the Windows 2000 Server Resource Kit

Here's it's usage:


Command-line account manipulation utility version 3.0.0.1
Copyright Microsoft Corporation 1997.  All rights reserved.

Adds, Writes, or Erases accounts as specified by a delimited file.

ADDUSERS {/c|/d{:u}|/e} filename [/t][/s:x] [/?]
[\\computername|domainname] [/p:{l|c|e|d}]
  /?    Display this help screen.
  /c    Create accounts specified in the file.
  /d:   Write current accounts to the specified file, opt. followed by
{:u}.
    u   Write current accounts to the specified file in Unicode text
format.
  /p:   Set's account creation options, followed by an comb. of {lced}
    l   Users do not have to change passwords at next logon.
    c   Users cannot change passwords.
    e   Passwords never expire. (implies l option)
    d   Accounts disabled.
  /e    Erase user accounts specified in the file.
  /s:x  Sets the separator character for the input/output file.  Replace
the
        x with the character to be used for separating fields. (e.g.
/s:~)
        Note: The separator character is a comma ',' by default.
  /t    Enables Terminal Services user properties to be created or
viewed.
        Use in conjunction with { /c | /d }.

For detailed information please refer to the Resource Kit Help file.


- jc



-----Original Message-----
From: Hugo Saro [mailto:h_saro () yahoo com] 
Sent: Tuesday, September 30, 2003 5:26 PM
To: security-basics () securityfocus com
Subject: cmdline tool to add users (win2k)

.. anyone knows a nice cmd utility to add/rem
groups/users? I have access to some w2k terminal
servers but i prefer telnet (with proper encriptation)
to the gui, something that lets me add users etc would
be nice, but I couldn't find any.

Ideas?

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

------------------------------------------------------------------------
---
------------------------------------------------------------------------
----


---------------------------------------------------------------------------
----------------------------------------------------------------------------


Current thread: