ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB970910

A memory leak issue occurs if you call the WTSQuerySessionInformation function to query the published applications for session ID 0, or if you to call this function to initialize the program information for session ID 0

Consider the following scenario:

  • An application or a service calls the WTSQuerySessionInformation function to query some terminal server session related information.
  • The second parameter is 0 and the third parameter is WTSInitialProgram or WTSApplicationName.

In this scenario, under heavy stress conditions, the memory usage of the application or the service keeps increasing.
Further investigation indicates that the WTSQuerySessionInformation function leaks memory. Additionally, the GetLastError function returns an incorrect error code.

There is a download that resolves this issue. See Hotfixes for details.
32-bit Download: Contact Microsoft
64-Bit Download: Contact Microsoft

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB970910.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts