|
|
Subject:
Adding a new user through command prompt
Category: Computers > Programming Asked by: compuplus-ga List Price: $5.00 |
Posted:
07 Apr 2003 11:16 PDT
Expires: 07 May 2003 11:16 PDT Question ID: 187228 |
How can I add a new computer user using shell or the command prompt. I have windows xp. I think the command is user but i don't know the parameters and arguments. |
|
Subject:
Re: Adding a new user through command prompt
Answered By: deadlychiapet-ga on 07 Apr 2003 13:47 PDT Rated: |
Hi there, The command for adding a user from the command line is: net user <username> <password> /add (/domain) (Before we go any further, if I enclose a command below in quotes, dont enter the quotes when typing the command.) An example might be "net user DeadlyChiapet somepassword /add" which would add a user named "DeadlyChiapet" with the password "somepassword". If the computer is on a domain you can use the /domain switch when adding the name. You can get the correct syntax of the net user command (or almost any command line command) by typing "net user /?" or "net user /help". The best reference for this command is actually the built in Windows XP help file on the subject. It tells you exactly how to use the command and includes examples along with all the parameters you can use with it. There's two ways to get there. 1. You can get there by clicking Start>Help and Support to open up the Help app. Search for "net user" without the quotes, click the tab for Full-text Search Matches, and click on the net user entry to bring up its page. 2. OR just visit Microsoft's TechNet site at http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/net_user.asp to see it on the web. I've also included an article (linked below) that describes how to automate this task if that's what you need to do. Hope this is what you're looking for! If you need any further clarification please ask before rating this answer. Deadlychiapet-ga Additional links: How can I add a user from the command line? http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=15064 Google search terms used: add user command line "net user" command | |
| |
|
compuplus-ga
rated this answer:
and gave an additional tip of:
$2.00
Thanks alot you were a big help |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |