Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.7 KiB

  1. // Copyright (c) 1998-1999 Microsoft Corporation
  2. #ifdef NOMINMAX
  3. #undef NOMINMAX
  4. #endif
  5. #include <winver.h>
  6. #include <ntverp.h>
  7. #include "chglogon.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Change Logon Utility"
  11. #define VER_INTERNALNAME_STR "chglogon"
  12. #define VER_ORIGINALFILENAME_STR "chglogon.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_ERROR_MALLOC
  18. L"Error allocating memory\n"
  19. IDS_ERROR_INVALID_PARAMETERS
  20. L"Invalid parameter(s)\n"
  21. IDS_HELP_USAGE1
  22. L"Enable or disable session logins.\n\n"
  23. IDS_HELP_USAGE2
  24. L"CHANGE LOGON {/QUERY | /ENABLE | /DISABLE}\n\n"
  25. IDS_HELP_USAGE3
  26. L" /QUERY Query current session login mode.\n"
  27. IDS_HELP_USAGE4
  28. L" /ENABLE Enable user login from sessions.\n"
  29. IDS_HELP_USAGE5
  30. L" /DISABLE Disable user login from sessions.\n\n"
  31. IDS_WINSTATIONS_ENABLED
  32. L"Session logins are currently ENABLED\n"
  33. IDS_WINSTATIONS_DISABLED
  34. L"Session logins are currently DISABLED\n"
  35. IDS_ACCESS_DENIED
  36. L"Access denied to modify session login mode\n"
  37. IDS_ERROR_NOT_TS
  38. L"This utility needs Terminal Services to be running.\n"
  39. IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_1
  40. L"Connections are currently DISABLED by Group Policy for this machine, unable to change .\n"
  41. IDS_ERROR_WINSTATIONS_GP_DENY_CONNECTIONS_0
  42. L"Connections are currently ENABLED by Group Policy for this machine, unable to change.\n"
  43. END