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.

310 lines
11 KiB

  1. ;//+-------------------------------------------------------------------------
  2. ;//
  3. ;// Microsoft Windows
  4. ;// Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. ;//
  6. ;// File: messages.mc
  7. ;//
  8. ;// Contents: Main message file
  9. ;//
  10. ;// History: dd-mmm-yy Author Comment
  11. ;// 12-Jan-94 WilliamW Created for Dfs Administrator project
  12. ;//
  13. ;// Notes:
  14. ;// A .mc file is compiled by the MC tool to generate a .h file and
  15. ;// a .rc (resource compiler script) file.
  16. ;//
  17. ;// Comments in .mc files start with a ";".
  18. ;// Comment lines are generated directly in the .h file, without
  19. ;// the leading ";"
  20. ;//
  21. ;// See mc.hlp for more help on .mc files and the MC tool.
  22. ;//
  23. ;//--------------------------------------------------------------------------
  24. ;#ifndef __MESSAGES_H__
  25. ;#define __MESSAGES_H__
  26. MessageIdTypedef=HRESULT
  27. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  28. CoError=0x2:STATUS_SEVERITY_COERROR
  29. )
  30. ;#ifdef FACILITY_NULL
  31. ;#undef FACILITY_NULL
  32. ;#endif
  33. ;#ifdef FACILITY_RPC
  34. ;#undef FACILITY_RPC
  35. ;#endif
  36. ;#ifdef FACILITY_DISPATCH
  37. ;#undef FACILITY_DISPATCH
  38. ;#endif
  39. ;#ifdef FACILITY_STORAGE
  40. ;#undef FACILITY_STORAGE
  41. ;#endif
  42. ;#ifdef FACILITY_ITF
  43. ;#undef FACILITY_ITF
  44. ;#endif
  45. ;#ifdef FACILITY_WIN32
  46. ;#undef FACILITY_WIN32
  47. ;#endif
  48. ;#ifdef FACILITY_WINDOWS
  49. ;#undef FACILITY_WINDOWS
  50. ;#endif
  51. FacilityNames=(Null=0x0:FACILITY_NULL
  52. Rpc=0x1:FACILITY_RPC
  53. Dispatch=0x2:FACILITY_DISPATCH
  54. Storage=0x3:FACILITY_STORAGE
  55. Interface=0x4:FACILITY_ITF
  56. Win32=0x7:FACILITY_WIN32
  57. Windows=0x8:FACILITY_WINDOWS
  58. )
  59. ;//
  60. ;// Start message values at 0x100
  61. ;//
  62. MessageId=0x100 Facility=Null Severity=Success SymbolicName=MSG_FIRST_MESSAGE
  63. Language=English
  64. .
  65. MessageId= Facility=Null Severity=Success SymbolicName=MSG_USAGE
  66. Language=English
  67. Microsoft(R) Windows(TM) Dfs Utility Version 2.1
  68. Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.
  69. Dfsutil performs maintenance of a dfs root, and cleaning up of
  70. metadata left behind by orphaning or abandoning Domain-based dfs
  71. roots.
  72. Usage: dfsutil [/OPTIONS]
  73. /HELP - This help
  74. /? - Same as /HELP
  75. /HELPHELP - Extended help
  76. /?? - Same as /HELPHELP
  77. /SCRIPTHELP - Scripting help
  78. /ADDROOT:<DomDfsName> /SERVER:<ServerName> /SHARE:<ShareName>
  79. /COMMENT:<Comment> Create a Standalone or DomDfs root
  80. /REMROOT:<DomDfsName> /SERVER:<ServerName> /SHARE:<ShareName>
  81. Remove a Standalone or DomDfs root
  82. /LIST:<Domain> - List the DomDfs's in <Domain>
  83. /DCNAME:<DcName> - Use the DS on a specific DC.
  84. /VERIFY:<\\dfsname\dfsshare> - Verify the metadata in \\dfsname\dfsshare
  85. /DCNAME:<DcName> - Use the DS on a specific DC.
  86. /LEVEL:<Level> - High level -> more checks (good for NT4 Dfs's)
  87. /VIEW:<\\dfsname\dfsshare> - View the metadata in <\\dfsname\dfsshare>
  88. /DCNAME:<DcName> - Use the DS on a specific DC.
  89. /LEVEL:<Level> - 0: Low detail 1: High Detail
  90. /EXPORT:<filename> - Create file with metadata
  91. /IMPORT:<filename> - Import metadata from a file
  92. /REINIT:<Servername> - Reinitialize the Dfs root <ServerName>
  93. /WHATIS:<ServerName> - Report what kind of root <ServerName> is
  94. /DFSALT:<UNCPath> - Resolve UNC path to a \\server\\share
  95. /UNMAP:<\\dfsname\dfsshare> /ROOT:<\\server\share> - Remove \\server\share from dfs
  96. /DCNAME:<DcName> - Use the DS on a specific DC.
  97. /CLEAN:<Servername> - Update the registry of <Servername> so that
  98. it is not a dfs root (ie clean it out)
  99. /DCLIST:<Domain> - List the DC's in <Domain>
  100. /DCNAME:<DcName> - Use the DS on a specific DC
  101. /TRUSTS:<Domain> - List the uplevel trusted domains of <domain>
  102. /DCNAME:<DcName> - Use the DS on a specific DC
  103. /ALL - List all trusted domains regardless of type (uplevel or downlevel)
  104. /SITEINFO:<ServerName> - Report the site <ServerName> is in
  105. -----------The following are client-side only----------------
  106. /PKTFLUSH - Flush the local pkt
  107. /PKTFLUSH:<EntryToFlush> - Flush one local pkt entry <EntryToFlush>
  108. /SPCFLUSH - Flush the local spc table
  109. /SPCFLUSH:<EntryToFlush> - Flush one spc table entry <EntryToFlush>
  110. /PKTINFO - Dump the pkt
  111. /DFS - From dfs.sys
  112. /LEVEL:<Level> High level -> more detail
  113. /SPCINFO - Dump the spc table
  114. /ALL - All the domains
  115. /READREG - Make mup.sys reread the registry
  116. /DFS - Make dfs.sys reread the registry
  117. .
  118. MessageId= Facility=Null Severity=Success SymbolicName=MSG_USAGE_EX
  119. Language=English
  120. -----------The following work only with a checked mup.sys----
  121. (returns "The parameter is incorrect." on free builds)
  122. /VERBOSE:<hexvalue> - Set the mup.sys verbose level to <hexvalue>
  123. /EVENTLOG:<hexvalue> - Set the mup event log level to <hexvalue>
  124. /TRACELEVEL:<hexvalue> - Set the mup trace level to <hexvalue>
  125. -------------------------------------------------------------
  126. /DEBUG - turn on debug in dfsutil
  127. /USER:<UserName> /PASSWORD:<Password>
  128. <UserName> - domain\user or user@domain or user
  129. <Password> - Supply <Password>
  130. /SETDC:<DcName> - Set the DC to use to crack DomDfs names
  131. -----------Easy setup for registry values--------------------
  132. /SFP:<ServerName> - Report system file protection on machine <ServerName>
  133. /ON or /OFF - Turn it on or off
  134. /DNS:<ServerName> - Report DfsDnsConfig on machine <ServerName>
  135. /VALUE:<hexvalue> - set to <hexvalue>
  136. /NETAPIDFSDEBUG:<ServerName> - Report NetApDfsDebug on machine <ServerName>
  137. /VALUE:<hexvalue> - set to <hexvalue>
  138. /DFSSVCVERBOSE:<ServerName> - Report DfsSvcVerbose on machine <ServerName>
  139. /VALUE:<hexvalue> - set to <hexvalue>
  140. /LOGGINGDFS:<ServerName> - Report RunDiagnosticLoggingDfs on machine <ServerName>
  141. /VALUE:<hexvalue> - set to <hexvalue>
  142. /SYNCINTERVAL:<ServerName> - Report SyncIntervalInSeconds on machine <ServerName>
  143. /VALUE:<value> - set to <value> (units are in seconds)
  144. /DFSREFERRALLIMIT:<ServerName> - Report DfsReferralLimit on machine <ServerName>
  145. /VALUE:<value> - set to <value>
  146. .
  147. MessageId= Facility=Null Severity=Success SymbolicName=MSG_USAGE_EX_EX
  148. Language=English
  149. Microsoft(R) Windows(TM) Dfs Utility Version 2.1
  150. Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.
  151. -----------Scripting commands---------------------------------------
  152. ADDROOT:<DomDfsName> SERVER:<ServerName> SHARE:<ShareName>
  153. COMMENT:<Comment> Create a Standalone or DomDfs root.
  154. REMROOT:<DomDfsName> SERVER:<ServerName> SHARE:<ShareName>
  155. Remove a Standalone or DomDfs root
  156. Leave DomDfsName blank for Satndalone DFS.
  157. LOAD:<\\DfsName\DfsShare> - Load the metadata for a Dfs
  158. SAVE: - Save the metadata for a Dfs.
  159. LINK:<Linkname> - Specify a Dfs link
  160. /MAP Create a Dfs Link
  161. ADD:<Alternate> Add an alternate to a link
  162. GUID:<Guid> - Specify GUID for link
  163. SHORTPREFIX: - Specify short prefix for link
  164. COMMENT:<Comment> - Specify Comment for Link
  165. STATE:<state> - Specify State for link
  166. SITE:<machine> - Specify site entry for a machine
  167. /MAP Create site entry for a machine
  168. ADD:<sitename> Add site to machine's site list (Dfs metadata only)
  169. Example Standalone Dfs script to create dfs root '\\foo\bar'
  170. =====================================================================
  171. // Create dfs root \\foo\bar
  172. ADDROOT: SERVER:foo SHARE:bar COMMENT:"Standaline Dfs \\foo\bar"
  173. LOAD:\\foo\bar
  174. LINK:link1 /MAP // Create link 'link1'
  175. ADD:\\red\green // ..and add alternate \\red\green
  176. LINK:link99 /MAP // Create link 'link99'
  177. ADD:\\x\y // ..add dfs alternate \\x\y
  178. ADD:\\aaa\bbb // ..add another alternate
  179. SAVE: // Now save the metadata
  180. ======================================================================
  181. Note:
  182. Use dfsutil/view:\\DfsName\ShareName /export:<filename> to create a script
  183. which will recreate a Standalone or DomDfs set of links.
  184. .
  185. MessageId= Facility=Null Severity=Success SymbolicName=MSG_USAGE_LTD
  186. Language=English
  187. Microsoft(R) Windows(TM) Dfs Utility Version 2.1
  188. Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.
  189. Dfsutil performs maintenance of a dfs root, and cleaning up of
  190. metadata left behind by orphaning or abandoning Domain-based dfs
  191. roots.
  192. Usage: dfsutil [/OPTIONS]
  193. /HELP - This help
  194. /? - Same as /HELP
  195. /SCRIPTHELP - Scripting help
  196. /ADDROOT:<DomDfsName> /SERVER:<ServerName> /SHARE:<ShareName>
  197. /COMMENT:<Comment> Create a Standalone or DomDfs root
  198. /REMROOT:<DomDfsName> /SERVER:<ServerName> /SHARE:<ShareName>
  199. Remove a Standalone or DomDfs root
  200. /VIEW:<\\dfsname\dfsshare> - View the metadata in <\\dfsname\dfsshare>
  201. /LEVEL:<Level> - 0: Low detail 1: High Detail
  202. /EXPORT:<filename> - Create file with metadata
  203. /IMPORT:<filename> - Import metadata from a file
  204. /UNMAP:<\\dfsname\dfsshare> /ROOT:<\\server\share> - Remove \\server\share from dfs
  205. -----------The following are client-side only----------------
  206. /PKTFLUSH - Flush the local pkt
  207. /SPCFLUSH - Flush the local spc table
  208. /PKTINFO - Dump the pkt
  209. /DFS - From dfs.sys
  210. /LEVEL:<Level> High level -> more detail
  211. /SPCINFO - Dump the spc table
  212. /ALL - All the domains
  213. .
  214. MessageId= Facility=Null Severity=Success SymbolicName=MSG_SUCCESSFUL
  215. Language=English
  216. The command completed successfully.
  217. .
  218. MessageId= Facility=Null Severity=Success SymbolicName=MSG_NOTHING_TO_DO
  219. Language=English
  220. Nothing to do.
  221. .
  222. MessageId= Facility=Null Severity=Success SymbolicName=MSG_ERROR
  223. Language=English
  224. System error %1!d! has occurred.
  225. .
  226. MessageId= Facility=Null Severity=Success SymbolicName=MSG_UNRECOGNIZED_OPTION
  227. Language=English
  228. Unrecognized option "%1!s!"
  229. .
  230. MessageId= Facility=Null Severity=Success SymbolicName=MSG_CONNECTING
  231. Language=English
  232. Connecting to %1!s!
  233. .
  234. MessageId= Facility=Null Severity=Success SymbolicName=MSG_CAN_NOT_CONNECT
  235. Language=English
  236. Can not connect to %1!s!
  237. .
  238. MessageId= Facility=Null Severity=Success SymbolicName=MSG_CAN_NOT_OPEN_REGISTRY
  239. Language=English
  240. Can not open registry of %1!s! (error %2!d!)
  241. .
  242. MessageId= Facility=Null Severity=Success SymbolicName=MSG_CAN_NOT_ACCESS_FOLDER
  243. Language=English
  244. Can not access folder %1!s!
  245. .
  246. MessageId= Facility=Null Severity=Success SymbolicName=MSG_ADD_DEL_INVALID
  247. Language=English
  248. Can not use /ADD: and /DEL: at the same time.
  249. .
  250. MessageId= Facility=Null Severity=Success SymbolicName=MSG_SITE_INFO_ALREADY_SET
  251. Language=English
  252. The Site information for referrals to %1!s! is already in the requested state.
  253. .
  254. MessageId= Facility=Null Severity=Success SymbolicName=MSG_SITE_INFO_NOW_SET
  255. Language=English
  256. The Site information for referrals to %1!s! is now set as requested.
  257. .
  258. MessageId= Facility=Null Severity=Success SymbolicName=MSG_LINK_NOT_FOUND
  259. Language=English
  260. The Site information for referrals to %1!s! could not be set.
  261. The link was not found.
  262. .
  263. ;#endif // __MESSAGES_H__