Userenvlog for Windows Vista/2008/Win7
If you like the userenvlog from Windows XP, you may want to know how to get more information from the GPSVR service in Windows 2008/Visa/Win 7. If so then try this:
How to enable logging in the Gpsvc.log file To enable logging in the Gpsvc.log file, follow these steps. Click Start, click Run, type regedit, and then click OK.
- Make sure that you have the folder %windir%\debug\usermode, if the usermode folder is not there, then manually create it.
- Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
- On the Edit menu, point to New, and then click Key.
- Type Diagnostics, and then press ENTER.
- Right-click the Diagnostics subkey, point to New, and then click DWORD Value.
- Type GPSvcDebugLevel, and then press ENTER.
- Right-click GPSvcDebugLevel, and then click Modify.
- In the Value data box, type 30002 (as hex), and then click OK.
- Exit Registry Editor.
- At a command prompt, type the following command, and then press ENTER: gpupdate /force
- . View the Gpsvc.log file in the following folder: %windir%\debug\usermode
These details can be found at the bottom of https://support.microsoft.com/kb/944043.
Comments
Anonymous
January 01, 2003
yes, the 0x just lets you know that it is in hex :) sorry, I will edit the post and remove the 0x. Thanks for pointing that out :)Anonymous
January 01, 2003
i can't type "0x30002" in the value. it won't take an x. is "30002" good enough?Anonymous
January 01, 2003
Is Reboot necessary to complete the whole procedure?Anonymous
January 03, 2013
I needed a reboot before the log got created.Anonymous
February 25, 2014
It appears that if you manually create the usermode folder, a reboot is not necessary.Anonymous
May 19, 2014
Pingback from XenApp Profile Optimization | The Citrix GuruAnonymous
June 01, 2014
Hi My name is Lakshman Hariharan and I work for Microsoft as a Premier Field Engineer supporting ActiveAnonymous
August 27, 2014
I just created the folder manually and proceeded as instructed, no reboot was required.Anonymous
October 15, 2014
The DWORD should be 32Bit. A 64Bit didn't work for me although I use a 64Bit W7.Anonymous
October 01, 2015
Follow and able to produce logsAnonymous
October 08, 2015
A host of reference material for AD and Group PolicyAnonymous
November 30, 2015
@EuRo, DWORD is 32bit, a QWORD is 64bit. He said a DWORD.Anonymous
December 02, 2015
I failed to first create the Key "Diagnostics", then you need to create the DWORD subkey in there. The decimal value for 0x3002 is 196610. Lastly, if the "usermode" directory does not exist under c:windowsdebug" you need to create it. You do not need to reboot the system, just need to run gpupdate /force.
Hopefully, this helps someone! It worked for me.