Re: Creating local user
Tech-Archive recommends: Fix windows errors by optimizing your registry
"Kevin Yu [MSFT]" <v-kevy@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:crIvyA6JGHA.1240@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Joe,
>
> There are a lot of samples that create a user and add it to certain group.
> The following newsgroup threads will be very helpful.
>
> http://groups.google.com/group/microsoft.public.scripting.wsh/browse_frm/thr
> ead/96584dece1accb9c/a981c25ba6e6b29b?lnk=st&q=vbscript+create+user+add+grou
> p&rnum=4#a981c25ba6e6b29b
>
> http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_fr
> m/thread/9518a48ce0d8b501/634b75676a2e30ce?lnk=st&q=vbscript+create+user+add
> +group&rnum=5#634b75676a2e30ce
>
> Also, if you need to do this as the administrator, you need to do the
> impersonation. These thread might be helpful to you on this task.
>
> http://groups.google.com/group/microsoft.public.win32.programmer.wmi/browse_
> frm/thread/890de1e09b08d3b2/18b8e29664c7cab0?lnk=st&q=vbscript+asp+impersona
> te&rnum=4#18b8e29664c7cab0
>
> HTH.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
I appreciate the help but neither of those links show how to do what I
asked.
Create a user and assign to a group without being an administrator.
I can do it on a remote machine by using credentials in the connect method
but these aren't allowed for a local connection.
I can't find any examples of impersonate that show how to run as admin
temporarily without the user inputting the password.
--
Joe
.
Relevant Pages
- Re: Thread identity
... > Hello Joe, ... > both approaches using impersonation will get you in trouble - ... > when an attacker can take over the application - he is admin ... >> you can run the worker process as the administrator and undo the ... (microsoft.public.dotnet.framework.aspnet.security) - Re: no sdk (unprivilegized)
... essentially usable only by Administrator. ... is in the Power Users group. ... learned how by reading some newsgroup threads, so google _will_ help, ... >administrator account is works well, ... (microsoft.public.windowsce.embedded.vc) - RE: Creating local user
... Hi Joe, ... The following newsgroup threads will be very helpful. ... "This posting is provided "AS IS" with no warranties, and confers no ... (microsoft.public.scripting.vbscript) |
|