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.

259 lines
14 KiB

  1. #include <windows.h>
  2. #include <winver.h> // version info
  3. #include <ntverp.h> // windows NT version info
  4. #include "c2funres.h"
  5. STRINGTABLE
  6. BEGIN
  7. // Generic Messages
  8. IDS_GENERIC_COMPLY "Secure"
  9. IDS_GENERIC_NOT_COMPLY "NOT Secure"
  10. IDS_GENERIC_MB_MESSAGE "You Selected item %d\r\n%s = %s\r\nand %s C2 Compliant.\r\n\r\nShould this be C2 Compliant?"
  11. IDS_GENERIC_CAPTION "Security Configuration -- Generic"
  12. IDS_IS "is"
  13. IDS_IS_NOT "is not"
  14. IDS_DLL_NAME "Security Configuration Utilities"
  15. IDS_UNABLE_READ "Unable to read the current status of this item."
  16. IDS_MAKE_C2_COMPLIANT "You Selected the\r\n%s = %s\r\nand %s C2 Compliant.\r\n\r\nShould this be C2 Compliant?"
  17. IDS_IS_C2_COMPLIANT "is"
  18. IDS_IS_NOT_C2_COMPLIANT "is not"
  19. END
  20. STRINGTABLE
  21. BEGIN
  22. // fschecks.c
  23. // File System Strings
  24. IDS_NTFS "NTFS"
  25. IDS_FS_LIST_TEXT_FORMAT "Drive %2.2s\tis using the %s\tFile System"
  26. IDS_ERR_LIST_TEXT_FORMAT "Drive %2.2s\tcannot be read!"
  27. IDS_NOT_C2_MESSAGE_FORMAT "%2d Volumes do not use the NTFS File System."
  28. IDS_C2_MESSAGE_FORMAT "All volumes use the NTFS File System"
  29. IDS_SET_FS_MESSAGE "This application cannot change the file system. You must run the Convert utility to convert the volumes to NTFS. See the Windows NT Help for more information"
  30. IDS_FS_CAPTION "Security Configuration Manager -- File System"
  31. IDS_C2_DISPLAY_MESSAGE "All local disk drives use the NTFS File System."
  32. IDS_FS_DLG_TEXT "Security Configuration Manager requires that all drives use the NTFS file system.\r\n\r\nSelect the drives listed below to convert to NTFS when the system restarts."
  33. IDS_AUTOCHEK_CMD "autochek autochk *"
  34. IDS_AUTOCONV_CMD "autocheck autoconv \\DosDevices\\%1s: /FS:NTFS"
  35. IDS_FS_LAST_CHANCE "You have selected one or more disk drives to be converted to NTFS. This process will require the system to shutdown and restart several times.\r\n\r\nSelect OK if you wish to continue or Cancel if you wish to leave the drives unchanged."
  36. IDS_SESSION_MANAGER_KEY "SYSTEM\\CurrentControlSet\\Control\\Session Manager"
  37. IDS_BOOT_EXECUTE_VALUE "BootExecute"
  38. IDS_FS_CONVERT_FORMAT "Drive %2.2s\twill be converted to the %s\tFile System"
  39. IDS_NOT_C2_MESSAGE_FORMAT_1 "%2d Volume does not use the NTFS File System."
  40. END
  41. STRINGTABLE
  42. BEGIN
  43. // oschecks.c
  44. // Operating System Check strings
  45. IDS_IO_SYS "c:\\io.sys"
  46. IDS_MSDOS_SYS "c:\\msdos.sys"
  47. IDS_PCDOS_SYS "c:\\pcdos.sys"
  48. IDS_BOOT_LOADER "boot loader"
  49. IDS_TIMEOUT "timeout"
  50. IDS_BOOT_INI_PATH "c:\\boot.ini"
  51. IDS_DOS_ON_SYSTEM "MS-DOS is installed on the System."
  52. IDS_TIMEOUT_NOT_ZERO "Boot.INI Timeout is not 0."
  53. IDS_OS_OK "The Operating System options are Secure."
  54. IDS_OS_DLG_TEXT "Security Configuration Manager requires that NT be the only OS on the computer and the boot selection timeout must be 0. The following was found on this system."
  55. IDS_OS_CAPTION "Security Configuration -- Operating Systems"
  56. IDS_USE_CONTROL_PANEL "Windows NT must be the only OS installed on the system.\r\n\r\nUse the Control Panel application to adjust the Boot Timeout values."
  57. IDS_CURRENT_SYS_NOT_DEFAULT "The current system is not the default system."
  58. IDS_BOOT_LOADER_SECTION "boot loader"
  59. IDS_DEFAULT_KEY "default"
  60. IDS_BOOT_INI_FILENAME "C:\\boot.ini"
  61. IDS_OP_SYSTEMS_SECTION "operating systems"
  62. IDS_OS_DELETE_DOS_FILES "You have selected to delete the MS-DOS system files. This will prevent your system from booting MS-DOS from the system's boot drive.\r\n\r\nSelect OK to continue or Cancel to abort this operation."
  63. IDS_OS_ZERO_BOOT_TIMEOUT "You have selected to set the system boot selection time to 0. This will prevent you from selecting an operating system other than the default. This value cannot be reset by Security Config. If you wish to change it later, you will have to run the System Control Panel applet.\r\n\r\nSelect OK to continue or Cancel to abort this operation."
  64. IDS_OS_RISC_BOOT_TIMEOUT "The Security Configuration Manager cannot change this value. Check with the system's documentation for the correct procedure to change this value."
  65. END
  66. STRINGTABLE
  67. BEGIN
  68. // os2ss.c
  69. // OS2SS check strings
  70. IDS_OS2SS_FILE "%systemroot%\\system32\\os2ss.exe"
  71. IDS_OS2_ON_SYSTEM "OS/2 Subsystem is installed."
  72. IDS_OS2_NOT_ON_SYSTEM "OS/2 Subsystem is not installed."
  73. IDS_DELETE_OS2 "OS2SS.EXE must be deleted from the SYSTEM32 directory."
  74. IDS_OS2_CAPTION "Security Configuration Manager -- OS/2 Subsystem"
  75. IDS_OS2_DISPLAY_MESSAGE "The OS/2 subsystem was found on the system. Security Configuration Manager requires that OS/2 not be present on the system.\r\n\r\nSelect OK to delete the OS/2 subsystem."
  76. IDS_NEW_OS2SS_FILE "%systemroot%\\system32\\os2ss.sav"
  77. IDS_OS2_FILE "%systemroot%\\system32\\os2.exe"
  78. IDS_NEW_OS2_FILE "%systemroot%\\system32\\os2.sav"
  79. IDS_OS2_ERROR_MOVING "An error occured while attempting to disable the OS2 Sub System."
  80. IDS_OS2_CONFIRM "You have selected to remove the OS/2 Subsystem from this system. This operation is not reversable.\r\n\r\nSelect OK to continue or Cancel to keep the OS/2 subsystem on this system."
  81. END
  82. STRINGTABLE
  83. BEGIN
  84. // posix.c
  85. // Posix check strings
  86. IDS_POSIX_FILE "%systemroot%\\system32\\psxss.exe"
  87. IDS_POSIX_ON_SYSTEM "Posix Subsystem is installed."
  88. IDS_POSIX_NOT_ON_SYSTEM "Posix Subsystem is not installed."
  89. IDS_DELETE_POSIX "PSXSS.EXE must be deleted from the SYSTEM32 directory."
  90. IDS_POSIX_CAPTION "Security Configuration Manager -- Posix Subsystem"
  91. IDS_POSIX_DISPLAY_MESSAGE "The Posix subsystem was found on the system. Security Configuration Manager requires that Posix not be present on the system.\r\n\r\nSelect OK to delete the Posix subsystem."
  92. IDS_NEW_POSIX_FILE "%systemroot%\\system32\\psxss.sav"
  93. IDS_POSIX_ERROR_MOVING "An error occured while attempting to disable the Posix Sub System."
  94. IDS_POSIX_CONFIRM "You have selected to remove the POSIX Subsystem from this system. This operation is not reversable.\r\n\r\nSelect OK to continue or Cancel to keep the POSIX subsystem on this system."
  95. END
  96. STRINGTABLE
  97. BEGIN
  98. // seclog.c
  99. // security log setting strings
  100. IDS_SECLOG_WRAP_KEY "SYSTEM\\CurrentControlSet\\Services\\EventLog\\Security"
  101. IDS_SECLOG_WRAP_VALUE "Retention"
  102. IDS_SECLOG_IS_C2 "The Security Log is configured to not overwrite events."
  103. IDS_SECLOG_WRAPS_AS_NEEDED "The Security Log will overwrite events when full."
  104. IDS_SECLOG_OVERWRITE_OLD "The Security Log will overwrite events over %4d days old."
  105. IDS_SECLOG_DAYS_ERROR "Enter a number between 1 and 365 in the Days field."
  106. IDS_SECLOG_CAPTION "Security Configuration Manager -- Security Log Settings"
  107. IDS_SECLOG_ERROR_NO_SET "An error occured while attempting to modify the Security Log settings."
  108. END
  109. STRINGTABLE
  110. BEGIN
  111. // audtfail.c
  112. // crash on audit failure strings
  113. IDS_LSA_KEY "SYSTEM\\CurrentControlSet\\Control\\Lsa"
  114. IDS_AUDIT_FAIL_VALUE "CrashOnAuditFail"
  115. IDS_AUDIT_FAIL_CRASH "The System will halt when the Security Log is full."
  116. IDS_AUDIT_FAIL_NO_CRASH "The System will not halt when the Security Log is full."
  117. IDS_AUDIT_ERROR_NO_SET "An error occured while attempting to change the Audit Failure Action."
  118. IDS_AUDIT_CAPTION "Security Configuration Manager -- Audit Failure Action"
  119. IDS_AUDIT_ERROR_NO_GET "An error occured while attempting to read the current Audit Failure Action."
  120. END
  121. STRINGTABLE
  122. BEGIN
  123. // logonmsg.c
  124. // legal notice messages
  125. IDS_WINLOGON_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon"
  126. IDS_LOGON_CAPTION_VALUE "LegalNoticeCaption"
  127. IDS_LOGON_MESSAGE_VALUE "LegalNoticeText"
  128. IDS_LOGON_MESSAGE_DEFINED "A Logon Message has been defined and will be displayed."
  129. IDS_LOGON_MESSAGE_NOT_DEF "A Logon Message will not be displayed."
  130. IDS_LOGON_MESSAGE_C2_BTN "You must enter a logon message and caption bar text."
  131. IDS_LOGON_MESSAGE_NO_TEXT "You must enter a logon message and caption bar text or select the check box at the bottom indicating you do not want to display a logon message."
  132. IDS_LOGON_MESSAGE_CAPTION "Security Configuration Manager -- Logon Message"
  133. IDS_LOGON_MESSAGE_ERROR_SET "An error occured while attempting to change the Logon message."
  134. END
  135. STRINGTABLE
  136. BEGIN
  137. // lastuser.c
  138. // last username display strings
  139. IDS_LAST_USER_VALUE "DontDisplayLastUserName"
  140. IDS_1 "1"
  141. IDS_0 "0"
  142. IDS_LAST_USER_HIDDEN "The previous username will not be displayed at logon."
  143. IDS_LAST_USER_DISPLAYED "The previous username will be displayed at logon."
  144. IDS_LAST_USER_ERROR_NO_GET "An error occured while attempting to read the status of the last username display flag."
  145. IDS_LAST_USER_CAPTION "Security Configuration Manager -- Last Username Display"
  146. IDS_LAST_USER_ERROR_NO_SET "An error occured while attempting to update the status of the last username display flag."
  147. END
  148. STRINGTABLE
  149. BEGIN
  150. // shutdown.c
  151. // shutdown button strings
  152. IDS_SHUTDOWN_BTN_VALUE "ShutdownWithoutLogon"
  153. IDS_SHUTDOWN_BTN_HIDDEN "The shutdown button is not displayed on the logon dialog."
  154. IDS_SHUTDOWN_BTN_DISPLAYED "The shutdown button is displayed on the logon dialog."
  155. IDS_SHUTDOWN_ERROR_NOT_SET "An error occurred while attempting to modify the Shutdown button's visibility."
  156. IDS_SHUTDOWN_CAPTION "Security Configuration Manager -- Shutdown Button"
  157. END
  158. STRINGTABLE
  159. BEGIN
  160. // password.c
  161. // password length messages
  162. IDS_PASSWORD_NOT_BLANK "The minimum password length is %d characters."
  163. IDS_PASSWORD_CAN_BE_BLANK "Blank passwords are permitted."
  164. IDS_PASSWORD_INVALID_LEN "The password length must be specified as a number between 1 and 14 (inclusive)."
  165. IDS_PASSWORD_CAPTION "Security Configuration Manager -- Password Length"
  166. IDS_PASSWORD_ERROR_NO_SET "An error occured while attempting to set the minimum password length."
  167. END
  168. STRINGTABLE
  169. BEGIN
  170. // guestact.c
  171. // guest account messages
  172. IDS_GUEST_ACCOUNT_ENABLED "The Guest user account is enabled."
  173. IDS_GUEST_ACCOUNT_DISABLED "The Guest user account is disabled."
  174. IDS_GUEST_ACCOUNT_NOT_FOUND "No Guest user account was found on the system."
  175. IDS_GUEST_ACCOUNT_CAPTION "Security Configuration Manager -- Guest Account"
  176. END
  177. STRINGTABLE
  178. BEGIN
  179. // networks.c
  180. // network services messages
  181. IDS_SOFTWARE_KEY "SOFTWARE"
  182. IDS_NETWORK_SERVICE_ID_KEY "CurrentVersion\\NetRules"
  183. IDS_NETWORK_SERVICE_FOUND "One or more network services are installed on the system."
  184. IDS_NETWORK_SERVICE_NOT_FOUND "No network services were detected on the system."
  185. IDS_NETWORK_SHOW_NCPA "Security Configuration Manager requires that no networking software be installed on your system.\r\n\r\nOne or more network services have been detected on your system.\r\n\r\nSelect OK to use the Network Control Panel Applet to remove these services."
  186. IDS_NETWORK_CAPTION "Security Configuration Manager -- Networking"
  187. IDS_NCPA_DLL "ncpa.cpl"
  188. IDS_NCPA_CPL_APPLET "CPlApplet"
  189. IDS_NCPA_NETWORK_APPLET "Network"
  190. IDS_NETWORK_ERROR_LOAD_DLL "Unable to load NCPA.CPL library. Network configuration will not be modified."
  191. IDS_NETWORK_ERROR_FIND_CPL "Unable to find CPlApplet in NCPA.CPL. Network configuration will not be modified."
  192. IDS_NETWORK_ERROR_INIT_CPL "Unable to initialize the Network Control Panel Applet. Network configuration will not be modified."
  193. END
  194. STRINGTABLE
  195. BEGIN
  196. // drvsnprt.c
  197. IDS_PROTECTION_MODE_VALUE "ProtectionMode"
  198. IDS_ONLY_ADMINS_ASSIGN_DRIVE "Only Administrators may assign Drive Letters and Printers."
  199. IDS_ANYONE_CAN_ASSIGN_DRIVE "Any user may assign Drive Letters and Printers."
  200. IDS_DRIVES_AND_PRINTERS_CAPTION "Security Configuration Manager -- Drives and Printers"
  201. IDS_DRIVES_AND_PRINTERS_NOT_SET "An error occured while attempting to change the setting of the Drive Letter and Printer assignment permissions."
  202. END
  203. STRINGTABLE
  204. BEGIN
  205. // allocdrv.c
  206. IDS_ALLOCATE_FLOPPIES_VALUE "AllocateFloppies"
  207. IDS_ALLOCATE_CDROMS_VALUE "AllocateCdRoms"
  208. IDS_ALLOCATE_NO_DRIVES_MSG "No Drives will be allocated at logon."
  209. IDS_ALLOCATE_FLOPPY_DRIVE_MSG "The Floppy Drives will be allocated at logon."
  210. IDS_ALLOCATE_CDROM_DRIVE_MSG "The CD-ROM Drives will be allocated at logon."
  211. IDS_ALLOCATE_BOTH_DRIVES_MSG "The CD-ROM and Floppy Drives will be allocated at logon."
  212. END
  213. VS_VERSION_INFO VERSIONINFO
  214. FILEVERSION VER_PRODUCTVERSION
  215. PRODUCTVERSION VER_PRODUCTVERSION
  216. FILEFLAGSMASK VER_FILEFLAGSMASK
  217. FILEFLAGS VER_FILEFLAGS
  218. FILEOS VER_FILEOS
  219. FILETYPE VFT_APP
  220. FILESUBTYPE 0
  221. BEGIN
  222. BLOCK "StringFileInfo"
  223. BEGIN
  224. BLOCK "040904E4"
  225. BEGIN
  226. VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
  227. VALUE "FileDescription", "Security Configuration Manager Functions Library", "\0"
  228. VALUE "FileVersion", VER_PRODUCTVERSION_STR, "\0"
  229. VALUE "InternalName", "c2funcs", "\0"
  230. VALUE "LegalCopyright", "Copyright \251 Microsoft Corp. 1994-1995", "\0"
  231. VALUE "LegalTrademarks", VER_LEGALTRADEMARKS_STR, "\0"
  232. VALUE "OriginalFilename", "C2FUNCS.DLL", "\0"
  233. VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
  234. VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
  235. END
  236. END
  237. BLOCK "VarFileInfo"
  238. BEGIN
  239. VALUE "Translation", 0x0409, 0x04E4
  240. END
  241. END
  242. #include "c2funcs.dlg"
  243.