Citrix

User Profile Service Failed to Logon Generating Event ID Log Error 1508 and 1502

  • CTX132648
  • Created onMar 26, 2014
  • Updated onApr 02, 2014
Article Topic Authentication

Symptoms or Error

The User Profile Service failed to logon with event IDs 1508 and 1502.

Solution

Following are the registry keys responsible for retaining the user information:
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

  • HKEY_USERS\.Default\Printers\Devmodes2
  • HKEY_USERS\.Default\Printers\DevModePerUser

Complete the following procedure to resolve the issue:

  1. Disable connections to the server so that no user information is written while you are making changes.

  2. Back up both registry keys.

  3. You cannot delete them directly from the user interface of the registry, because these keys are bloated or overloaded. To verify this, select the key and observe the registry user interface. The ”Not responding” message appears. Therefore, it is safer to delete these keys from the registry because of the instability of the user interface and the size.

  4. To delete the two registry keys, run the commands, as shown in the following screen shots:

    User-added image

    User-added image

  5. Verify if the information was deleted by checking HKEY_CURRENT_USER\Printers\Devmodes2 and HKEY_CURRENT_USER\Printers\DevModePerUser.

    HKEY_CURRENT_USER is an alias for the actual user's information that is contained in the HKEY_USERS hive. Modifying one will always modify both.
  6. Recreate the following keys:
    HKEY_USERS\.Default\Printers\Devmodes2
    HKEY_USERS\.Default\Printers\DevModePerUser

    To recreate each key:

    Right-click the printers hive in HKEY_USERS\.Default\Printers.
    Select New, and then select the option, Key.

    User-added image

    User-added image

Problem Cause

The errors are displayed when the registry is bloated or overloaded and certain files like ntuser.dat files which cannot point the registry with user information.

This can occur from multiple network print drivers in an environment, which the user profiles load and unload when writing this information into the registry.

Note: The more network print drivers you have, the more likely this issue can occur depending on the number of users in the environment. If this begins to happen sporadically, and if the temporary profiles and back up profiles are created, the size of the information will double.

Disclaimer

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Automatic translation

Important: This article was translated by an automatic translation system (also referred to as Machine Translation, or MT) and has not been translated or reviewed by people. Citrix offers a machine translated version of this article to allow for greater access to the support content. However, automatic translation is not always perfect and may contain errors of vocabulary, syntax or grammar. Citrix is not responsible for inconsistencies, errors or damage incurred as a result of the use of MT articles from our customers.Thank you.
Click here to see the English version of this article.
Languages
Was this helpful?
Thank you for your feedback

Share your comments or find out more about this topic

Citrix Forums