Source code of Windows XP (NT5)
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.

202 lines
8.4 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: strings.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Defines strings that do not need to be localized.
  7. *
  8. * History:
  9. * 11-17-92 Davidc Created.
  10. \***************************************************************************/
  11. //
  12. // App name strings
  13. //
  14. #define WINLOGON_INI TEXT("WINLOGON.INI")
  15. #define WINLOGON TEXT("WINLOGON")
  16. //
  17. // Define where we store the most recent logon information
  18. //
  19. #define APPLICATION_NAME TEXT("Winlogon")
  20. #define DEFAULT_USER_NAME_KEY TEXT("DefaultUserName")
  21. #define TEMP_DEFAULT_USER_NAME_KEY TEXT("AltDefaultUserName")
  22. #define DEFAULT_DOMAIN_NAME_KEY TEXT("DefaultDomainName")
  23. #define TEMP_DEFAULT_DOMAIN_NAME_KEY TEXT("AltDefaultDomainName")
  24. #define LEGAL_NOTICE_CAPTION_KEY TEXT("LegalNoticeCaption")
  25. #define LEGAL_NOTICE_TEXT_KEY TEXT("LegalNoticeText")
  26. #define AUTO_ADMIN_LOGON_KEY TEXT("AutoAdminLogon")
  27. #define IGNORE_SHIFT_OVERRIDE_KEY TEXT("IgnoreShiftOverride")
  28. #define DEFAULT_PASSWORD_KEY TEXT("DefaultPassword")
  29. #define DONT_DISPLAY_LAST_USER_KEY TEXT("DontDisplayLastUserName")
  30. #define SHUTDOWN_WITHOUT_LOGON_KEY TEXT("ShutdownWithoutLogon")
  31. #define REPORT_BOOT_OK_KEY TEXT("ReportBootOk")
  32. #define POWER_DOWN_AFTER_SHUTDOWN TEXT("PowerdownAfterShutdown")
  33. #define REPORT_CONTROLLER_MISSING TEXT("ReportControllerMissing")
  34. /* Value ReportControllerMissing
  35. A warning message indicating that a "domain controller could not be found and
  36. that cached user credentials will be used" will only be generated if:
  37. 1. this REG_SZ value, in HKLM exists and contains the string "TRUE",
  38. in uppercase, without quotes.
  39. - AND -
  40. 2. the REG_DWORD value "ReportDC" in HKCU contains a non-zero value (or the value
  41. doesn't exist or is of the wrong type).
  42. Any other permutation of these two regvals will cause no message to be displayed and
  43. cached credentials to be used silently.
  44. "ReportControllerMissing" is the system-wide policy value, and "ReportDC" is the user's
  45. preference, which can be set by a checkbox on the warning dialog to force the message
  46. to be hidden even on systems with the "ReportControllerMissing" value set to "TRUE".
  47. - dsheldon 11/15/99
  48. */
  49. #define USERINIT_KEY TEXT("Userinit")
  50. #define AUTOADMINLOGON_KEY TEXT("AutoAdminLogon")
  51. #define FORCEAUTOLOGON_KEY TEXT("ForceAutoLogon")
  52. #define AUTOLOGONCOUNT_KEY TEXT("AutoLogonCount")
  53. #define UNLOCKWORKSTATION_KEY TEXT("ForceUnlockMode")
  54. #define PASSWORD_WARNING_KEY TEXT("PasswordExpiryWarning")
  55. #define WELCOME_CAPTION_KEY TEXT("Welcome")
  56. #define LOGON_MSG_KEY TEXT("LogonPrompt")
  57. #define RAS_DISABLE TEXT("RasDisable")
  58. #define RAS_FORCE TEXT("RasForce")
  59. #define ENABLE_LOGON_HOURS TEXT("EnableLogonHours")
  60. #define RESTRICT_SHELL TEXT("RestrictShell")
  61. #define SC_REMOVE_OPTION TEXT("ScRemoveOption")
  62. //
  63. // Value ScRemoveOption
  64. //
  65. // Definition: Controls workstation behavior when a smart card is
  66. // used to log on, and then removed. Range: 0, 1, 2. Type: REG_SZ
  67. // 0 - no action
  68. // 1 - lock workstation
  69. // 2 - force logoff
  70. #define FORCE_UNLOCK_LOGON TEXT("ForceUnlockLogon")
  71. //
  72. // Value - ForceUnlockLogon
  73. //
  74. // Definition: Controls whether a full logon is performed during unlock.
  75. // This will force a validation at the domain controller for the user
  76. // attempting to unlock. Range: 0, 1. Type: REG_DWORD
  77. //
  78. // 0 - Do not force authentication inline (default)
  79. // 1 - Require online authentication to unlock.
  80. //
  81. #define DCACHE_SHOW_DNS_NAMES TEXT("DCacheShowDnsNames")
  82. //
  83. // do not document
  84. //
  85. #define DCACHE_SHOW_DOMAIN_TAGS TEXT("DCacheShowDomainTags")
  86. //
  87. // do not document
  88. //
  89. //
  90. // Environment variables that *we* set.
  91. //
  92. #define PATH_VARIABLE TEXT("PATH")
  93. #define LIBPATH_VARIABLE TEXT("LibPath")
  94. #define OS2LIBPATH_VARIABLE TEXT("Os2LibPath")
  95. #define AUTOEXECPATH_VARIABLE TEXT("AutoexecPath")
  96. #define HOMEDRIVE_VARIABLE TEXT("HOMEDRIVE")
  97. #define HOMESHARE_VARIABLE TEXT("HOMESHARE")
  98. #define HOMEPATH_VARIABLE TEXT("HOMEPATH")
  99. #define INIDRIVE_VARIABLE TEXT("INIDRIVE")
  100. #define INIPATH_VARIABLE TEXT("INIPATH")
  101. #define CLIENTNAME_VARIABLE TEXT("CLIENTNAME")
  102. #define SMARTCARD_VARIABLE TEXT("SMARTCARD")
  103. #define USERNAME_VARIABLE TEXT("USERNAME")
  104. #define USERDOMAIN_VARIABLE TEXT("USERDOMAIN")
  105. #define LOGONSERVER_VARIABLE TEXT("LOGONSERVER")
  106. #define USERDNSDOMAIN_VARIABLE TEXT("USERDNSDOMAIN")
  107. #define USER_ENV_SUBKEY TEXT("Environment")
  108. #define USER_VOLATILE_ENV_SUBKEY TEXT("Volatile Environment")
  109. #define ROOT_DIRECTORY TEXT("\\")
  110. #define USERS_DIRECTORY TEXT("\\users")
  111. #define USERS_DEFAULT_DIRECTORY TEXT("\\users\\default")
  112. #define NULL_STRING TEXT("")
  113. //
  114. // Define where we get screen-saver information
  115. //
  116. #define SCREEN_SAVER_INI_FILE TEXT("system.ini")
  117. #define SCREEN_SAVER_INI_SECTION TEXT("boot")
  118. #define SCREEN_SAVER_FILENAME_KEY TEXT("SCRNSAVE.EXE")
  119. #define SCREEN_SAVER_SECURE_KEY TEXT("ScreenSaverIsSecure")
  120. #define WINDOWS_INI_SECTION TEXT("Windows")
  121. #define SCREEN_SAVER_ENABLED_KEY TEXT("ScreenSaveActive")
  122. #define OPTIMIZED_LOGON_VARIABLE TEXT("UserInitOptimizedLogon")
  123. #define LOGON_SERVER_VARIABLE TEXT("UserInitLogonServer")
  124. #define LOGON_SCRIPT_VARIABLE TEXT("UserInitLogonScript")
  125. #define MPR_LOGON_SCRIPT_VARIABLE TEXT("UserInitMprLogonScript")
  126. #define USER_INIT_AUTOENROLL TEXT("UserInitAutoEnroll")
  127. #define AUTOENROLL_NONEXCLUSIVE TEXT("1")
  128. #define AUTOENROLL_EXCLUSIVE TEXT("2")
  129. #define USER_INIT_AUTOENROLLMODE TEXT("UserInitAutoEnrollMode")
  130. #define AUTOENROLL_STARTUP TEXT("1")
  131. #define AUTOENROLL_WAKEUP TEXT("2")
  132. #define WINLOGON_USER_KEY TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon")
  133. #define NODCMESSAGE TEXT("ReportDC")
  134. // ReportDC Value - see description for ReportControllerMissing above for usage
  135. #define PASSWORD_EXPIRY_WARNING TEXT("PasswordExpiryWarning")
  136. //
  137. // Policies
  138. //
  139. #define WINLOGON_POLICY_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System")
  140. #define DISABLE_LOCK_WKSTA TEXT("DisableLockWorkstation")
  141. #define DISABLE_TASK_MGR TEXT("DisableTaskMgr")
  142. #define DISABLE_CHANGE_PASSWORD TEXT("DisableChangePassword")
  143. #define DISABLE_CAD TEXT("DisableCAD")
  144. #define SHOW_LOGON_OPTIONS TEXT("ShowLogonOptions")
  145. #define DISABLE_STATUS_MESSAGES TEXT("DisableStatusMessages")
  146. #define EXPLORER_POLICY_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer")
  147. #define NOLOGOFF TEXT("NoLogoff")
  148. #define NOCLOSE TEXT("NoClose")
  149. #define NODISCONNECT TEXT("NoDisconnect")
  150. #define RELIABILITY_POLICY_KEY TEXT("Software\\Policies\\Microsoft\\Windows NT\\Reliability")
  151. #define RELIABILITY_POLICY_SHUTDOWNREASONUI TEXT("ShutdownReasonUI")
  152. #define RELIABILITY_POLICY_SNAPSHOT TEXT("Snapshot")
  153. #define RELIABILITY_POLICY_REPORTSNAPSHOT TEXT("ReportSnapshot")
  154. //
  155. // Things to control auto-enrollment.
  156. //
  157. #define AUTOENROLL_KEY TEXT("Software\\Microsoft\\Cryptography\\AutoEnrollment")
  158. #define AUTOENROLL_FLAGS TEXT("Flags")
  159. // HKLM\sw\ms\windows nt\currentversion\winlogon DWORD NoDomainUI
  160. // Doesn't exist or 0x0: Show Domain combobox if appropriate
  161. // Does exist and is non-0x0: Hide Domain box in all cases (force UPN or local login)
  162. #define NODOMAINCOMBO TEXT("NoDomainUI")
  163. #define ANY_LOGON_PROVIDER "<any>"