共用方式為


Adding a User Account

The User Account component allows you to specify the user name, group, and password for a local user account. You must use a separate User Account component for each user in your configuration.

To add a User account

  1. In Target Designer, add a User Account component to your configuration. For more information, see Adding a Component to a Configuration in Windows XP Embedded Studio Help.

  2. In the configuration editor, select the component, and then choose Advanced on the details pane.

  3. In the Advanced Component Properties dialog box, edit the cmiUserName property to specify a username.

  4. Edit the cmiUserPassword property to specify a password for this user. The default is blank.

    To improve security of your run-time image, use a strong password for your user account. For more information, see Strong Passwords.

  5. Edit the cmiUserGroup property to assign the user to a user group:

    The following table shows the values and user groups accepted by the cmiUserGroup property.

    Value Group and description
    1 Administrators have complete and unrestricted access to the computer/domain.
    2 Power Users can change many system settings and install programs that do not affect Windows system files.
    3 (default) Users can operate the computer and save documents, but cannot install programs or change system settings.
    4 Guests have the same access as members of the Users group by default, except for the Guest account, which is further restricted.

    For information about editing advanced component properties, see Editing Component Properties in Windows XP Embedded Studio Help.

  6. Choose Close.

Repeat these steps for each user account your want to add to your configuration.

See Also

Administrator and User Accounts

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.