Discussion Locked

How Can I Change NT Logoff Text Message?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My boss wants me to change the text message displayed in Windows NT 4 Workstation that says "This Will End Your NT Session" and gives you a "Yes" or "No" option.

He wants a different text message placed in it that asks if office workers have completed their timecard information before going home for the day.

Is there a way to make the text change in the registry (like the option where you can put text messages during Logon)? Or do I need to create my own VB-compiled logoff app to do the job?

If the answer is a VB-compiled executable, does anyone have the source code that I could use, change, and compile?

Thanks in advance.....

5 replies

by frobo

Hi,

the only thing you cold do in the Registry is to change the following Registry-Key:

The Winlogon subkey stores configuration data for the Winlogon service.
Registry path:

HKEY_LOCAL_MACHINE\Software
\Microsoft
\Windows?NT
\CurrentVersion
\Winlogon
Welcome REG_SZ String

Default: (Blank value)

Specifies the text that appears in the caption bar beside the title of the Begin Logon, Logon Information, Windows?NT Security, Workstation Locked, and Unlock Workstation dialog boxes.

Hope it Helps

Frobo

by maxwell edison

Greetings,

Command line options usage is
initlo [-g grace] [-p program] [-t text]

where

-g grace is the time in seconds between a warning message during which the user may log off on his own and the forced logoff by the system. Default is60 seconds, -g 0 logs off the user immediately without a warning message.

-p program is the program which is executed in the user's security context after the grace time, unless the user has left the system. INITLO looks for the program in the current directory, which is usually %systemroot%\system32 if you invoked INITLO with the AT command, and the directory where INITLO was found, if you do not give the full path with the program. The default program is LOGOFF.EXE (without a path, so it should be either in %systemroot%\system32 or in INITLO's directory.

-t text is the text in the warning message box. The default text is 'Please log off within %i seconds', where %i will be filled with the grace time given with the -g switch above. See example below for correct use of quotation marks.

Ordering of command line switches is arbitrary.

See the whole article:

http://wwwthep.physik.uni-mainz.de/~frink/logoff/readme.html

Maxwell

This discussion is closed to new replies.