Microsoft KB Archive/297507

= &quot;AdjustTokenPrivileges failed: 1300&quot; Error Message When You Try to Use the Group Policy Migration Tool =

Article ID: 297507

Article Last Modified on 3/1/2007

-

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

This lists the objects from which you can source in the Ntconfig.pol file (for example, default user, default computer,, and  ).</li> At a command prompt type gpolmig \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, user.</li> At a command prompt, type gpolmig DirectoryPath \Ntconfig.pol /migrate user testuser user .</li></ol>

Keywords: kbprb KB297507

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.