UserEnv Returns Corrupted Profile for All Failures Including RSL Exceeded
new local profile will be created (1009).
The following message may be displayed as well:
with the default system profile. Please correct the problem and log off
Your profile settings (desktop icons, application settings, and so on) are reset to the default. If you look in the %SystemRoot%\Profiles folder,you should see your profile directory has been renamed to%SystemRoot%\Profiles\Username.bak, and a new default profile has beenstored in %SystemRoot%\Profiles\Username. This is done to allow a user tolog on successfully if the profile has been corrupted or does not load forsome other reason.
If the registry size limit has been exceeded, a system pop-up messageindicating this will be presented to the user during the first logonattempt when this occurs. The following message will be displayed:
registry quota. Start the System option in the Control Panel and choose
the Virtual Memory button to increase the registry quota.
During subsequent logon attempts, profile load errors will occur and thefollowing application events will be logged:
Event ID 1000 userenv RegLoadKey failed with error 1009 for C:\WINNT\Profiles\username\ntuser.dat Event ID 1000 userenv The operating system was unable to load the locally stored profile. A new local profile will be created. (1009)
NOTE: If a user commonly locks the workstation instead of logging off, theoriginal Registry Size Limit error may have been forgotten or lost from theevent log by the time a subsequent logon attempt occurs and the profilefails to load.
Windows 2000 Terminal Server SP4 clients are not able to connect to the Terminal Server because of the following error messages:
- In Control Panel, double-click System.
- On the Performance tab, click Change in the Virtual Memory section.
- In the Virtual Memory dialog box, in the Registry Size section, the current registry size and the maximum registry size are displayed. Modify the current RSL in this section.
System Is Running Low on Registry Quota
Windows NT 4.0If the profile has been renamed to Username.bak as a result of theRSL being exceeded, it is possible to restore the original profilesettings.
- Log on to the computer as Administrator.
- Rename or delete the %SystemRoot%\Profiles\Username profile folder.
- Rename the %SystemRoot%\Profiles\Username.bak profile folder to Username.
- Log off as Administrator and log on as Username.
Windows 2000Windows 2000 includes a UserEnv enhancement so that the user profile is not deleted if or when the profile is not corrupt. A pop-up message is provided indicating insufficient resources. The user is then logged off if the user does not have local administrative privileges or the user is logged on when administrative privileges are identified. The administrator can then increase the registry size limit and log on again. The user profile used prior to the problem is still being saved on the local computer unless it has just been copied.
Note A restart is required after RSL has been increased either by using Control Panel or by editing the registry, because this change does not happen dynamically and you may still experience the following event:
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
User: NT AUTHORITY\SYSTEM
Description: RegLoadKey failed.
Return value: Insufficient system resources exist to complete the requested service for C:\Documents and Settings\ntuser.dat.
Windows 2000 Terminal Server SP4 clientsImportant 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:
- Locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
- Implement the following registry settings:
- Restart the computer.
- Click Start, click Run, type ntbackup, and then click OK. Click Emergency Repair Disk.
- When the following message comes up: Insert a blank, formatted floppy disk into drive A: and click Ok. Also backup the registry to the repair directory. This backup can be used to help recover your system if the registry is damaged. Ok
When you click OK, you can disregard the following error message:The operation failed. The drive is not ready, or the diskette is not inserted properly.
- Create a new Regback folder in c:\winnt\repair. Close Windows NT Backup, and then start the Registry Editor.
- Click \HKEY_LOCAL_MACHINE, and then click Load Hive on the File menu.
- Open the c:\winnt\repair\regback folder, click Software, and then click Open.
- In the Key Name box, type software.good, and then click OK.
- On the Registry menu, click Save Key.
- Restart your computer with the Windows 2000 CD-ROM in your CD-ROM drive so you can so you can boot from the Windows 2000 CD.
- Start the Recovery Console, and then type the following commands. Press ENTER after each command:cd\winnt\system32\config
rename software Software.bad
rename Software.good software
- Restart your computer. For additional information about the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:229716 Description of the Windows 2000 Recovery Console
For additional information, please see the following article in theMicrosoft Knowledge Base:
Article ID: 189119 - Last Review: 12/05/2015 08:54:35 - Revision: 5.6
- kbnosurvey kbarchive kbhotfixserver kbbug kbfix kbqfe KB189119