Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

When you use the Gpupdate /force command on a Microsoft Windows Server 2003-based domain controller, or you restart a Windows Server 2003-based domain controller, the following error message may be logged in the Application log:

Event Type: Error
Event Source: Userenv

Event Category: None
Event ID: 1053
Date: Date
Time: Time
User: NT AUTHORITY\SYSTEM
Computer: Computername
Description:
Windows cannot determine the user or computer name. (Not enough storage is available to complete this operation. ). Group Policy processing aborted. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Additionally, if you enable USERENV logging, the following entries may be logged in the Userenv.log file:

USERENV(1b4.eb4) 13:30:54:531 MyGetUserName: GetUserNameEx failed with 14.
USERENV(1b4.eb4) 13:30:54:531 MyGetUserName: Retrying call to GetUserNameEx in 1/2 second.

Resolution

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

To resolve this problem, add the MaxTokenSize registry entry and the MaxUserPort registry entry on the affected domain controllers. To do this, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.

  2. Locate and then right-click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\ParametersNote If the Parameters key is not available, you must create it. To create the Parameters key, follow these steps:

    1. Click the following registry subkey:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos

    2. On the Edit menu, click New, and then click Key.

    3. Type Parameters, and then press ENTER.

  3. Click the Parameters key, click New on the Edit Menu, and then click DWORD Value.

  4. Type MaxTokenSize, and then press ENTER.

  5. Right-click MaxTokenSize, and then click Modify.

  6. In the Value data box, type 65535, click Decimal, and then click OK.

  7. Locate and then right-click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

  8. On the Edit menu, click New, click DWORD Value, type MaxUserPort, and then press ENTER.

  9. In the Value data box, type a value between 5000 and 65534, click Decimal, and then click OK.

    Note The default value for the MaxUserPort registry entry is 5000.

  10. Exit Registry Editor.

  11. Restart the computer.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×