Re: Adding an user to a remote localgroup by scripting

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In news:16CC9DF6-EDE5-4CF2-8C57-308BB8DE9E4F@xxxxxxxxxxxxx,
pnunbe <pnunbe@xxxxxxxxxxxxxxxxxxxxxxxxx> typed:
The URL you suggested does not explain how I can perform the
operation on another computer in the network when no domain
controller is present. Thanks anyhow.

You can use the command in a batch file - run it on each computer as a
startup script as you like.
Without a domain, a lot of things are painful - you don't get many options
for centralized admin.



"Lanwench [MVP - Exchange]" wrote:

In news:AE1D1272-9E44-4BE8-A3DA-13446D94E0C1@xxxxxxxxxxxxx,
pnunbe <pnunbe@xxxxxxxxxxxxxxxxxxxxxxxxx> typed:
I am running a small network made up of XP Pro computers (no
domain). I can add an user to a localgroup on a remote machine via
the "Computer management" console, but I could not find any way of
accomplishing this task through the NET command or scripting.
Any suggestion?
Thanks in advance.

net localgroup ?

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/net_localgroup.mspx?mfr=true



.



Relevant Pages

  • Re: Allow Admins to log on to W2K Desktop with Admin Rights
    ... The command fails ... >This will execute the command "net localgroup ... administrators domain\helpdesk ... >> We want to have our support and admin staff be able to ...
    (microsoft.public.win2000.security)
  • Re: Report of User Permissions?
    ... With XP Pro you can right click on any object and then click on the Security Tab and you will find the security details for the object. ... To get a list of local groups from a command prompt you can use the net command: ... net localgroup administrators ... net localgroup administrators>admins.txt ...
    (microsoft.public.windowsxp.general)
  • Net localgroup command
    ... I'm trying to add a domain global group to the local XP Power Users group. ... The "net localgroup" command appears to work for single name groups (i.e. ... System error 1376 has occurred. ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to get the list of domain admins
    ... I vaguely remember using it through command line utility net use or net localgroup .. ... Get 45 Min Video and PPT Slides ...
    (Pen-Test)
  • Re: Advanced Security Machine Accounts
    ... 20 Characters is a limitation of the command since it is based on NetBios ... > I can use the net localgroup command to add accounts to this group on my ... >> I have already added the Domain machine accounts of the SMS Site Servers ...
    (microsoft.public.sms.setup)