Mark Empson's Global notepad

Platforms and Active Directory Resources.

Userenvlog for Windows Vista/2008/Win7

Userenvlog for Windows Vista/2008/Win7

  • Comments 5
  • Likes

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.

  1.  Make sure that you have the folder %windir%\debug\usermode, if the usermode folder is not there, then manually create it.
  2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
  3.  On the Edit menu, point to New, and then click Key.
  4.  Type Diagnostics, and then press ENTER.
  5.  Right-click the Diagnostics subkey, point to New, and then click DWORD Value.
  6.  Type GPSvcDebugLevel, and then press ENTER.
  7.  Right-click GPSvcDebugLevel, and then click Modify.
  8.  In the Value data box, type 30002 (as hex), and then click OK.
  9.  Exit Registry Editor.
  10.  At a command prompt, type the following command, and then press ENTER: gpupdate /force
  11. . View the Gpsvc.log file in the following folder: %windir%\debug\usermode

These details can be found at the bottom of http://support.microsoft.com/kb/944043.

 

Comments
  • <p>I needed a reboot before the log got created.</p>

  • <p>i can&#39;t type &quot;0x30002&quot; in the value. it won&#39;t take an x. is &quot;30002&quot; good enough?</p>

  • <p>yes, the 0x just lets you know that it is in hex :) sorry, I will edit the post and remove the 0x. &nbsp;Thanks for pointing that out :)</p>

  • Is Reboot necessary to complete the whole procedure?

  • It appears that if you manually create the usermode folder, a reboot is not necessary.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment