Using User Profiles with Both Windows 2000 and Windows NT 4.0

ID: Q224012


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0


SUMMARY

Users with roaming user profiles can log on interchangeably to computers running Windows NT 4.0 and Windows 2000. Both operating systems can read the same user profile and do not prevent users from logging on from either operating system. This article describes some issues that administrators should plan for when users have this capability.


MORE INFORMATION

Hard-Coded Paths for User Profiles

In Windows NT 4.0, locally cached profiles are stored as a subfolder of the %SystemRoot%\Profiles folder. In Windows 2000, if the installation is an upgrade, the existing profile path continues to be used. In new installations, a "Documents and Settings" folder is created on the same volume as the Windows 2000 installation to hold locally cached versions of user profiles.

Some programs use hard-coded paths for determining where a user's cached profile (for either a local or roaming user) is located on the local computer. When a user roams between computers running Windows NT 4.0 and Windows 2000, unexpected behavior may occur if a program is hard-coded to find the user's locally cached profile in the %SystemRoot%\Profiles folder.

For example, when a user is logged on to Windows NT 4.0, the program may behave as expected because the user's locally cached profile is stored in the location that is correct for that version of Windows. If the same user logs on to a new Windows 2000 installation, the profile may not be found if the program expects the profile to be stored in the same place. If a program experiences problems when users roam between operating systems, the program may be using hard-coded paths.

NOTE: The path to a user's locally cached profile can be determined by typing set at a command prompt.

For more information about the location of user profiles in Windows 2000, please see the following article in the Microsoft Knowledge Base:
Q228445 User Profile Storage in Windows 2000

System and Group Policies Applied to the User

A system policy used in Windows NT 4.0 is in the form of a binary file that has mandated registry settings that override any existing settings in the user's profile. These settings are cached as part of the user's profile.

Windows 2000 policy settings are located in a different area of the registry. Windows 2000 components also expect these settings to be in a different location and use the settings located there to configure the user's environment.

Because of this, a user logging on to Windows NT 4 receives administrator-mandated settings from the Ntconfig.pol file. This is downloaded from a domain controller in the user's account domain. The mandated settings may be present anywhere in the user's profile. When the user roams to a Windows 2000-based computer, Group Policy places the settings from any Group Policy Objects (GPOs) that apply to the user in the following registry location:
HKEY_CURRENT_USER\Software\Policies
NOTE: If the administrative template (.adm file) used in creating the GPO settings is from Windows NT 4.0 or earlier, the settings may be applied outside of the key listed above.

This should not present any problem. However, the size of the user's profile is increased by the number of registry values mandated by both types of policy. The administrator should be aware of this behavior when setting policies in Windows NT 4.0 and Windows 2000.

Additional query words:

Keywords : kbenv
Version : WINDOWS:2000; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.