SMS: Audit32 May Fail on Workstations Running Windows NT

ID: Q158311


The information in this article applies to:
  • Microsoft Systems Management Server version 1.2

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

The Systems Management Server Software Audit may fail on workstations running Windows NT if they receive the audit package from a Systems Management Server 1.2 site. The following error will be recorded in the Audit32.log file:

An error has occurred while trying to read the Sms.ini file.


CAUSE

This problem occurs under certain conditions when the Systems Management Server Client Inventory service (Inv32cli.exe) does not write the [logonhistory] section (specifically, the LastLoggedUser entry, or in the [Local] section the NetCardID or SystemRole or SystemType required by Audit32) in the Sms.ini file.


WORKAROUND

To work around this problem: From the client that is experiencing the problem, connect to the SMS_SHR share of a Systems Management Server (SMS) logon server, change to the appropriate platform binary subfolder (for example, X86.bin), and then run the following command:

invwin32.exe /E /F


STATUS

Microsoft has confirmed this to be a problem in Systems Management Server version 1.2. This problem has been corrected in the latest U.S. service pack for Systems Management Server version 1.2. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


MORE INFORMATION

Note that the LastLoggedUser entry may be blank if there is a policy in force to Hide Last Logged Username in the Logon dialog box. For additional information, please see the following article in the Microsoft Knowledge Base:

Q114463 Hiding the Last Logged On Username in the Logon Dialog
To resolve this issue change the registry value.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).


Open the Registry Editor and go to the following registry key:

   HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon 
The value of interest is:

   DontDisplayLastUserName    REG_SZ 

Range: 0 or 1; 1 enables this feature.

The Last Username Display can also be hidden without editing the registry directly if the you have the Windows NT Resource Kit:
  1. On the Start menu, point to Programs, and click Resource Kit 4.0.


  2. Click Configuration\C2 Configuration.


  3. Double-click the line that reads Last Username Display.


  4. Click to place a check in Hide The Last Username To Login checkbox.


  5. Click Secure, then click OK.


Additional query words: prodsms

Keywords : kbSMS200 kbSMS200bug kbSMS120 kbSMS120bug kbAudit kbInventory kbfix1.20.sp2
Version : winnt:1.2
Platform : winnt
Issue type : kbbug


Last Reviewed: January 14, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.