none
Userenvdebug Logging in Windows Server 2008

    Question

  • Hi!

    How can i turn on User Environment Debug Logging in Vista or Windows Server 2008?

    I tried it like it worked in 2000,XP or 2003 but the logfile is way to small. ... (http://support.microsoft.com/kb/221833)

    I found:

    Path: [HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics\]

    Key name: GpSvcDebugLevel

    but i didnt find any documentation for setting the value of this
    GpSvcDebugLevel value.

    How can this loging be turned on in 2008?

    thx in advance!
    Monday, April 20, 2009 10:54 AM

Answers

  • hi there,

    There is no userenv logging for windows vista

    Please follow the below link

    http://blogs.technet.com/askperf/comments/2975012.aspx

    in order to collect userenv logging please follow the below steps

    Please obtain detailed troubleshooting information of processing group policy log (gpsvc.log):

     

    a. Click Start, type "Regedit" in the Start Search box, and press Enter.

     

    b. In the Registry Editor, expand HKLM\Software\Microsoft\Windows NT\CurrentVersion

     

    c. Under that, create a new Key called "Diagnostics"

     

    d. Under that key, create a DWORD value "GPSvcDebugLevel" and set the value as 0x30002 (hexadecimal)

     

    e. In Command Prompt, type "gpupdate /force" to refresh GPO.

     

    f. After that, please collect gpsvc.log which is located in  %systemroot%\Debug\Usermode

     

    2. Please do as following steps on these problematic computer to enable "winlogon.log" as the delay occurs during computer startup:

     

    a. Start Registry Editor (Regedit.exe)

     

    b. Locate and click the following key in the registry:

     

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}.

     

    Please note: The above registry key is one path; it has been wrapped for readability.

     

    c. Edit the following registry value:

     

    Value name: ExtensionDebugLevel

     

    Data type: DWORD

     

    Value data: 2

     

    d. Quit Registry Editor

     

    e. Reboot the computer

     

    The Winlogon.log file is created in the folder %systermroot% \Security\Logs

     

    To collect Netlogon.log, please refer to the following KB article.

     

    Enabling debug logging for the Net Logon service

    http://support.microsoft.com/kb/109626

     


    sainath Windows Driver Development
    Monday, April 20, 2009 11:46 AM
    Moderator
  • In case you are looking for log information on user profile loading/unloading: that has unfortunately been removed in Vista/Server 2008 without adding a substitute. I have described the situation in a blog article:

    http://blogs.sepago.de/helge/2008/10/23/troubleshooting-user-profile-problems-on-vista-and-server-2008-but-how/

    I hope this helps.
    ----- Please visit my blog at http://blogs.sepago.de/helge
    Monday, April 20, 2009 12:49 PM

All replies

  • hi there,

    There is no userenv logging for windows vista

    Please follow the below link

    http://blogs.technet.com/askperf/comments/2975012.aspx

    in order to collect userenv logging please follow the below steps

    Please obtain detailed troubleshooting information of processing group policy log (gpsvc.log):

     

    a. Click Start, type "Regedit" in the Start Search box, and press Enter.

     

    b. In the Registry Editor, expand HKLM\Software\Microsoft\Windows NT\CurrentVersion

     

    c. Under that, create a new Key called "Diagnostics"

     

    d. Under that key, create a DWORD value "GPSvcDebugLevel" and set the value as 0x30002 (hexadecimal)

     

    e. In Command Prompt, type "gpupdate /force" to refresh GPO.

     

    f. After that, please collect gpsvc.log which is located in  %systemroot%\Debug\Usermode

     

    2. Please do as following steps on these problematic computer to enable "winlogon.log" as the delay occurs during computer startup:

     

    a. Start Registry Editor (Regedit.exe)

     

    b. Locate and click the following key in the registry:

     

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}.

     

    Please note: The above registry key is one path; it has been wrapped for readability.

     

    c. Edit the following registry value:

     

    Value name: ExtensionDebugLevel

     

    Data type: DWORD

     

    Value data: 2

     

    d. Quit Registry Editor

     

    e. Reboot the computer

     

    The Winlogon.log file is created in the folder %systermroot% \Security\Logs

     

    To collect Netlogon.log, please refer to the following KB article.

     

    Enabling debug logging for the Net Logon service

    http://support.microsoft.com/kb/109626

     


    sainath Windows Driver Development
    Monday, April 20, 2009 11:46 AM
    Moderator
  • In case you are looking for log information on user profile loading/unloading: that has unfortunately been removed in Vista/Server 2008 without adding a substitute. I have described the situation in a blog article:

    http://blogs.sepago.de/helge/2008/10/23/troubleshooting-user-profile-problems-on-vista-and-server-2008-but-how/

    I hope this helps.
    ----- Please visit my blog at http://blogs.sepago.de/helge
    Monday, April 20, 2009 12:49 PM