Advertisement

[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

01/16/2003 at 04:10PM PST, ID: 20460793
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

Windows 2000 Server (SP3) - addusers.exe problem

Asked by jlongino in Windows 2000 Operating System

Tags: addusers

I was able to create and successfully add 100 users via addusers.exe but there were two snags.  Most everything worked as expected but the home directories were not created.

1) Using the Computer Management/Local Users and Group/Users application: The "Local path" on the Profile tab was correct, it just didn't create the directory. If I individually select an account, click on the Profile tab and click the OK button then the directory will be created.  Obviously doing that a hundred times defeats the purpose of being able to create scripts, but what is the problem?

Comment: The documentation that came on the Windows 2000 Server Resource Kit incorrectly documents the addusers.exe specification for the "[User]" section of the input file. It shows "HomeDriveAndPath" as being the fifth argument but is should be the sixth given:

[User]
Username,FullName,Password,Comment,HomeDriveAndPath,Profile,Script,

   should be:

[User]
Username,FullName,Password,Comment,???,HomeDriveAndPath,Profile,Script

2) I confirmed this via the "addusers /d filename" command and examining the results.  Does anyone know what the parameter represented by the "???" should be?

<UPDATE> The correct syntax for the [User] section is:

[User]
Username,Fullname,Password,Comment,HomeDrive,HomePath,Profile,Script

Note:  This is not documented that I could find. If you specify both HomeDrive and HomePath, it will try to map that drive to the HomePath.  If you give a HomePath and don't specify a HomeDrive, it will use the HomePath as the local path for the home directory.  The label "ConnectAsDrive" would probably have been more descriptive than what the documented "HomeDrive".

Corrected documentation can be found under "Microsoft Knowledge Base Article - 199878" at:
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b199878

Even after these corrections, my original problem described in 1) still occurs.

</UPDATE>

Here is an example of my script. Maybe I've overlooked something:

[User]
user001,,xyzzy,,,E:\home\user001,,
[Global]
[Local]
Users,,BOXNAME\user001,
Special,,BOXNAME\user001,

Comment: The arguments (if used in the order listed) will not work if you use "/p:". E.g.:

addusers /c /p:c /p:e filename

   will return an error:

Error: filename parameter required immediately after (/c|/d|/e)

   however:

addusers /c filename /p:c /p:e

is accepted.  

<UPDATE> The following is excerpted from UPDATE link above:

 AddUsers {/c|/d{:u}|/e} filename [/s:x] [/?] [\\computername|domainname] [/p:{l|c|e|d}]

</UPDATE>

Thanks in advance, --JimView the Solution FREE for 30 Days
[+][-]01/28/03 01:29 PM, ID: 7832934

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows 2000 Operating System
Tags: addusers
Sign Up Now!
Solution Provided By: oBdA
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01/28/03 02:56 PM, ID: 7833489

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/29/03 12:55 AM, ID: 7836083

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090429-EE-VQP-58