change user Membership script



I have a Windows 2003 in a workgroup environment. A local user 'Developer'
belongs to two built-in security groups Users and Remote Desktop Users.
Once in a wile I need to give my Developer user admin rights on the machine
and take them away once he is done updating his application. He also needs
to install and uninstall Windows services.

I have an idea how I can automate the process, but I need to be able to
change his membership using a script from the remote machine.



The script I listed below, does the job, if executed on the server, what I
need is a script that can run on one pc, but do the same thing on the remote
machine.



NET LOCALGROUP "Administrators" "Server\Developer" /add



Thanks


.



Relevant Pages

  • Re: Trying to add IP printer using a bat file
    ... Windows Server 2003 Resource Kit Tools ... provides large-scale, noninteractive control of printers, drivers, and ports on local and remote computers. ... Several Microsoft Visual Basic Script sample files are included with the tool. ...
    (microsoft.public.windowsxp.general)
  • Re: Permission Denied when trying to access remote computer with V
    ... the windows firewall is disabled on my DNS domain. ... the script runs locally on every machine on my network. ... it suggests that your settings are not properly enabled for remote ...
    (microsoft.public.windowsxp.wmi)
  • Re: Pin Calc to Start Menu on Remote Computers
    ... Windows XP Troubleshooting ... The WshRemote object allows you to remotely administer computer systems on a computer network. ... It represents an instance of a WSH script, i.e., a script ... You can run the process either on the local machine or on a remote machine. ...
    (microsoft.public.windowsxp.customize)
  • Re: problem reading remote file.
    ... This script runs fine on my windows machine. ... I run in UNIX, after changing the shebang line to /usr/bin/perl, I ... The remote host from which I am trying to read the file is also ...
    (comp.lang.perl.misc)
  • Re: adding printers to windows 2000
    ... > do it for Windows 2000. ... and ports on local and remote computers. ... Add and delete a local or remote printer. ... Several Microsoft Visual Basic Script sample files are ...
    (microsoft.public.windows.server.scripting)