Microsoft KB Archive/317367

= How to use the Group Policy Migration utility to migrate Windows NT System Policy settings to Windows 2000 or Windows Server 2003 =

Article ID: 317367

Article Last Modified on 12/31/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q317367



IN THIS TASK
SUMMARY Overview of Gpolmig.exe How to Use Gpolmig.exe to Migrate a Windows NT System Policy Setting to Windows 2000
 * How to Create a GPO
 * How to Open the GPO
 * How to List the Available GPOs
 * How to List the Available System Policy Objects
 * How to Migrate Policy Settings

Troubleshooting REFERENCES



SUMMARY
This step-by-step article describes how use the Group Policy Migration utility (Gpolmig.exe) to migrate a Microsoft Windows NT 4.0 System Policy setting to Windows 2000. Gpolmig.exe is available in Microsoft Windows 2000 Resource Kit (an updated version of Gpolmig.exe is also available in Microsoft Windows 2000 Resource Kit: Supplement 1).

back to the top

Overview of Gpolmig.exe
Gpolmig.exe uses the following syntax:

gpolmig  [/list] [/listgpo] [/migrate] [ ] [ ] [ ]

You can use the following parameters with Gpolmig.exe.  /list: Use this parameter to list the policy settings in a System Policy file by object type. /listgpo: Use this parameter to list Group Policy objects (GPO) that are open and available for you to import to. You can only migrate the Windows NT System Policy settings to an available GPO.

NOTE: Open the GPO to which you want to migrate the Windows NT System Policy settings in Group Policy Object Editor before you migrate Windows NT System Policy settings. /migrate: Use this parameter to migrate the specified Windows NT System Policy setting. To successfully run this command, you must specify the following parameters:   : Use this parameter to specify the type of object that you want to migrate from the Windows NT System Policy setting. You can specify the following objects types:  user computer group</li></ul>

</li>  : Use this parameter to specify the name of the Windows NT System Policy object that you want to migrate, for example, default user.</li>  : Use this parameter to specify the GPO to which you want to migrate the Windows NT System Policy settings. You must include the 32-character hexadecimal Globally Unique Identifier (GUID) of the GPO in this parameter.</li></ul> </li></ul>

back to the top

How to Create a GPO
To create a GPO in which to migrate the Windows NT System Policy setting:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) In the console tree, right-click either your domain or the organizational unit in which you want to create the GPO, and then click Properties.
 * 3) Click the Group Policy tab, and then click New.
 * 4) Type the name for this policy setting (for example, windows policy migration ), and then press ENTER.
 * 5) Click the policy setting that you just created, click Properties, and then click the Security tab.
 * 6) Click to clear the Apply Group Policy check box for the security groups to which you do not want to apply this policy setting.
 * 7) Click to select the Apply Group Policy check box for the groups to which you want to apply this policy setting, and then click OK.

NOTE: Make sure that the users and groups have both the Read and the Apply Group Policy permissions.

back to the top

How to Open the GPO
To open the GPO to which you want to migrate the Windows NT System Policy setting:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) In the console tree, right-click either your domain or the organizational unit in which you want to open the group policy, and then click Properties.
 * 3) Click the Group Policy tab, click the GPO that you want open, and then click Edit.

back to the top

How to List the Available GPOs
<ol> Click Start, and then click Run.</li> In the Open box, type cmd, and then click OK.</li> Type the following command (where  is the path to the Windows NT 4.0 policy [.pol] file that you want to migrate), and then press ENTER.

gpolmig \ntconfig.pol /listgpo

For example, if you type gpolmig c:\policies\ntconfig.pol /listgpo, and then press ENTER, the following text is displayed:

<pre class="fixed_text">Using Downlevel policy file: c:\policies\ntconfig.pol Processing GPOs currently being edited...

Current Group Policy Objects Open (open the Properties of GPOs and locate the  'Unique Name' to identify the Globally Unique   Identifier, or GUID, that is displayed here) - {F807FFEB-9850-4C37-93EA-750AEF8338E0}Machine {F807FFEB-9850-4C37-93EA-750AEF8338E0}User

</li> Record the GUIDs for the &quot;Machine&quot; and &quot;User&quot; entries of the GPO.

NOTE: In Microsoft Windows Server 2003, the domain name appears in front of the GUID in the output of the gpolmig \ntconfig.pol /listgpo command.</li></ol>

back to the top

How to List the Available System Policy Objects
<ol>  At the command prompt, type the following command (where  is the path to the Windows NT 4.0 policy file that you want to migrate), and then press ENTER.

gpolmig \ntconfig.pol /list

For example, if you type gpolmig c:\policies\ntconfig.pol /list, and then press ENTER, the following text is displayed: <pre class="fixed_text">Using Downlevel policy file: c:\policies\ntconfig.pol Processing Computers and Users in the Policy File... Computer Policies - .default

User Policies - .default

User Group Policies --- Staff </li>  Record the policy setting name and the object type of the setting that you want to migrate. For example, if you want to migrate policy settings from the &quot;Staff&quot; group, record the following information: <pre class="fixed_text">Objecttype - Group Name      - Staff </li></ol>

back to the top

How to Migrate Policy Settings
At the command prompt, type the following command, and then press ENTER.

gpolmig \ntconfig.pol /migrate      gpo

This command uses the following place holders:
 * is the path to the Windows NT 4.0 policy (.pol) file that you want to migrate.
 * is the type of object whose settings you want to migrate (computer, user, or group).
 * is the name of the object whose settings you want to migrate.

For example, to migrate the computer settings that are applied to the Staff group in the example that is described in this article, type the following command, and then press ENTER:

gpolmig c:\policies\ntconfig.pol /migrate group staff {F807FFEB-9850-4C37-93EA-750AEF8338E0}machine

NOTE: You must open the GPO in Group Policy Object Editor for this command to run successfully. In Windows Server 2003, you must specify the domain name in the GUID when you migrate the GPO policy settings.

After you run this command, the following text is displayed:

<pre class="fixed_text">Using Downlevel policy file: c:\policies\ntconfig.pol Correct number of parameters specified... Opened the source policy... Opened the destination policy... Performing Migration... The migration completed successfully.

back to the top

Troubleshooting

 * Ensure that the computer, user, or group whose policy settings you want to migrate exist in the Windows 2000 domain. For example, if you want to migrate policy settings for the Staff group, a Staff group must exist in the Windows 2000 domain.
 * To migrate Windows NT System Policy settings that have been created by using a custom template, you must first import the custom template to the Windows 2000 GPO to which you want to migrate the policy settings.
 * Ensure that the GPO to which you want to migrate the Windows NT System Policy settings is opened in Group Policy Object Editor when you attempt to migrate the settings.
 * You may notice that the Group Policy migration is reported as successful, but that the policy changes are not displayed in the GPO to which you migrated the settings.

This behavior can occur if you try to migrate Windows NT System Policy settings to a GPO in which no other settings have been configured. To work around this issue, change a configuration setting in the GPO, and then migrate the Windows NT System Policy settings. When the Windows NT System Policy setting has been successfully migrated, reset the GPO to the configuration that you want to use.

This behavior can also occur if you try to migrate a portion of the Windows NT System Policy setting to which no corresponding Group Policy settings exist. For example, you migrate a Windows NT System Policy setting that modifies settings in the User Configuration portion of the GPO, but you specify { }machine in the Gpolmig.exe command line. To work around this issue, run the Gpolmig.exe command again, and specify the other section of the System Policy file, for example, specify { }user.
 * In Windows Server 2003, you must make an arbitrary change to the policy after you import the GPO and before you close the policy to make the changes visible.

back to the top

<div class="references_section">