Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the purpose of this registry key


I am writing a system state backup solution and this came up in my research. Could not find any docs on it though

share|improve this question
up vote 2 down vote accepted

This key has do with the registry handle leak tracking functionality within Windows. It has the following spec:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: LeakTrack
Data: 0 or 1

If LeakTrack is set to 1 (one), Windows tracks all open registry keys and detect if any are leaked. This registry key is not required for normal operating system functionality.

The functions in ADVAPI32.dll (the registry API) responsible for getting a registry key handle read this value. When the value is set appropriately they collect a call stack whenever they are asked to get a registry key under the user profile hives. Later when the registry keys are release closed it removes the discards the collected call stack information.

It is needed only for debug sessions when memory leaks are to be tracked. The value is set by Microsofts UPHClean (User Profile Hive Cleanup Service ) service for example.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.