Re: how to add user to group

Tech-Archive recommends: Speed Up your PC by fixing your registry




"sthompson" <sthompson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2F8A1CF2-5B81-4B57-A0FF-F01739803F03@xxxxxxxxxxxxxxxx
> ok i have been messing around and figured out how to do it. I create a
batch
> file so when the user logs on it will add them to the admin group then it
> will delete the batch file. But my only problem is when the user logs on
for
> the first time and the batch file executes the user does not have
permissions
> to add himself to the admin group. Anyone have any ideas
>
> "sthompson" wrote:
>
> > How through the command prompt do i add a user that logs on from the
domain
> > to the local administrators group.

Common sense says that only an administrator can authorise
a user to join the local administrator's group. If anyone could
join this group then there would be no security!

You can do this remotely (i.e. from your own PC) by using
psexec.exe (www.sysinternals.com).


.



Relevant Pages

  • Re: 016100 - Corrupt roaming profiles in Win2000 domain
    ... > shortcut runs from the STARTUP group which points to a batch ... The odd time a user logs in and this ... > shortcut won't launch and they can't see their network drives, ...
    (microsoft.public.win2000.security)
  • RE: how to add user to group
    ... ok i have been messing around and figured out how to do it. ... file so when the user logs on it will add them to the admin group then it ... will delete the batch file. ... to add himself to the admin group. ...
    (microsoft.public.win2000.general)
  • Re: Windows Service starts Process, but not the application
    ... tks a lot... ... something like call a batch that runs the program? ... console application and set it to run when the user logs on (i. e. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: how to add user to group
    ... permissions to add myselft to the admin group of the local computer. ... > file so when the user logs on it will add them to the admin group then it ...
    (microsoft.public.win2000.general)
  • Re: VB Error Object Library Not Registered
    ... included embedded Excel XP spreadsheets. ... does not occur if I add the user to the local Administrators group. ... error also does not occur if the user logs onto another computer. ... Bryan Hessey ...
    (microsoft.public.excel.misc)