|
Chapter 7: Transitioning an Upgrade to Native Mode
About This ChapterThis chapter takes you through transitional issues you might encounter when upgrading your Microsoft Windows NT domains to Microsoft Windows 2000 and the scenarios that require consideration depending on how you plan your upgrade. It also takes you through the final stages of upgrading your Windows NT domain by upgrading the MIGKIT2 BDC and switching the Windows 2000 network to native mode. Before You BeginTo complete this chapter you must have
Lesson 1: User Profiles in an UpgradeUser profiles provide a way of allowing Windows NT users to have the same desktop settings and configuration regardless of which Windows NT workstation they log on to. The profile is supplied to the user's workstation during logon. In this lesson, you'll examine how the upgrade affects the Windows NT user profiles. After this lesson, you will be able to
Estimated lesson time: 20 minutes Effect of an Upgrade on ProfilesThe location of the profile is a property of the user name. If it is a roaming profile, it is stored in a shared folder. When the user logs on, the profile is uploaded to the workstation being used for logon. At logoff, it is then copied back to the shared folder unless it's a mandatory profile, in which case, nothing else occurs. When a system is upgraded to Windows 2000, all user properties are retained, including the user profile information. Therefore, the behavior of user profiles for both downlevel and Windows 2000 clients will remain the same. Users shouldn't notice any difference in the way their profiles perform. Potential Profile ProblemsThe caveat to the previous scenario is that profiles will work perfectly as long as your users don't switch between logging on to Windows 2000 clients and Windows NT clients. If your users need to use both versions of workstations, you might find inconsistencies. For example, if the Windows NT workstation client has bitmaps being used for the desktop that the Windows 2000 client doesn't have, the bitmaps won't be available when the user logs on to the Windows 2000 workstation client. This type of problem existed with Windows NT networks as well, but it's likely to be exacerbated now when working with Windows 2000 clients as the Windows 2000 Professional clients are more likely to contain different files from the Windows NT workstation clients. Another complication occurs when Windows NT system policies are in use. If a user is subject to a Windows NT system policy that updates his or her roaming profile in any way, such as changing a bitmap, these settings will be cached with the profile and then uploaded when the user logs off. As you'll see in the next lesson, Windows 2000 saves its policy settings in a different location. This, in turn, causes the size of the user's profile to increase because of the number of extra (duplicated) registry settings. Practice: Testing User ProfilesIn this practice, you will investigate how user profiles work in a mixed Windows NT and Windows 2000 environment. The user names that were created for the MIGKIT domain in Chapter 6 were assigned roaming profiles that are stored in the C:\Profiles folder on MIGKIT1.
Answers When working with a mixture of Windows NT and Windows 2000 clients, these types of anomalies will occur frequently. However, if you're upgrading only the Windows NT servers, your Windows NT client profiles will be unaffected. The best solution for this is to store all profile components such as bitmaps on a network share or to upgrade the Windows NT workstations as soon as possible. See Appendix B on Windows 2000 Workstation deployment for further details. Lesson SummaryIn this lesson, you learned that the profile settings for a user are retained after upgrading a Windows NT domain controller; however, if a mixed environment of Windows NT and Windows 2000 clients are used, users who log on to both platforms might encounter inconsistencies with their profiles. Lesson 2: Windows NT and Windows 2000 PoliciesThis lesson recaps the mechanics of the Windows NT system policies and Windows 2000 group policies. You also examine what happens in a mixed upgraded environment consisting of Windows 2000 and Windows NT servers and workstations. After this lesson, you will be able to
Estimated lesson time: 25 minutes Windows NT PoliciesWindows NT policies allow administrators to tailor the environment of their users by using a program called the System Policy Editor. It is used to define the policies applied to users when they log on. For example, you can hide Network Neighborhood from the users as a policy. By default, these settings are held in the Netlogon shared folder on each server in a Windows NT network in a file called Ntconfig.pol. As shown in Figure 7.1, this file can contain settings for the user (for example, Benjy), the group (for example, finance), and the computer (for example, migkit1) that the user is logging on at. Figure 7.1 System Policy Editor containing user, group, and computer settings Windows 2000 Group Policy ObjectsWindows 2000 has a powerful and flexible policy scheme known as group policy objects (GPOs). These look similar to the Windows NT system policies. They can be applied to the site, domain, and OU, and multiple GPOs might apply at different levels when a user logs on. Policies are applied in the following order:
Barring the existence of the Ntconfig.pol file, the policy flow for Windows 2000 clients is often referred to as the LSDOU mode (Local+Site+Domain+OU). If an NTconfig.pol file exists and a Windows 2000 client has been enabled to use the Windows NT policy file, then the policy flow would be L4SDOU (where 4=NT4 policy file). By default, Windows 2000 clients are not enabled to use Ntconfig.pol files located on Windows 2000 domain controllers. GPO BasicsThe policies can interact in many different ways. By default, policies are aggregated unless there's a conflict. When a conflict occurs, the last policy to be applied will override the settings inherited from a GPO applied to a parent or grandparent container object. This behavior can be changed by using Block Inheritance and No Override settings. Block Inheritance prevents parent container settings from being passed to the current level. No Override prevents Block Inheritance settings from being applied and enforces the inherited policy setting even if a lower GPO is in conflict. An example of when to use the No Override setting is when you need to enforce a security setting or a policy that requires efficient use of the WAN. CAUTION It is best to use Block Inheritance and No Override settings sparingly because they're difficult to trace and troubleshoot. Remember the following points concerning GPOs:
Assigning a Group Policy ObjectFigure 7.2 shows the group policies for migkit.microsoft.com. The property information for a GPO is accessed from the Active Directory Users And Computers administrative tool. The GPOs Migkit Domain Controllers Policy and Migkit Domain Security Policy have been applied to the domain. Figure 7.2 Assigning a group policy object to a domain This assignment mechanism is similar for sites and OUs, in that their properties also have an entry for Group Policy assignment. Settings in Default Domain Controllers Policy and Default Domain Policy might conflict. In this case, the ordering of the policy objects in the list is used to determine precedence. The higher objects have the highest precedence, so in Figure 7.2, the settings for Default Domain Controllers Policy will override those for Default Domain Policy. To assign a group policy object
NOTE When a Windows 2000 client logs on, each GPO is located and applied. Therefore, you should try to limit the number of group policy objects that are used at each level. During the Active Directory design phase, the settings to be enforced and actions to be performed by each of the GPOs will be planned. During the restructure, you'll need to create the objects and assign them according to your design. The properties of a GPO are edited using the Group Policy snap-in of the MMC. Figure 7.3 Editing a GPO Figure 7.3 shows a Default Domain Controllers GPO being edited. Note the wide range of options shown in Figure 7.3 that can be configured for this object. It's also possible to configure logon and logoff batch files and to control the installation of software for a particular user. Practice: Working with Group PoliciesIn this practice, you examine how a Windows 2000 group policy works. Figure 7.4 shows the migkit.microsoft.com domain with group policies set on the domain and on the OUs. In the domain above a number of values have been assigned as registry keys for use in the domain. The keys have been given the names A, B, C, D, and E. At different levels in the domain group policy objects are used to set particular values to some of these keys; for example, in the Europe GPO the value of A is set to 41. In the Publicity GPO the values of C and E are set, but other keys are not changed. The actual keys in themselves could represent anything such as A being the percentage of bandwidth allowed and B being the number of objects in a database. The important point of the practice is that you check your understanding of how GPOs work and how to ascertain the final settings for any OU. Working through the practice will also give you a better feel for why it is not a good idea to have very deep OUs with a policy assigned on each OU because this is the exact path that your systems will have to traverse for your entire active set of user accounts. Figure 7.4 Domain and OU structure and GPOs Figure 7.4 shows five registry keys represented as A, B, C, D, and E. The values of each registry key set in the GPOs on the objects are shown in the figure and in the following table format.
Lesson SummaryIn this lesson, you learned how the Windows NT system policies, based around the Ntconfig.pol file, have been replaced in Windows 2000 by a more powerful regime based on group policy objects that are applied at multiple levels in an organization. Lesson 3: Policy Transition and Migration PhasesIn this lesson, you will examine the effect of Windows NT and Windows 2000 policies in a mixed migrated environment. After this lesson, you will be able to
Estimated lesson time: 40 minutes Policies in Mixed EnvironmentsIn their own environments, both Windows NT and Windows 2000 policies offer tremendous benefits in locking down (preventing users from changing) and maintaining a user's environment. However, in a migration environment, you might experience inconsistencies and your users or your help desk will need to know how to handle them. Tattooing of Windows NT System PoliciesOne aspect of Windows NT system policies is that no "Undo" feature exists. Once a policy has been applied, it's difficult to reverse the effects without prior knowledge of every workstation whose registry settings were affected by the policy change. Because Windows NT registry changes made by policies are permanent, it is known as tattooing. Windows 2000 Registry Areas for PoliciesWindows 2000 policies can be removed from Windows 2000 client systems simply by removing the relevant GPOs from the containers. Their policy settings are saved in two new special areas of the registry that don't exist in Windows NT. Computer settings are maintained in these two registry keys:
User settings are maintained in these two registry keys:
Because Windows NT uses tattooing, if a Windows 2000 client is validated by a Windows NT server, the policies in the Ntconfig.pol file are also tattooed on the Windows 2000 client. Windows 2000 can replicate this behavior by changing the following setting found in the domain GPO policy. Object: Domain GPO Policy Location: Computer Configuration/Administrative Templates/System/Group Policy Valuename: Disable System Policy Value: 1 (default) or 0 (to enable Windows NT, Ntconfig.pol-like system policies for Windows 2000 client systems) If you have any Ntconfig.pol style files then these will be applied to Windows 2000 systems also and can make troubleshooting very difficult, so use the setting sparingly. Benefits of TattooingTattooing is an excellent feature when you want to make certain registry settings permanent. For example, you might want a logon banner to appear even when a user is validated by his or her local machine instead of just the domain. Another positive effect of tattooing is when you want to ensure consistency between Windows NT and Windows 2000 client systems. However, tattooing is disadvantageous when you need to undo settings or change settings regularly. Policy ScenariosHow policies from Windows NT will migrate to Windows 2000 must be considered when planning the migration because you might not want to have tattooing on the registries of Windows 2000 clients by Windows NT policies. Consider the following five scenarios. Authentication of Clients by Upgraded Windows 2000 Domain ControllerAs shown in Figure 7.5, when a Windows NT client is authenticated by an upgraded Windows 2000 domain controller, it isn't affected by any GPOs. Instead, the settings in any migrated Ntconfig.pol files held on the upgraded Windows 2000 domain controller are applied. Ntconfig.pol and, indeed, all the aforementioned logon scripts and any other resident files are copied from the %Systemroot%\System32\Repl\Import\Scripts folder into the new Netlogon folder, which is now the %Systemroot%\Sysvol\ %Userdnsdomain%\Scripts folder (assuming you've accepted the default values for the system volume). In contrast, a Windows 2000 client will receive its settings from any GPOs set for the user and computer objects in the Active Directory of the Windows 2000 domain controller. Figure 7.5 Policy processing for Windows NT and Windows 2000 clients when the user names are held on a Windows 2000 domain TIP You can find out the %Systemroot% and %Userdnsdomain% folders by typing set at a command prompt. Authentication of Clients by Existing Windows NT Domain ControllersAs shown in Figure 7.6, Windows NT clients and Windows 2000 clients that log on to Windows NT domain controllers will receive their settings from the Ntconfig.pol file on the Windows NT domain controller. If an upgraded Windows 2000 controller is in the domain, the Windows 2000 client will try to be authenticated by the Windows 2000 controller and hence, get its user and computer settings from the GPO mechanism instead of from the Ntconfig.pol file. Figure 7.6 Policy processing for Windows NT and 2000 clients when the user names are held on a Windows NT domain controller However, if for any reason the Windows 2000 client can't be authenticated by a Windows 2000 domain controller, and it was authenticated by a Windows NT domain controller, the Ntconfig.pol file settings will be permanently tattooed into the Windows 2000 client's registry. In other words, the setting from the Ntconfig.pol file will remain in the Windows 2000 registry even if a GPO is assigned that changes the effective setting. Once the GPO is removed, the setting from the Ntconfig.pol file will return because it is held in a different registry key. Authentication via a Trusted Windows 2000 Domain from a Windows NT Resource DomainFigure 7.7 shows a new scenario in which a Windows NT accounts domain has been upgraded to Windows 2000. The resource domain is still a Windows NT domain with a one-way trust to the upgraded domain. Figure 7.7 Policy processing for Windows NT and Windows 2000 clients when user accounts are held on a trusted Windows 2000 domain If a user logs on via a Windows NT workstation in the Windows NT resource domain, the resource domain will pass through the authentication to the Windows 2000 domain holding all the user accounts. The workstation will use both the user and computer settings in the Ntconfig.pol file held on the Windows 2000 domain controller. However, if a user logs on via a Windows 2000 workstation in the Windows NT resource domain, the Windows 2000 workstation will use any GPOs set for the user from the trusted Windows 2000 domain and combine those with the computer policy settings from the Ntconfig.pol file held on the Windows NT resource domain controller (if one exists). Windows NT Client Authentication when User Accounts Are in Different DomainsFigure 7.8 shows two users split across the domains. If User1 and User2 log on via the same Windows NT workstation, the workstation will have computer settings from the Ntconfig.pol file in the resource domain and settings from the Ntconfig.pol file on the accounts domain. Any policies that contain conflicts will be overwritten by whichever user's Ntconfig.pol is being used at the time of logon. Figure 7.8 Policy processing for Windows NT clients using accounts held in both a Windows NT domain and a trusted Windows 2000 accounts domain Windows 2000 Client Authentication when User Accounts Are in Different DomainsFigure 7.9 is the same scenario as Figure 7.8 except that now the access is from Windows 2000 clients. This scenario is discussed in Lesson 3, "Migration Environments," of Chapter 1. It is relatively stable compared to the previously discussed scenarios and is an advantage when considering upgrading the Windows NT workstations to Windows 2000 prior to any upgrade of domain controllers. Computer policies are received from the Ntconfig.pol file in the Windows NT domain. User registry settings are received from the GPOs if the user is authenticated by the Windows 2000 domain or from the Ntconfig.pol file if the Windows NT domain validates the user. Figure 7.9 Policy processing for Windows 2000 clients when user accounts are held in both a Windows NT domain and a trusted Windows 2000 accounts domain Validation via a Trusted Windows NT Domain from a Windows 2000 Resource DomainFigure 7.10 shows a final scenario. This scenario could represent a complete trust relationship or might be part of a multiple master domain situation in which one of the accounts domains has already been upgraded to Windows 2000. In this case, User1 is held on the Windows NT accounts domain that is awaiting upgrade. Figure 7.10 Policy processing for Windows 2000 clients using a trusted Windows NT accounts domain As you can see from Figure 7.10, User1 receives the user settings from the Ntconfig.pol file held on the Windows NT accounts domain (where User1's account resides), but the computer settings come from any GPOs set on the computer object in the Windows 2000 domain controller. User2's situation is simpler: because this user account is held on the Windows 2000 domain controller, all policies for the user and computer are determined by GPOs on the Windows 2000 domain controller. Policy PandemoniumAs you've seen, how the policies are assigned depends on where the user is authenticated, and with roaming users, this can vary from one session to the next. The scenarios become even more complicated when you consider that these examples have used pure Windows NT and Windows 2000 domains. Consider the problems if each of the domains shown contain both Windows NT and Windows 2000 domain controllers. Policy processing issues must be addressed in the migration planning process. Organizational UnitsAfter an upgrade, all the users and security groups in the source domain are placed in the Users container object in the new Active Directory. You can create OUs in the upgraded domain to
Windows 2000 OUs are managed by the Active Directory Users And Computers administrative tool. In the next practice, you'll create an OU and apply a GPO to it. Practice: Investigating Ntconfig.pol and Group Policy ObjectsIn this practice, you'll create Windows NT system policy settings and Windows 2000 GPOs and verify that they work. Both MIGKIT1 and MIGKIT2 will be involved in this practice. You'll then see the effect of running the Windows NT Ntconfig.pol and Windows 2000 operating system policies in a mixed environment. To create an Ntconfig.pol policy file on MIGKIT2
To create a group policy object on MIGKIT1
Answers Further ResearchPrior to completing your upgrade analysis of policies and profiles, you might want to make your own investigations. If you have the time, experiment. To help you learn, create a table of users and workstation types and then do some or all of the following:
Lesson SummaryIn this lesson, you learned about the differences between the Ntconfig.pol configuration file and GPOs. You saw that the Windows NT policy file causes tattooing on the Windows NT and Windows 2000 clients if they are validated by a Windows NT domain controller. Authentication by a Windows NT controller can occur if the system is in a Windows NT resource domain with a trust relationship to a Windows 2000 domain that holds the user accounts or if no Windows 2000 domain controllers are available at logon in a mixed-mode environment. If the Windows NT BDC authenticates the logon, the system policies based on Ntconfig.pol are applied. This can lead to problems for users who might see different environments, depending on which system authenticates their logons.
Last Updated: Saturday, July 7, 2001 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||