Userenv logging (User Environment logging)

When you enable userenv logging, you can perform debug logging of the user profile and the system policy processes. Userenv log files also contain information about the status of each Group Policy extension, such as Application Deployment, Security, and Folder Redirection. Userenv log files reveal what is occurring in the background as a user logs on

 Userenv.log file located in the %SystemRoot%\Debug\UserMode folder

Userenv log files contains information about the following:
  • Group Policy settings that are not processed or not applied as expected
  • Folder redirection that does not occur
  • Profile or registry hive load, unload, or deletion failures
  • Logon script, or script not applied as expected
  • Default behaviors occurring because a slow link was detected
  • Roaming profile issues
  • Slow logon issues
  • Whether a given GPO is accessible, and if not, why access was denied.
  • The name of the domain controller that is accessing SYSVOL.
The Userenv log has a maximum size of 1 megabyte (MB). At system startup, if the log file exceeds 1 MB, the contents is copied into a Userenv.bak file and a new Userenv log is created. If the system remains running and is not restarted, the log file exceeds 1 MB.

Use Registry Editor to add or to modify the following registry entry:
Subkey:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Entry: UserEnvDebugLevel
Type: REG_DWORD
Value data: 10002 (Hexadecimal)
UserEnvDebugLevel can have the following values:
NONE 0x00000000
NORMAL 0x00000001
VERBOSE 0x00000002
LOGFILE 0x00010000
DEBUGGER 0x00020000
The default value is NORMAL|LOGFILE (0x00010001).




 

 

Comments

Popular posts from this blog

Boot configuration Data Store --BCDEdit /set

ADSI Edit