Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

userenv

Status
Not open for further replies.

dlnalaeh

MIS
Dec 22, 2000
16
US
i've got a Metaframe 1.8 SP3 server that has been going just fine for the last two years. it's rebooted everynight.

now I am getting userenv error when folks login.

I've looked at all of the things at the citrix web site in KB and forum, none of those things are an issue on my server.

It stopped last week for a couple of days when I reapplied MF sp3 - buts its happening again.

any ideas on what else to check would be helpfull

thanks
 
Can you give some more info on the error messages....????

Could be a registry size problem....???? Does it happen to every user logging on....????
 
Current Reg Size is 18 - Max Reg Size is 98

app event log entries are
"RegLoadKey failure with error 1450 for m:\wtsrv\Profiles\username\ntuser.dat"
"unable to load your locally stored profile. A new local profile will be created"
"The operating system was unable to load your profile. Contact your Network Administrator"

Users have Full Control to the Profiles directory.
 
Delete one user's profile (or rename it) and test. We periodically have to delete user's profiles on some of our servers. It depends on how well the app cleans up after itself.
 
Tried that -- when I'm having the problem. The profile directory gets created the next login, but then the user gets the error message again on the next login after that.

 
Doesn't sound like registry then...??!!

From a Microsoft article......

This problem has several common causes. The following are the most relevant causal scenarios. Permissions on the local %system root%\Profiles have been modified. The EVERYONE group needs Full Control to load the profile. Lack of resources. If the system partition is low on space, or the registry size limit has been exceeded, the profile can fail to load. The profile is corrupted. Either the local Ntuser.dat (or .man) or the roaming copy of Ntuser.dat is corrupted. When this occurs, there is usually an event indicating a RegLoadKey failure.

 
Hmmm, that is odd. I knwo you said that the users have fuill control on the Profiles folder, but have you checked the permissions on their profile folder after a SUCCESSFUL login? Do you have another server to compare to?

On our servers the PROFILES folder has:

EVERYONE: Change (RWXD) (RWXD)
CREATOR\OWNER: FULL CONTROL
SYSTEM: FULL CONTROL
ADMINISTRATORS: FULL CONTROL

And the USERS PROFILE folder itself has:

USERNAME: FULL CONTROL
SYSTEM: FULL CONTROL
ADMINISTRATORS: FULL CONTROL
 
Try using Regmon and Filemon from Sysinternals to capture what happens when a user logs in. Maybe you can see if there are any access denied entries to files or registry keys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top