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.

209 lines
8.7 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_SC_LOGON TEXT("ScForceOption")
  71. //
  72. // Value ScForceOption
  73. //
  74. // Definition: Controls workstation logon behavior with respect to the
  75. // method used. Range: 0, 1. Type: REG_DWORD
  76. //
  77. // 0 - allows any kind of logons
  78. // 1 - allows only smart card logons
  79. #define FORCE_UNLOCK_LOGON TEXT("ForceUnlockLogon")
  80. //
  81. // Value - ForceUnlockLogon
  82. //
  83. // Definition: Controls whether a full logon is performed during unlock.
  84. // This will force a validation at the domain controller for the user
  85. // attempting to unlock. Range: 0, 1. Type: REG_DWORD
  86. //
  87. // 0 - Do not force authentication inline (default)
  88. // 1 - Require online authentication to unlock.
  89. //
  90. #define DCACHE_SHOW_DNS_NAMES TEXT("DCacheShowDnsNames")
  91. //
  92. // do not document
  93. //
  94. #define DCACHE_SHOW_DOMAIN_TAGS TEXT("DCacheShowDomainTags")
  95. //
  96. // do not document
  97. //
  98. //
  99. // Environment variables that *we* set.
  100. //
  101. #define PATH_VARIABLE TEXT("PATH")
  102. #define LIBPATH_VARIABLE TEXT("LibPath")
  103. #define OS2LIBPATH_VARIABLE TEXT("Os2LibPath")
  104. #define AUTOEXECPATH_VARIABLE TEXT("AutoexecPath")
  105. #define HOMEDRIVE_VARIABLE TEXT("HOMEDRIVE")
  106. #define HOMESHARE_VARIABLE TEXT("HOMESHARE")
  107. #define HOMEPATH_VARIABLE TEXT("HOMEPATH")
  108. #define INIDRIVE_VARIABLE TEXT("INIDRIVE")
  109. #define INIPATH_VARIABLE TEXT("INIPATH")
  110. #define CLIENTNAME_VARIABLE TEXT("CLIENTNAME")
  111. #define SMARTCARD_VARIABLE TEXT("SMARTCARD")
  112. #define USERNAME_VARIABLE TEXT("USERNAME")
  113. #define USERDOMAIN_VARIABLE TEXT("USERDOMAIN")
  114. #define LOGONSERVER_VARIABLE TEXT("LOGONSERVER")
  115. #define USERDNSDOMAIN_VARIABLE TEXT("USERDNSDOMAIN")
  116. #define USER_ENV_SUBKEY TEXT("Environment")
  117. #define USER_VOLATILE_ENV_SUBKEY TEXT("Volatile Environment")
  118. #define ROOT_DIRECTORY TEXT("\\")
  119. #define USERS_DIRECTORY TEXT("\\users")
  120. #define USERS_DEFAULT_DIRECTORY TEXT("\\users\\default")
  121. #define NULL_STRING TEXT("")
  122. //
  123. // Define where we get screen-saver information
  124. //
  125. #define SCREEN_SAVER_INI_FILE TEXT("system.ini")
  126. #define SCREEN_SAVER_INI_SECTION TEXT("boot")
  127. #define SCREEN_SAVER_FILENAME_KEY TEXT("SCRNSAVE.EXE")
  128. #define SCREEN_SAVER_SECURE_KEY TEXT("ScreenSaverIsSecure")
  129. #define WINDOWS_INI_SECTION TEXT("Windows")
  130. #define SCREEN_SAVER_ENABLED_KEY TEXT("ScreenSaveActive")
  131. #define OPTIMIZED_LOGON_VARIABLE TEXT("UserInitOptimizedLogon")
  132. #define LOGON_SERVER_VARIABLE TEXT("UserInitLogonServer")
  133. #define LOGON_SCRIPT_VARIABLE TEXT("UserInitLogonScript")
  134. #define MPR_LOGON_SCRIPT_VARIABLE TEXT("UserInitMprLogonScript")
  135. #define USER_INIT_AUTOENROLL TEXT("UserInitAutoEnroll")
  136. #define AUTOENROLL_NONEXCLUSIVE TEXT("1")
  137. #define AUTOENROLL_EXCLUSIVE TEXT("2")
  138. #define USER_INIT_AUTOENROLLMODE TEXT("UserInitAutoEnrollMode")
  139. #define AUTOENROLL_STARTUP TEXT("1")
  140. #define AUTOENROLL_WAKEUP TEXT("2")
  141. #define WINLOGON_USER_KEY TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon")
  142. #define SCREENSAVER_KEY TEXT("Control Panel\\Desktop")
  143. #define NODCMESSAGE TEXT("ReportDC")
  144. // ReportDC Value - see description for ReportControllerMissing above for usage
  145. #define PASSWORD_EXPIRY_WARNING TEXT("PasswordExpiryWarning")
  146. //
  147. // Policies
  148. //
  149. #define WINLOGON_POLICY_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System")
  150. #define DISABLE_LOCK_WKSTA TEXT("DisableLockWorkstation")
  151. #define DISABLE_TASK_MGR TEXT("DisableTaskMgr")
  152. #define DISABLE_CHANGE_PASSWORD TEXT("DisableChangePassword")
  153. #define DISABLE_CAD TEXT("DisableCAD")
  154. #define SHOW_LOGON_OPTIONS TEXT("ShowLogonOptions")
  155. #define DISABLE_STATUS_MESSAGES TEXT("DisableStatusMessages")
  156. #define EXPLORER_POLICY_KEY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer")
  157. #define NOLOGOFF TEXT("NoLogoff")
  158. #define NOCLOSE TEXT("NoClose")
  159. #define NODISCONNECT TEXT("NoDisconnect")
  160. #define SCREENSAVER_POLICY_KEY TEXT("Software\\Policies\\Microsoft\\Windows\\Control Panel\\Desktop")
  161. //
  162. // Things to control auto-enrollment.
  163. //
  164. #define AUTOENROLL_KEY TEXT("Software\\Microsoft\\Cryptography\\AutoEnrollment")
  165. #define AUTOENROLL_FLAGS TEXT("Flags")
  166. // HKLM\sw\ms\windows nt\currentversion\winlogon DWORD NoDomainUI
  167. // Doesn't exist or 0x0: Show Domain combobox if appropriate
  168. // Does exist and is non-0x0: Hide Domain box in all cases (force UPN or local login)
  169. #define NODOMAINCOMBO TEXT("NoDomainUI")
  170. #define ANY_LOGON_PROVIDER "<any>"