Specify a home directory in a template

To allow Windows environment on iSeries™ to manage users in the most portable way possible, a home directory can be set up for each user to store user-specific information generated by applications. To minimize the amount of work that must be done, specify home directories in the template accounts so that each new profile created by the enrollment process has a home directory created for it automatically. To provide scalability, it is important not to lock home directories to a particular disk drive. Use the Universal Naming Convention (UNC) names to give portability.

To customize your template profiles to include a home directory, follow these steps from the integrated Windows server console:

  1. Create the home directory folder on the appropriate server, and share it.
  2. In a domain, click Start->Programs->Administrative Tools->Active Directory Users and Computers from the Windows server console. On a local server, click Start->Programs->Administrative Tools-> Computer Management->Local Users and Groups.
  3. Double-click the template (model user) to display its properties.
  4. Click the Profile tab.
  5. In the Home folder segment, click Connect. Select a drive letter (such as Z:). Move to the To: dialog, and enter the directory path of the home directory using a UNC name, for example: \\iSeriesWin\homedirs\%username%. In this example, iSeriesWin is the name of the server where the home directory folder resides, and homedirs is the name of the home directory folder. If you use the variable %username%, instead of the logon or user name, Windows server automatically substitutes the user's name in place of the variable name when each new Windows server account is created. It also creates a home directory for the user.