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.
Complete the following procedure to resolve the issue:
Disable connections to the server so that no user information is written while you are making changes.
Back up both registry keys.
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.
To delete the two registry keys, run the commands, as shown in the following screen shots:
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.
Recreate the following keys:
Right-click the printers hive in HKEY_USERS\.Default\Printers.
Select New, and then select the option, Key.
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.