Create new user in DOS

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What are the commands to create a new user account using the command prompt?

I have Windows XP Media Center Edition and I am the Admin.
 
From: "enolaeb" <[email protected]>

| What are the commands to create a new user account using the command prompt?
|
| I have Windows XP Media Center Edition and I am the Admin.

Use the NET.EXE command with the USER switch parameter

net user /?
The syntax of this command is:


NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]


You can also use this command to add this user to particular Local Group.
 
start nusrmgr.cpl

Type: net user /? in a command prompt.

More net user help
Paste the following line into Start | Run and click OK...

hh ntcmds.chm::/net_user.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
David H. Lipman said:
From: "enolaeb said:
What are the commands to create a new user account using
the command prompt?

I have Windows XP Media Center Edition and I am the Admin.

Use the NET.EXE command with the USER switch parameter

net user /?
The syntax of this command is:


NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]


You can also use this command to add this user to particular
Local Group.

How exactly do you add a user to a group using the NET USER
command? I thought that's what the NET LOCALGROUP command was
for.

Nepatsfan
 
How exactly do you add a user to a group using the NET USER

To add a user account for Jay Jamison, with logon rights from 8 A.M. to 5
P.M., Monday through Friday (no spaces in time designations), a mandatory
password (jayj), and the user's full name, type:

net user jayj /add /passwordreq:yes
/times:monday-friday,8am-5pm/fullname:"Jay Jamison"

The command wrapped.

Start | Run | Type: hh ntcmds.chm::/net_user.htm

Net user
Adds or modifies user accounts or displays user account information.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Nepatsfan said:
David H. Lipman said:
From: "enolaeb said:
What are the commands to create a new user account using
the command prompt?

I have Windows XP Media Center Edition and I am the Admin.

Use the NET.EXE command with the USER switch parameter

net user /?
The syntax of this command is:


NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]


You can also use this command to add this user to particular
Local Group.

How exactly do you add a user to a group using the NET USER
command? I thought that's what the NET LOCALGROUP command was
for.

Nepatsfan
 
From: "Nepatsfan" <[email protected]>

|
| How exactly do you add a user to a group using the NET USER
| command? I thought that's what the NET LOCALGROUP command was
| for.
|
| Nepatsfan
|

NET.EXE is the command. 'User' is the switch parameter to the NET command.
 
David H. Lipman said:
NET.EXE is the command. 'User' is the switch parameter to
the NET command.

Thanks for the clarification. It explains how I misinterpreted
your response.

You and I have a different understanding about exactly where
the command ends and the switches begin. I've always considered
whatever was entered after a / or - sign to be the switch. With
that in mind, NET USER is one command and NET LOCALGROUP is
another. For instance, if you enter NET HELP at a command
prompt there is a large block of items listed that are referred
to as commands. Even Microsoft seems to classify NET USER as a
command.

How to Use the Net User Command
http://support.microsoft.com/kb/251394

Nepatsfan
 
Back
Top