You are currently offline, waiting for your internet to reconnect

Logoff Screen Saver Does Not Function in Windows NT

This article was previously published under Q156677
This article has been archived. It is offered "as is" and will no longer be updated.
If you are logged on to a server or workstation without administrativerights, the logoff screen saver included in the Windows NT 3.51 and 4.0Resource 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.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

In order for non-administrators to be able to use WINEXIT, you must addSet Value and Create Subkey permissions for the group Everyone on thefollowing 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.
  1. Start Registry Editor (Regedt32.exe).
  2. Open the following key:
    HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\IniFileMappings\Control.ini
  3. On the Security menu, click Permissions.
  4. In the Name box, click Everyone, and then click Special Access in the Type of Access box.
  5. Click to select the Set Value and Create Subkey check boxes.
  6. Click OK, and then click OK.
  7. Quit Registry Editor, and then restart the computer.
WINEXIT is a screen saver that logs the current user off after thespecified time has elapsed. In other respects, it is similar to otherscreen savers and can be configured and tested on the Screen Saver tab ofthe Display Properties dialog box in Control Panel.

WINEXIT displays a dialog box in which it displays the countdown timer anda user-defined message. When the countdown timer reaches zero, the log offprocess 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.
  5. 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.
  6. 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.
  7. 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 isabout to begin, and displays the logoff dialog box. If no action is takenand the countdown timer reaches zero, the system will initiate the log offprocedure. You can abort the process before the countdown timer reacheszero by either moving the mouse pointer over the dialog box or pressingany key on the keyboard.
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 inthe Microsoft Knowledge Base as it becomes available.

Article ID: 156677 - Last Review: 12/04/2015 15:26:46 - Revision: 1.2

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

  • kbnosurvey kbarchive kbsetup KB156677