"AdjustTokenPrivileges failed: 1300" Error Message When You Try to Use the Group Policy Migration Tool (297507)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q297507

SYMPTOMS

When you try to use the Group Policy migration tool (Gpolmig.exe) to migrate policies (Ntconfig.pol) from Microsoft Windows NT 4.0 to Microsoft Windows 2000 Group Policy, you may receive the following error message:

AdjustTokenPrivileges failed: 1300

If you type Net helpmsg 1300 at a command prompt, you receive the following message: Not all privileges referenced are assigned to the caller.

CAUSE


This problem occurs if the Group Policy object (GPO) that you are trying to import is not open for editing.

RESOLUTION

To resolve this problem, follow these steps:
  1. Use the version of Gpolmig.exe that is included in Microsoft Windows 2000 Resource Kit: Supplement 1.
  2. Copy Ntconfig.pol to a Windows 2000 domain controller.
  3. Edit the Windows 2000 GPO to which you want to import the system policies. To do so, follow these steps:
    1. Start Active Directory directory service Users and Computers, and then import the system policies into a policy that is linked to the domain.
    2. Right-click the domain, and then click Properties.
    3. Find the GPO in the list, and then click Edit.
  4. At a command prompt, type: gpolmig DirectoryPath\Ntconfig.pol /list.

    This lists the objects from which you can source in the Ntconfig.pol file (for example, default user, default computer, UserName, and ComputerName).
  5. At a command prompt type gpolmig DirectoryPath\Ntconfig.pol /listgp0.

    This lists the GPOs that are available in Active Directory to which you can import group policies. It will list the GPOs that are open, by GUID. For example, guiduser.
  6. At a command prompt, type gpolmig DirectoryPath\Ntconfig.pol /migrate user testuser guiduser.

Modification Type:MinorLast Reviewed:4/28/2003
Keywords:kbprb KB297507