Microsoft KB Archive/165742

= Addusers Errors and Bad File Output When Using Incorrect Version =

Article ID: 165742

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q165742



SYMPTOMS
When you attempt to output a list of users through the Addusers resource kit utility, it is possible that you will repeatedly receive the following message:

  User account saved to file!

The resulting file can be very large for the number of accounts originally exported (for example, a 1 MB file results for only five user accounts processed).

When you attempt to import a list of users from a previously created user dump file, it is possible that the following error could repeatedly appear:

Error 2224 - Username " " not added

A normal export should look similar to the following:

  [User] Administrator,,,Build-in account for administering the computer/domain,,,, Guest,,,Build-in account for guest access to the computer/domain ,,,,,, ,,,,,, ,,,,,, ,,,,,, [Global] Domain Admins,Designated administrators of the domain,Administrator, Domain Guests,All domain guests,Guests, Domain Users,All domain users, ,etc., [Local] Account Operators,Members can administer domain user and group accounts, Administrators,Members can fully administer the computer/domain, Backup Operators,Member can bypass file security to back up files, Guests,Users granted guest access to the computer/domain, Print Operators,Members can administer domain printers, Server Operators,Members can administer domain servers, Users,Ordinary users, Replicator,Directory Replication,

Output from a wrong version of Addusers.exe will produce something similar to the following:

  User Name,Full Name,Password,Comment,Home Drive,Home Path,Profile,Script Administrator,,,Built-in account for administering the computer/domain, Guest,,,Built-in account for guest access to the computer/domain, , , , , , , , <Userid4>, <Userid1>, ...etc.

There will be no section names for [User], [Global], and [Local].

<div class="moreinformation_section">

MORE INFORMATION
The preceding error messages and export file result if you attempt to use a version of Addusers.exe from the Windows NT Resource Kit on a version of Windows NT different than the one on which your computer is running (in other words, if you use Addusers.exe from the Windows NT 3.51 Resource Kit on a computer running Windows NT version 4.0 or Addusers.exe from the Windows NT 4.0 Resource Kit on a computer running Windows NT version 3.51).

<div class="resolution_section">

RESOLUTION
Run the version of Addusers.exe compiled for the intended platform.

Keywords: kbnetwork kbprb KB165742

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.