Microsoft KB Archive/829480

= WMI query for the name of a console user returns a null value =

Article ID: 829480

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-





SYMPTOMS
When you perform a Windows Management Instrumentation (WMI) query to obtain the name of a user who is logged on to the console session of a Terminal server, the user name is not returned. Instead, you receive a null value.



CAUSE
This problem occurs if the user who is logged on to the Terminal server is not a member of the local Administrators group. If the user is a member of the local Administrators group, the user name is returned successfully.



Hotfix information
A newer version of this hotfix is available. For additional information about the newer hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

889405 The process that runs a WMI statement stops responding on a Windows 2000 Service Pack 3 or later-based computer

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
To install this hotfix, you must have Microsoft Windows 2000 Service Pack 3 (SP3) or later installed on your computer.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size       File name --  23-Sep-2003  04:57  1.50.1085.113  1,089,637  Cimwin32.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
This hotfix only resolves this problem on Microsoft Windows 2000 Server-based computers that have Terminal Services installed and running. The resolution uses the WTSEnumerateSessions function. This resolution cannot resolve the problem described in the &quot;Symptoms&quot; section of this article on computers that are running Windows 2000 Professional or Windows 2000 Server where Terminal Services is not installed. For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New Naming Schema for Microsoft Windows Hotfix Packages

For additional information about the terminology that is used in this article, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix KB829480

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.