Re: If possible to add domain user to a workstation's local administrators group by scrpting?
- From: Owen Gilmore <aogilmore@xxxxxxxxx>
- Date: Mon, 17 Mar 2008 10:24:47 -0700 (PDT)
On Mar 17, 9:38 am, "jogging" <v-xi...@xxxxxxxxxxxxx> wrote:
I am wondering if possible to add domain user to a workstation's local
administrators group by scrpting.
You konw, in most scenario we use {objLocalGroup}.add function to achieve
this target, but what if a workgroup?
When I try this on workgroup, script prompts fails with "unknow user name or
bad password".
Any ideas?
Workgroups don't recognize domains so you won't be able to do this
unless you join it to the domain of the user you want to add.
If the machine is not part of the domain, there's no way for it to
know who that domain user is, so therefore it can't be added to the
Administrators group.
.
- Follow-Ups:
- Re: If possible to add domain user to a workstation's local administrators group by scrpting?
- From: Richard Mueller [MVP]
- Re: If possible to add domain user to a workstation's local administrators group by scrpting?
- References:
- Prev by Date: Re: help with cancel loops
- Next by Date: Re: If possible to add domain user to a workstation's local administrators group by scrpting?
- Previous by thread: If possible to add domain user to a workstation's local administrators group by scrpting?
- Next by thread: Re: If possible to add domain user to a workstation's local administrators group by scrpting?
- Index(es):
Relevant Pages
|