Microsoft KB Archive/156677

= Logoff Screen Saver Does Not Function in Windows NT =

Article ID: 156677

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q156677



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
If you are logged on to a server or workstation without administrative rights, the logoff screen saver included in the Windows NT 3.51 and 4.0 Resource Kits does not function properly.

You will also get the following error messages when attempting to use the utility without administrative rights:

Error encountered while creating registry key. Make sure you have set values and create subkey permissions.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

In order for non-administrators to be able to use WINEXIT, you must add Set Value and Create Subkey permissions for the group Everyone on the following registry key:

HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini

To do this, use the following steps:

NOTE: You must be logged on with administrative rights to make these changes.  Start Registry Editor (Regedt32.exe). Open the following key:

HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini

 On the Security menu, click Permissions. In the Name box, click Everyone, and then click Special Access in the Type of Access box. Click to select the Set Value and Create Subkey check boxes. Click OK, and then click OK.</li> Quit Registry Editor, and then restart the computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
WINEXIT is a screen saver that logs the current user off after the specified time has elapsed. In other respects, it is similar to other screen savers and can be configured and tested on the Screen Saver tab of the Display Properties dialog box in Control Panel.

WINEXIT displays a dialog box in which it displays the countdown timer and a user-defined message. When the countdown timer reaches zero, the log off process is initiated.

To install Winexit.scr before configuring:
 * 1) Install the Windows NT Resource Kit on the workstation.
 * 2) Locate the Winexit.scr file in the NTreskit folder.
 * 3) Right-click the Winexit.scr file, and then click Install.

To activate WINEXIT, perform the following steps:
 * 1) Click the Start button, point to Settings, and click Control Panel, then double-click the Display icon.
 * 2) On the Screen Saver tab, select Windows Exit from the Screen Saver list.
 * 3) In the Wait box, select the number of minutes of inactivity before the screen saver appears.
 * 4) To configure the screen saver, click Settings. In the Force Logoff box, select the Force Application Termination checkbox to have the system close all running applications regardless of their current state.

By default, this checkbox is not selected and the system queries applications to see if work needs to be saved before forcing the application to quit. Use this setting with caution because applications with unsaved data will not have a chance to save their work.
 * 1) In the Time To Log Off box, type the time WinExit will display its logoff dialog box before proceeding with the log off process. Type a value between 0 and 999 seconds.
 * 2) In the Logoff Message box, type a message to display in the logoff dialog box. The message is limited to 255 characters and will be truncated if extra characters are typed.
 * 3) To start the screen saver temporarily, click the Preview button. To return to Windows, move your mouse.

NOTE: You can now test Windows Exit screen saver by clicking Preview on the Screen Saver tab without WINEXIT attempting to log you off.

When activated, WINEXIT beeps, indicating that the logoff process is about to begin, and displays the logoff dialog box. If no action is taken and the countdown timer reaches zero, the system will initiate the log off procedure. You can abort the process before the countdown timer reaches zero by either moving the mouse pointer over the dialog box or pressing any key on the keyboard.

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.51 & 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: winexit.scr

Keywords: kbsetup KB156677

-

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

© Microsoft Corporation. All rights reserved.