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.

238 lines
6.8 KiB

  1. ; /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;Copyright (c) 1997-2001 Microsoft Corporation
  3. ;
  4. ;Module Name:
  5. ;
  6. ; w32tmmsg.mc
  7. ;
  8. ;Abstract:
  9. ;
  10. ; This file contains the message definitions for the Win32 w32tm
  11. ; utility.
  12. ;
  13. ;Author:
  14. ;
  15. ; Duncan Bryce [DuncanB] 26-Mar-2001
  16. ;
  17. ;Revision History:
  18. ;
  19. ;--*/
  20. ;
  21. ;
  22. ; /**++
  23. ;
  24. ; This string displays the conversion of an NTP timestamp into an
  25. ; NT-style timestamp, and to a "human-readable" local time.
  26. ;
  27. ; %1 the hex representation of an NT-style timestamp
  28. ; %2 the number of days since (0h 1-Jan 1601) for the supplied timestamp
  29. ; %3, %4, %5, and %6 represent the remaining offsets in hours,
  30. ; minutes, seconds, and 10^-7 seconds respectively.
  31. ;
  32. ; --**/
  33. ;
  34. MessageId=8001 SymbolicName=IDS_W32TM_NTPTE
  35. Language=English
  36. 0x%1!016I64X! - %2!u! %3!02u!:%4!02u!:%5!02u!.%6!07u! - %0
  37. .
  38. ;
  39. ; /**++
  40. ;
  41. ; This string displays the conversion of an NT-style timestamp into
  42. ; a "human-readable" local time.
  43. ;
  44. ; %1 the number of days since (0h 1-Jan 1601) for the supplied timestamp
  45. ; %2, %3, %4, and %5 represent the remaining offsets in hours,
  46. ; minutes, seconds, and 10^-7 seconds respectively.
  47. ;
  48. ; --**/
  49. ;
  50. MessageId=8002 SymbolicName=IDS_W32TM_NTTE
  51. Language=English
  52. %1!u! %2!02u!:%3!02u!:%4!02u!.%5!07u! - %0
  53. .
  54. MessageId=8003 SymbolicName=IDS_W32TM_VALUENAME
  55. Language=English
  56. Value Name%0
  57. .
  58. MessageId=8004 SymbolicName=IDS_W32TM_VALUETYPE
  59. Language=English
  60. Value Type%0
  61. .
  62. MessageId=8005 SymbolicName=IDS_W32TM_VALUEDATA
  63. Language=English
  64. Value Data%0
  65. .
  66. MessageId=8006 SymbolicName=IDS_W32TM_REGTYPE_DWORD
  67. Language=English
  68. REG_DWORD%0
  69. .
  70. MessageId=8007 SymbolicName=IDS_W32TM_REGTYPE_SZ
  71. Language=English
  72. REG_SZ%0
  73. .
  74. MessageId=8008 SymbolicName=IDS_W32TM_REGTYPE_MULTISZ
  75. Language=English
  76. REG_MULTI_SZ%0
  77. .
  78. MessageId=8009 SymbolicName=IDS_W32TM_REGTYPE_EXPANDSZ
  79. Language=English
  80. REG_EXPAND_SZ%0
  81. .
  82. MessageId=8010 SymbolicName=IDS_W32TM_REGTYPE_UNKNOWN
  83. Language=English
  84. <UNKNOWN REG TYPE>%0
  85. .
  86. MessageId=8011 SymbolicName=IDS_W32TM_REGDATA_UNPARSABLE
  87. Language=English
  88. <UNPARSABLE REG DATA>%0
  89. .
  90. ;
  91. ; /**++
  92. ;
  93. ;
  94. ;
  95. ; --**/
  96. ;
  97. MessageId=8012 SymbolicName=IDS_W32TM_TIMEZONE_INFO
  98. Language=English
  99. Time zone: Current:%1 Bias: %2!d!min (UTC=LocalTime+Bias)
  100. [Standard Name:"%3" Bias:%4!d!min Date:%5]
  101. [Daylight Name:"%6" Bias:%7!d!min Date:%8]
  102. .
  103. MessageId=8013 SymbolicName=IDS_W32TM_INVALID_TZ_DATE
  104. Language=English
  105. (invalid: M:%1!d! D:%2!d! DoW:%3!d!)%0
  106. .
  107. MessageId=8014 SymbolicName=IDS_W32TM_VALID_TZ_DATE
  108. Language=English
  109. (M:%1!d! D:%2!d! DoW:%3!d!)%0
  110. .
  111. MessageId=8015 SymbolicName=IDS_W32TM_SIMPLESTRING_UNSPECIFIED
  112. Language=English
  113. (unspecified)%0
  114. .
  115. MessageId=8016 SymbolicName=IDS_W32TM_TIMEZONE_CURRENT_TIMEZONE
  116. Language=English
  117. Time zone: Current:%0
  118. .
  119. MessageId=8017 SymbolicName=IDS_W32TM_TIMEZONE_DAYLIGHT
  120. Language=English
  121. TIME_ZONE_ID_DAYLIGHT%0
  122. .
  123. MessageId=8018 SymbolicName=IDS_W32TM_TIMEZONE_STANDARD
  124. Language=English
  125. TIME_ZONE_ID_STANDARD%0
  126. .
  127. MessageId=8019 SymbolicName=IDS_W32TM_TIMEZONE_UNKNOWN
  128. Language=English
  129. TIME_ZONE_ID_UNKNOWN%0
  130. .
  131. MessageId=8020 SymbolicName=IDS_W32TM_COMMAND_UNKNOWN
  132. Language=English
  133. The command %1 is unknown.
  134. .
  135. MessageId=8021 SymbolicName=IDS_W32TM_REGTYPE_BINARY
  136. Language=English
  137. REG_BINARY%0
  138. .
  139. MessageId=8022 SymbolicName=IDS_BAD_NUMERIC_INPUT_VALUE
  140. Language=English
  141. The parameter to %1 must be an integer between %2!d! and %3!d!.
  142. .
  143. MessageId=8100 SymbolicName=IDS_W32TM_OTHERCMD_HELP
  144. Language=English
  145. w32tm /ntte <NT time epoch>
  146. Convert a NT system time, in (10^-7)s intervals from 0h 1-Jan 1601,
  147. into a readable format.
  148. w32tm /ntpte <NTP time epoch>
  149. Convert an NTP time, in (2^-32)s intervals from 0h 1-Jan 1900, into
  150. a readable format.
  151. w32tm /resync [/computer:<computer>] [/nowait] [/rediscover] [/soft]
  152. Tell a computer that it should resynchronize its clock as soon
  153. as possible, throwing out all accumulated error statistics.
  154. computer:<computer> - computer that should resync. If not
  155. specified, the local computer will resync.
  156. nowait - do not wait for the resync to occur;
  157. return immediately. Otherwise, wait for the resync to
  158. complete before returning.
  159. rediscover - redetect the network configuration and rediscover
  160. network sources, then resynchronize.
  161. soft - resync utilizing existing error statistics. Not useful,
  162. provided for compatibility.
  163. w32tm /stripchart /computer:<target> [/period:<refresh>]
  164. [/dataonly] [/samples:<count>]
  165. Display a strip chart of the offset between this computer and
  166. another computer.
  167. computer:<target> - the computer to measure the offset against.
  168. period:<refresh> - the time between samples, in seconds. The
  169. default is 2s
  170. dataonly - display only the data, no graphics.
  171. samples:<count> - collect <count> samples, then stop. If not
  172. specified, samples will be collected until Ctrl-C is pressed.
  173. w32tm /config [/computer:<target>] [/update]
  174. [/manualpeerlist:<peers>] [/syncfromflags:<source>]
  175. [/LocalClockDispersion:<seconds>]
  176. [/reliable:(YES|NO)]
  177. [/largephaseoffset:<milliseconds>]
  178. computer:<target> - adjusts the configuration of <target>. If not
  179. specified, the default is the local computer.
  180. update - notifies the time service that the configuration has
  181. changed, causing the changes to take effect.
  182. manualpeerlist:<peers> - sets the manual peer list to <peers>,
  183. which is a space-delimited list of DNS and/or IP addresses.
  184. When specifying multiple peers, this switch must be enclosed in
  185. quotes.
  186. syncfromflags:<source> - sets what sources the NTP client should
  187. sync from. <source> should be a comma separated list of
  188. these keywords (not case sensitive):
  189. MANUAL - include peers from the manual peer list
  190. DOMHIER - sync from a DC in the domain hierarchy
  191. LocalClockDispersion:<seconds> - configures the accuracy of the
  192. internal clock that w32time will assume when it can't acquire
  193. time from its configured sources.
  194. reliable:(YES|NO) - set whether this machine is a reliable time source.
  195. This setting is only meaningful on domain controllers.
  196. YES - this machine is a reliable time service
  197. NO - this machine is not a reliable time service
  198. largephaseoffset:<milliseconds> - sets the time difference between
  199. local and network time which w32time will consider a spike.
  200. w32tm /tz
  201. Display the current time zone settings.
  202. w32tm /dumpreg [/subkey:<key>] [/computer:<target>]
  203. Display the values associated with a given registry key.
  204. The default key is HKLM\System\CurrentControlSet\Services\W32Time
  205. (the root key for the time service).
  206. subkey:<key> - displays the values associated with subkey <key> of the default key.
  207. computer:<target> - queries registry settings for computer <target>
  208. .