Re: cmdline tool to add users (win2k)

From: Joris De Donder (joris_at_digitaldefense.be)
Date: 10/01/03

  • Next message: Ricardo A : "Re: cmdline tool to add users (win2k)"
    Date: Wed, 1 Oct 2003 11:25:42 +0200
    To: security-basics@securityfocus.com
    
    

    >.. anyone knows a nice cmd utility to add/rem
    >groups/users?

    NET USER

      NET USER username {password | *} /ADD [options] [/DOMAIN]
      ...

    NET GROUP

      NET GROUP groupname /ADD [/COMMENT:"text"] [/DOMAIN]
      ...

    NET LOCALGROUP

      ...

    Joris De Donder

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


  • Next message: Ricardo A : "Re: cmdline tool to add users (win2k)"

    Relevant Pages

    • Re: adding windows user via sp_cmdshell
      ... See the OS commands NET USER and NET GROUP in OS Help. ... > command from Query Anayzer using XP_CMDSHELL. ... > For more details of command execute the below from command prompt ...
      (microsoft.public.sqlserver.security)
    • Re: adding windows user via sp_cmdshell
      ... See the OS commands NET USER and NET GROUP in OS Help. ... For more details of command execute the below from command prompt ... > assuming SQL server nt service is started under domain user with right to ...
      (microsoft.public.sqlserver.security)
    • Re: Mystery User Accounts
      ... What about "Local group memberships"? ... net localgroup users ... Net user displays ...
      (microsoft.public.windowsxp.general)
    • Re: Creating local user and adding it to power user group on some ser
      ... > I need to create a local user with a password and add them to the local ... >From the help text in generated by typing net user /?: ... >From the help text generated by typing net localgroup /?: ... net localgroup "Power Users" JSmith /add ...
      (microsoft.public.win2000.general)
    • RE: cmdline tool to add users (win2k)
      ... > NET GROUP ... > NET LOCALGROUP ... > Joris De Donder ...
      (Security-Basics)