API (for example, remote shutdown), the following error message may appear in the Windows NT Event Viewer System log file:
Source: Event Log
Description: The previous system shutdown at time on date was unexpected.
Windows NT Server or Workstation 4.0To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
- 152734 how to obtain the latest windows nt 4.0 service pack
Windows NT Server 4.0, Terminal Server EditionTo resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
This problem was first corrected in Windows NT Server 4.0 Service Pack 6 and Windows NT Server 4.0, Terminal Server Edition Service Pack 6.
To prevent the improper shutdown event entry from being written to the Event Viewer system log:
- Start Registry Editor (Regedt32.exe).
- Locate the following registry key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Reliability\LastAliveStamp
- On the Edit menu, click Add Value, and then add the following registry value:Value name: TimeStampInterval
Data type: REG_DWORD
Value: The number, in minutes, between time stamp events written to the log. Setting the value to 0 prevents the "last alive" time stamp from being logged. Only boot and normal shutdown events are then written to the log file.
- Quit Registry Editor.
ID d'article : 236949 - Dernière mise à jour : 31 mai 2012 - Révision : 1