add Domain user to local group with command line

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ron (pricer_at_hhmi.org)
Date: 07/16/04


Date: Fri, 16 Jul 2004 12:24:39 -0700

Does anyone know how to add a domain user to a local grop
from the command line? i played with net user, net
localgroup, and netdom.exe but can't quite figure it out.

thanks,

r0n



Relevant Pages

  • 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)
  • net user
    ... I am trying to add a new user on the local workstation (not domain user) with ... net user. ... it to go to the powerusers group instead? ...
    (microsoft.public.windowsxp.general)
  • Re: Im halfway there
    ... Close the Command Prompt. ... the Acer (Ray), assuming it's okay on a wireless network to have them ... Create an account for Ray. ...
    (microsoft.public.win2000.networking)
  • Re: Im halfway there
    ... Close the Command Prompt. ... Laptop 2, a Toshiba, the net command resulted in the following: ... the Acer (Ray), assuming it's okay on a wireless network to have them ...
    (microsoft.public.win2000.networking)
  • Re: Sharing and Security on File Share
    ... net user %UserName%>> c:\test.txt ... When I got to the command: ... "Pegasus (MVP)" wrote: ...
    (microsoft.public.windows.file_system)