50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
|
// Copyright (c) 1998-1999 Microsoft Corporation
|
||
|
#ifdef NOMINMAX
|
||
|
#undef NOMINMAX
|
||
|
#endif
|
||
|
|
||
|
#include <winver.h>
|
||
|
#include <ntverp.h>
|
||
|
#include "chglogon.h"
|
||
|
|
||
|
#define VER_FILETYPE VFT_APP
|
||
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
|
#define VER_FILEDESCRIPTION_STR "Change Logon Utility"
|
||
|
#define VER_INTERNALNAME_STR "chglogon"
|
||
|
#define VER_ORIGINALFILENAME_STR "chglogon.exe"
|
||
|
|
||
|
#include <verall.h>
|
||
|
#include "common.ver"
|
||
|
|
||
|
STRINGTABLE
|
||
|
BEGIN
|
||
|
IDS_ERROR_MALLOC
|
||
|
L"Error allocating memory\n"
|
||
|
IDS_ERROR_INVALID_PARAMETERS
|
||
|
L"Invalid parameter(s)\n"
|
||
|
IDS_HELP_USAGE1
|
||
|
L"Enable or disable session logins.\n\n"
|
||
|
IDS_HELP_USAGE2
|
||
|
L"CHANGE LOGON {/QUERY | /ENABLE | /DISABLE}\n\n"
|
||
|
IDS_HELP_USAGE3
|
||
|
L" /QUERY Query current session login mode.\n"
|
||
|
IDS_HELP_USAGE4
|
||
|
L" /ENABLE Enable user login from sessions.\n"
|
||
|
IDS_HELP_USAGE5
|
||
|
L" /DISABLE Disable user login from sessions.\n\n"
|
||
|
IDS_WINSTATIONS_ENABLED
|
||
|
L"Session logins are currently ENABLED\n"
|
||
|
IDS_WINSTATIONS_DISABLED
|
||
|
L"Session logins are currently DISABLED\n"
|
||
|
IDS_ACCESS_DENIED
|
||
|
L"Access denied to modify session login mode\n"
|
||
|
IDS_ERROR_NOT_TS
|
||
|
L"This utility needs Terminal Services to be running.\n"
|
||
|
|
||
|
IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_1
|
||
|
L"Connections are currently DISABLED by Group Policy for this machine, unable to change .\n"
|
||
|
IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_0
|
||
|
L"Connections are currently ENABLED by Group Policy for this machine, unable to change.\n"
|
||
|
END
|
||
|
|