Home All Groups Group Topic Archive Search About

creating Local User Profiles in a domain environment with command

Author
24 Jul 2006 10:19 AM
kacper86
hi!
does anybody know how to create(with command line or maybe by script) a user
(XP Local User Profiles in a domain environment), that will log in for domain
(not for the computer)? to be clear, after joining the domain, i'd like to
create a profile (for example with administration privileges) for my domain
account. of course, the account is already created in the domain (active
directory) and i'd like create a windows xp profile only...

Author
24 Jul 2006 11:24 AM
Ian
As far as I know (and I may be wong on this ) you can't create a userprofile
manually.  The profile is created when the user first logs-on. This is done
by making a copy of the default profile.

You can create users programmatically with the NET command, but that only
creates the account, not the profile
Author
24 Jul 2006 11:40 AM
kacper86
> You can create users programmatically with the NET command, but that only
> creates the account, not the profile
to be more clear, i would like to the same thing as:

(join the domain)
control panel/user acccounts/add user
choose name and domain, choose privileges
click finish :)

with a command line or script. so, you think it's impossible? because if i
use a command "net user" i can create a user, who won't log into domain, but
into local computer. and i think it's impossible to change it. hopefully,
there is a way of creating a new user, who will log into a domain from the
beginning....
Author
24 Jul 2006 12:31 PM
Ian
Are you adding the /DOMAIN switch to the commandline?

(This will of course only work from a computer with domain membership and
Admin user-rights)

Show quoteHide quote
"kacper86" wrote:

> > You can create users programmatically with the NET command, but that only
> > creates the account, not the profile
> to be more clear, i would like to the same thing as:
>
> (join the domain)
> control panel/user acccounts/add user
> choose name and domain, choose privileges
> click finish :)
>
> with a command line or script. so, you think it's impossible? because if i
> use a command "net user" i can create a user, who won't log into domain, but
> into local computer. and i think it's impossible to change it. hopefully,
> there is a way of creating a new user, who will log into a domain from the
> beginning....
Author
24 Jul 2006 12:56 PM
kacper86
> Are you adding the /DOMAIN switch to the commandline?
/domain switch creates a domain account (in active directory) and i don't
want to do it as we talk about the accounts that have been already createted
in the domain.