Enable Verbose Global Policy Logging


Having problems with login scripts and Group Policies? You can enable verbose
logging to track all changes and settings applied using Group Policy and its
extension to the local computer and to users who log on to the computer. The log
file, userenv.log, will be written into the %windir%\debug folder. This folder
is a hidden folder. To enable verbose logging (Userenv.log):

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows NT\Current Version\Winlogon

Name: UserenvDebugLevel

Type: REG_DWORD
Set
UserenvDebugLevel=30002 is for verbose logging, UserenvDebugLevel=30001 is for
errors and warnings only, and UserenvDebugLevel=30000 logs nothing.

This hack provides very detailed information above and beyond what can be
determined by running the Global Policy
Results
utility.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top