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.

2877 lines
138 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1987-1990 **/
  4. /********************************************************************/
  5. You will find the documentation on how this file is formatted at the end
  6. of this file.
  7. */
  8. %A CONTINUE: CONT
  9. %A DEVICE: DEV
  10. %A ERROR: ERRORS
  11. %A FILE: FILES
  12. %A FORWARD: FOR
  13. %A GROUP: GROUPS
  14. %A LOGOFF: LOGOUT
  15. %A LOGON: LOGIN
  16. %A PEER: PS, PEER_SERVER
  17. %A REMOTEBOOT: RIPL, RPL, REMOTEBOOT
  18. %A REPLICATOR: REPL, REPLICATOR
  19. %A SEPARATOR: SEP
  20. %A SESSION: SESSIONS, SESS
  21. %A STATISTICS: STATS
  22. %A USER: USERS
  23. %A WORKSTATION: REDIRECTOR, REDIR, RDR, WORK, WKSTA, PRDR, DEVRDR
  24. %A MESSENGER: MSG, RECEIVER, RCV
  25. %A SERVER: SVR, SRV
  26. %A NETRUN: RUNSRV, RUNSERVER, RUNSERVR
  27. %a MONOCHROME: MONO
  28. !C AT
  29. !C BACKACC
  30. !C CACHE
  31. !C CHKSTOR
  32. !C ERRPOPUP
  33. !C FTADMIN
  34. !C FTMONIT
  35. !C FTSETUP
  36. !C MAKEIMG
  37. !C NAMES
  38. !C NET
  39. !C PORTACC
  40. !C PRIV
  41. !C RESTACC
  42. !C RPLDSABL
  43. !C RPLENABL
  44. !C SYNTAX
  45. .1 AT
  46. :1 [id] [/DELETE]
  47. time [/EVERY:date[,...] | /NEXT:date[,...]] command
  48. #1 AT schedules a program or command to be run at a later date or time on
  49. a server. When used without options, it displays a list of programs and
  50. commands scheduled to be run. The programs and commands are stored in the
  51. server's LANMAN\LOGS\SCHED.LOG file, so scheduled tasks are not lost if
  52. you restart the server.
  53. If you change the system time after scheduling a command to run, the AT
  54. scheduler should be synchronized with the revised time by typing AT
  55. without options.
  56. To get Help one screen at a time, type NET HELP command | MORE.
  57. $1
  58. command Is the MS OS/2 or LAN Manager command or batch
  59. program (.CMD file) to be run. When the command
  60. requires a pathname, use the absolute pathname.
  61. id Is an identification number assigned to a scheduled
  62. command. To see the identification number of a command,
  63. type AT without options.
  64. time Is the time when command is to run. It is expressed
  65. as hours:minutes in 24-hour notation (00:00 [midnight]
  66. through 23:59).
  67. /DELETE Cancels a scheduled command. If you omit the
  68. identification number, all scheduled commands on the
  69. server are canceled.
  70. /EVERY:date[,...] Runs the command each time the specified day(s) of the
  71. week or month occurs. Date is one or more days of the week
  72. (M,T,W,Th,F,S,Su) or days of the month (1-31). If date
  73. is omitted, today's date is assumed.
  74. /NEXT:date[,...] Runs the specified command only on the next occurrence of
  75. the day(s).
  76. .1 BACKACC
  77. :1 [[drive:]pathname [/F:[drive:]target] [/A] [/S]]
  78. #1 BACKACC backs up permissions on the high-performance file system 386 volumes,
  79. the user accounts database (NET.ACC), and the audit log (NET.AUD) while
  80. LAN Manager is running. When used without options, BACKACC backs up the user
  81. accounts database and the audit log.
  82. This command only works on servers.
  83. See also RESTACC.
  84. To get Help one screen at a time, type NET HELP command | MORE.
  85. $1
  86. drive: Is the drive letter for the shared directory.
  87. pathname Is the directory or file whose permissions are to be backed
  88. up. If you don't specify a pathname, only NET.ACC and
  89. NET.AUD are backed up.
  90. /A Appends access permissions to the current .ACL file.
  91. /F:target Is a target file to store the permissions. The default
  92. directory is the current working directory. If /F:target is
  93. not specified, the target is ACLBAKd.ACL, where d is the drive
  94. letter of the volume being backed up.
  95. /S Is valid only if pathname is a directory. It backs up
  96. permissions for all subdirectories and files of pathname.
  97. .1 CACHE
  98. :1 [/BUFFERIDLE:[drive:]time]
  99. [/LAZY:[drive:]{ON | OFF}]
  100. [/MAXAGE:[drive:]time]
  101. [/OPTIONS[drive:]]
  102. [/STATS: [CLEAR | DYNAMIC]]
  103. #1 CACHE establishes file system caching for a high-performance file system 386
  104. volume. When used without options, it displays caching statistics.
  105. CACHE is placed in the operating system configuration file at installation.
  106. To get Help one screen at a time, type NET HELP command | MORE.
  107. $1
  108. /BUFFERIDLE:[drive:]time Sets the minimum number of milliseconds the
  109. buffer must be idle before its contents can be
  110. written to the disk. The range is 0-500000; the
  111. default is 500 milliseconds. A value between
  112. 100 and 1000 is suggested.
  113. /LAZY:[drive:]{ON | OFF} Enables or disables lazy writes. If no
  114. drive is specified, the action applies to
  115. all high-performance file system 386 drives. If
  116. you specify /LAZY with no values, lazy writes
  117. are enabled for all High-Performance File
  118. System 386 partitions.
  119. /MAXAGE:[drive:]time Sets the maximum number of milliseconds a dirty
  120. cache block can be in memory before its contents
  121. are written to memory. The range is 0-1000000;
  122. the default is 5000 milliseconds. A value
  123. between 1000 and 20000 is suggested.
  124. /OPTIONS[drive:] Displays cache configuration options.
  125. /STATS:[CLEAR | DYNAMIC] Displays cache statistics. Specifying /STATS
  126. with no value displays the current statistics.
  127. CLEAR clears the current statistics, resetting
  128. all values to 0. DYNAMIC causes the statistics
  129. display to remain on the screen and be updated
  130. approximately once per second. (If output has
  131. been redirected, DYNAMIC is ignored.)
  132. .1 CHKSTOR
  133. :1 [\\computername | /DOMAIN[:name]] [name [...]] [/ALERTS:{YES | NO}]
  134. #1 CHKSTOR checks the storage remaining in home directories on a server.
  135. When used without options, it displays a report of used disk space for
  136. the local server. Only those users who are over their storage limit are
  137. included in the report.
  138. For each home directory on the server that is over the storage limit,
  139. LAN Manager reports the username, disk space allowed, disk space used,
  140. and home directory's path.
  141. This command only works on servers.
  142. To get Help one screen at a time, type NET HELP command | MORE.
  143. $1
  144. \\computername Is the server on which storage is to be checked.
  145. name [...] Is a username(s) and/or groupname(s). Specifying a name
  146. limits storage checking to the user or members
  147. of the group. Separate names with spaces. If you
  148. supply both a username and a groupname for a group
  149. to which that user belongs, LAN Manager reports
  150. the use of that user's home directory only once.
  151. /ALERTS:{YES | NO} If set to YES (the default), generates an alert for
  152. each user account that exceeds the storage limit.
  153. These alerts are sent to administrators listed in
  154. ALERTNAMES in the LANMAN.INI file's [server]
  155. section and to the user whose account has exceeded
  156. the storage limit. If /ALERTS is set to NO, alerts
  157. are not sent.
  158. /DOMAIN[:name] Runs CHKSTOR on the servers in the domain specified
  159. by the domain entry in LANMAN.INI. To run the command
  160. on another domain, supply the name of that domain.
  161. .1 ERRPOPUP
  162. :1 program [options]
  163. #1 ERRPOPUP runs a program and displays any error messages from the program
  164. in a popup window. Use ERRPOPUP with detached programs to detect errors that
  165. occur when running the program. A detached program is a program that is run
  166. from the CONFIG.SYS program RUN entries or started with the MS OS/2 DETACH
  167. command.
  168. To get Help one screen at a time, type NET HELP command | MORE.
  169. $1
  170. options Are one or more options passed to program.
  171. program Is the name of a program (or executable file) to run. Supply the
  172. pathname for the program if the directory is not already listed
  173. with the MS OS/2 PATH command.
  174. .1 FTADMIN
  175. :1 [\\computername] [/MONO]
  176. #1 FTADMIN starts the FTADMIN fault-tolerance utility. It is a full-screen
  177. MS OS/2 application that runs in a Presentation Manager window. When used
  178. without options, FTADMIN starts the fault-tolerance utility on the local
  179. computer.
  180. To get Help one screen at a time, type NET HELP command | MORE.
  181. $1
  182. \\computername Specifies the computer where the fault-tolerance utility
  183. is to be used.
  184. /MONO May provide a clearer display on a monochrome screen.
  185. Type the command with and without /MONO and decide which
  186. display is best.
  187. .1 FTMONIT
  188. :1 [/ALERT:{YES | NO}]
  189. [/COMPARE:{YES | NO}]
  190. [/QUIET:{YES | NO}]
  191. [/CLEAR:{YES | NO}]
  192. #1 FTMONIT starts the fault-tolerance utility's error-monitoring feature
  193. or clears statistics about error monitoring. When used without options,
  194. it displays statistics.
  195. To get Help one screen at a time, type NET HELP command | MORE.
  196. $1
  197. /ALERT:{YES | NO} Specifies whether to send disk error alerts to users
  198. listed in ALERTNAMES in the LANMAN.INI file's [server]
  199. section. The default is YES.
  200. /CLEAR:{YES | NO} Set to YES, resets all statistics to zero. The default
  201. is NO.
  202. /COMPARE:{YES | NO} Specifies whether to do a low-confidence comparison
  203. of mirrored drives when the computer starts. The
  204. default is YES.
  205. /QUIET:{YES | NO} Specifies whether FTMONIT displays a status
  206. message whenever the server is restarted. YES
  207. suppresses the display. The default is NO.
  208. .1 FTSETUP
  209. :1
  210. #1 FTSETUP installs the disk fault-tolerance system and prompts for information
  211. needed to configure drive mirroring and drive duplexing.
  212. To get Help one screen at a time, type NET HELP command | MORE.
  213. $1
  214. There are no options for this utility.
  215. .1 MAKEIMG
  216. :1 [drive:]filename[.def]
  217. #1 MAKEIMG packages all of the system programs that are on a floppy disk
  218. into an image file. The image file is used as a startup drive for MS-DOS
  219. workstations being booted by the Remoteboot service.
  220. To get Help one screen at a time, type NET HELP command | MORE.
  221. $1
  222. .def Is an extension for the definition filename. If an extension is
  223. not specified, .DEF is assumed.
  224. drive: Is the drive letter where a disk formatted with the FORMAT /S
  225. command can be found. If the drive letter is omitted, drive A
  226. is assumed.
  227. filename Is the name of the definition file to be used. The image file
  228. that is created has the same base filename, but with a .IMG
  229. extension.
  230. .1 NAMES
  231. :1
  232. The following types of names are used with LAN Manager:
  233. Alias A name to which messages can be sent. Each workstation's
  234. computername and the username logged on at that
  235. workstation are added to its list of aliases. Use the
  236. NET NAME command to view a workstation's aliases or
  237. add new ones.
  238. Computername A unique name that identifies a workstation or server on
  239. the local-area network.
  240. Devicename The name by which LAN Manager identifies a disk resource,
  241. printer, or communication device. A disk resource is
  242. identified by a drive letter followed by a colon (for
  243. example, D:). A printer or communication device is
  244. identified by a port name followed by a colon (for example,
  245. LPT1: or COM1:).
  246. Domain A group of servers and workstations on the network. A domain
  247. has a unique name. Usually, you must log on in a domain to
  248. gain access to the network. The domain you log on in is called
  249. the logon domain. If you don't specify a domain name at logon,
  250. you log on in a default domain. This is called the workstation
  251. domain.
  252. Filename The name of a file. Under the file allocation table (FAT)
  253. file system, a filename can have as many as eight characters,
  254. followed by a period (.) and an extension of as many as three
  255. characters. Under the MS OS/2 1.2 high-performance file system
  256. (HPFS), a filename can have as many as 254 characters.
  257. Network path A description of the location of a shared resource, consisting
  258. of a server's computername followed by the sharename of the
  259. resource. The computername is preceded by two backslashes, and
  260. the sharename is preceded by one backslash (for example,
  261. \\SERVER1\RESOURCE).
  262. Path The location of a directory. A path can consist of a
  263. devicename and one or more directory names. A
  264. backslash (\) precedes each directory name (for example,
  265. C:\CUSTOMER\CORP\ACCT).
  266. Pathname A path and a filename. The filename is preceded by a
  267. backslash (\) (for example, C:\CUSTOMER\CORP\REPORT.DOC).
  268. Sharename A name that identifies a shared resource on a server. A
  269. sharename is used with the server's computername to form a
  270. network path (as in \\SERVER\RESOURCE).
  271. Username The name a person supplies when logging on at a workstation.
  272. To view these definitions one screen at a time, type NET HELP NAMES | MORE.
  273. #1
  274. $1 There are no options for this topic. This is a help topic about the
  275. different types of names LAN Manager uses. It is not a NET command.
  276. .1 PORTACC
  277. :1 pathname
  278. #1 PORTACC converts a LAN Manager 1.x user accounts database to a
  279. LAN Manager 2.0 user accounts database.
  280. This command only works on servers.
  281. To get Help one screen at a time, type NET HELP command | MORE.
  282. $1
  283. pathname Is the pathname of the LAN Manager 1.x NET.ACC file, saved
  284. before upgrading the LAN Manager software.
  285. .1 PRIV
  286. :1 command [values]
  287. #1 PRIV ensures that a background process started by an administrator on a
  288. 386 server with local security remains privileged after the administrator
  289. logs off. A privileged process is a background process that has the
  290. equivalent of administrative privilege. A privileged process can access all
  291. files on the server for as long as it runs, no matter who logs on or off
  292. locally at the server.
  293. This command only works on servers.
  294. To get Help one screen at a time, type NET HELP command | MORE.
  295. $1
  296. command Is a .EXE, .COM, or .CMD file in the current path, or an internal
  297. MS OS/2 command.
  298. values Are options of the command being run.
  299. .1 RESTACC
  300. :1 [drive:]pathname [[drive:]newname] [/F:[drive:]source] [/S]
  301. #1 RESTACC restores the permissions for high-performance file system 386
  302. volumes, the user accounts database, and the audit file stored with
  303. BACKACC.
  304. This command only works on servers.
  305. See also BACKACC.
  306. To get Help one screen at a time, type NET HELP command | MORE.
  307. $1
  308. drive: Is an optional drive letter.
  309. newname Is a new file to receive permissions from a file that was
  310. backed up with BACKACC. The existing permissions on newname
  311. (if any) are replaced with the restored permissions.
  312. pathname Is the directory or file for which permission records are
  313. to be restored.
  314. /F:source Is the source file used to restore permissions. If source is
  315. omitted, LAN Manager uses LANMAN\ACCOUNTS\ACLBAKd.ACL, where
  316. d is the drive letter of the volume being backed up.
  317. /S Is used with pathname only. It restores permissions for all
  318. subdirectories of the specified directory.
  319. .1 RPLDSABL
  320. :1
  321. #1 RPLDSABL disables the Remoteboot service at a workstation that has a hard
  322. disk. Use RPLDSABL at a workstation that is no longer going to be started
  323. remotely. After running RPLDSABL, the workstation boots from its own hard
  324. disk instead of from a server running the Remoteboot service.
  325. To get Help one screen at a time, type NET HELP command | MORE.
  326. $1
  327. There are no options for this utility.
  328. .1 RPLENABL
  329. :1
  330. #1 RPLENABL enables the Remoteboot service at a workstation that has a hard
  331. disk. It configures the hard disk so that the workstation can be started
  332. from a server that is running the Remoteboot service. This does not prevent
  333. access to the hard disk after the workstation is booted remotely.
  334. To get Help one screen at a time, type NET HELP command | MORE.
  335. $1
  336. There are no options for this utility.
  337. .1 SYNTAX
  338. :1
  339. The following conventions are used to distinguish command syntax:
  340. � Capital letters represent words that must be typed as shown. Lower-
  341. case letters represent names of items that may vary, such as filenames.
  342. � The [ and ] characters surround optional items that can be supplied
  343. with the command.
  344. � The { and } characters surround lists of items. You must supply one
  345. of the items with the command.
  346. � The | character separates items in a list. Only one of the items can
  347. be supplied with the command.
  348. For example, in the following syntax, you must type NET COMMAND and
  349. either OPTION1 or OPTION2. Supplying a name is optional.
  350. NET COMMAND [name] {OPTION1 | OPTION2}
  351. � The [...] characters mean you can repeat the previous item.
  352. Separate items with spaces.
  353. � The [,...] characters mean you can repeat the previous item, but
  354. you must separate items with commas or semicolons, not spaces.
  355. #1
  356. $1 There are no options for this topic. This topic is about how to
  357. read syntax lines. It is not a NET command.
  358. .1 NET
  359. .2 ACCESS
  360. :2 [resource]
  361. resource [/ADD [name:permission[...]] | /DELETE]
  362. [/GRANT name:permission[...] |
  363. /CHANGE name:permission[...] | /REVOKE name [...]]
  364. [/TRAIL:{YES | NO}]
  365. [/FAILURE:{ALL | NONE}]
  366. [/FAILURE:{[OPEN];[WRITE];[DELETE];[ACL];[...]}
  367. [/SUCCESS:{ALL | NONE}]
  368. [/SUCCESS:{[OPEN];[WRITE];[DELETE];[ACL];[...]}
  369. [/TREE]
  370. #2 NET ACCESS creates, changes, and revokes permissions, and sets auditing
  371. for resources on servers with user-level security. When used without
  372. options, NET ACCESS lists the server's resources and their permissions.
  373. Permissions assigned to a directory automatically become the permissions
  374. for files within it unless specific permissions are assigned. New
  375. permissions then override the original permissions.
  376. NOTE: /TRAIL can't be used with /FAILURE or /SUCCESS.
  377. To get Help one screen at a time, type NET HELP command | MORE.
  378. $2
  379. directory Is the absolute pathname of a directory. /
  380. name:permission[...] Identifies an existing username(s) or groupname(s)
  381. and one or more of the following permissions to
  382. be granted. Username permissions override groupname
  383. permissions. Separate multiple name:permissions entries
  384. with a space. An option followed by name:permission
  385. expects everything following the option to be a
  386. username or groupname and a set of permissions.
  387. Type permissions for access to a disk resource
  388. without a delimiter (for example, RWC). Type \PRINT,
  389. \COMM, or \PIPE before the sharenames of these non-
  390. disk resources when assigning default permissions. For
  391. a \COMM resource, Y provides RWC permissions. For a
  392. \PIPE resource, Y provides RW permissions. For a
  393. \PRINT resource, Y provides C permission.
  394. Letter Permission
  395. ������ �����������������������������������������������������
  396. A Change resource attributes. The attributes are R
  397. (read only), H (hidden), S (system), and A (archive).
  398. C Create files and directories in a shared
  399. directory. Users with this permission can change the
  400. file only while creating it.
  401. D Delete files and subdirectories within the shared
  402. directory, but not the shared directory.
  403. N (No) Denies access to a resource.
  404. P Change permissions for a directory or file.
  405. R Read, copy, and execute files, and change from one
  406. subdirectory to another within the shared directory.
  407. W Write to a file.
  408. X Execute a command or program. Only MS OS/2 computers
  409. recognize X permission. To allow a user with an
  410. MS-DOS workstation to run a program, grant that user
  411. R permission.
  412. NOTE: X permission isn't needed if R permission
  413. is assigned to the user for that directory
  414. or file. R permission includes all rights that
  415. X permission grants.
  416. Y (Yes) Gives default (RWCDA) access permissions to
  417. a resource.
  418. resource Is a disk, directory (absolute path), file (absolute
  419. path), \PRINT (printer queue), \COMM (communication-
  420. device queue), or \PIPE (named pipe) for which
  421. permissions are to be assigned.
  422. ACL Does an audit when permissions for a resource are
  423. changed. The audit records are only written if the
  424. Server service was started with /AUDITING:YES or
  425. an auditing event is listed.
  426. ALL Determines an audit for all accesses to a resource.
  427. DELETE Determines an audit when a shared file is deleted.
  428. NONE Determines no audit for access to a resource.
  429. OPEN Determines an audit when shared files are opened.
  430. WRITE Determines an audit when a file is deleted.
  431. /ADD Adds a sharename and, optionally, one or more user's
  432. or group's permissions to use the resource. You can
  433. name a resource and define permissions for it before
  434. sharing it.
  435. /CHANGE Changes one or more user's or group's permissions
  436. for a resource.
  437. /DELETE Removes all permissions for a resource from the
  438. accounts database.
  439. /FAILURE Audits failed accesses to resources as determined
  440. by the values ALL, NONE, OPEN, WRITE, DELETE, and ACL.
  441. /FAILURE also expands the resource display.
  442. /FAILURE and /SUCCESS can be on the same command
  443. line, but do not use /FAILURE with /TRAIL.
  444. /GRANT Adds one or more user's or group's permissions for a
  445. resource. Separate multiple name:permission entries
  446. with a space.
  447. /REVOKE name [...] Revokes permissions for one or more users or groups
  448. to use a resource.
  449. /SUCCESS Audits successful accesses to resources as determined
  450. by the values ALL, NONE, OPEN, WRITE, DELETE, and ACL.
  451. /SUCCESS and /FAILURE can be on the same command line,
  452. but do not use /SUCCESS with /TRAIL.
  453. /TRAIL:{YES | NO} Turns the audit trail on or off for a particular
  454. resource. The default is NO. Do not use /TRAIL
  455. with /FAILURE or /SUCCESS.
  456. /TREE Reports permissions for a directory and all of its
  457. subdirectories. If there are too many permissions to
  458. list, specify a subdirectory (for example, NET ACCESS
  459. subdirectory /TREE). The /TREE option also lists
  460. permissions for \PRINT, \COMM, and \PIPE resources.
  461. .2 ACCOUNTS
  462. :2 [/ROLE:{BACKUP | MEMBER | PRIMARY | STANDALONE}]
  463. [/FORCELOGOFF:{minutes | NO}]
  464. [/MINPWLEN:length]
  465. [/MAXPWAGE:{days | UNLIMITED}]
  466. [/MINPWAGE:days]
  467. [/UNIQUEPW:number]
  468. #2 NET ACCOUNTS sets a server's role in the domain, and modifies password
  469. and logon requirements for all accounts. This information is stored in
  470. the LANMAN\ACCOUNTS\NET.ACC file, along with user accounts and resource
  471. permissions. When used without options, NET ACCOUNTS displays the current
  472. settings for password and logon limitations and the role of a server.
  473. Several conditions are required for options used with NET ACCOUNTS
  474. to take effect:
  475. � The server must have user-level security.
  476. � The password and logon requirements are only effective if user
  477. accounts have been set up (use the NET USER command).
  478. � The Netlogon service must be running on all servers in the domain
  479. that verify logon.
  480. � All workstations and servers that log on in the domain must have
  481. the same domain entry in the LANMAN.INI file.
  482. To get Help one screen at a time, type NET HELP command | MORE.
  483. $2
  484. /FORCELOGOFF:{minutes | NO} Sets the number of minutes a user has
  485. before being forced to log off when the
  486. account expires or valid logon hours expire.
  487. NO, the default, prevents forced logoff.
  488. /MAXPWAGE:{days | UNLIMITED} Sets the maximum number of days that a
  489. password is valid. No limit is specified
  490. with UNLIMITED. /MAXPWAGE can't be less than
  491. /MINPWAGE. The range is 1-49710; the default
  492. is 90 days.
  493. /MINPWAGE:days Sets the minimum number of days that must
  494. pass before a user can change a password. A
  495. value of 0 sets no minimum time. The range is
  496. 0-49710; the default is 0 days. /MINPWAGE can't
  497. be more than /MAXPWAGE.
  498. /MINPWLEN:length Sets the minimum number of characters for
  499. a password. The range is 0-14 characters;
  500. the default is 6 characters.
  501. /ROLE:{BACKUP | MEMBER | PRIMARY | STANDALONE}
  502. Determines how the servers in a domain
  503. participate in logon security. Four roles
  504. are provided; the default is STANDALONE.
  505. Role Description
  506. ������� ������������������������������������������
  507. BACKUP Specifies that the server can verify logon
  508. requests by maintaining a copy of the
  509. domain's user accounts database. A domain
  510. can have more than one backup server.
  511. MEMBER Specifies that the server can neither update
  512. the user accounts database nor verify logon
  513. requests, but maintains a copy of the domain's
  514. user accounts database. A domain can have
  515. more than one member server.
  516. PRIMARY Specifies that the server creates and maintains
  517. the user accounts database. This server is the
  518. default server for verifying logon requests.
  519. STANDALONE Specifies a server with user-level security
  520. that maintains its own user accounts database
  521. and does not participate in domain logon.
  522. /UNIQUEPW:number Requires that a user's passwords be unique
  523. through the specified number of password
  524. changes. The maximum value is 8.
  525. .2 ADMIN
  526. :2 [/MONO]
  527. \\computername [password | *] [/MONO]
  528. \\computername [password | *] /COMMAND [command]
  529. #2 The NET ADMIN command is used three ways:
  530. � To start the administrator's version of the LAN Manager Screen
  531. on the local server (when used without options).
  532. � To start the LAN Manager Screen on a local server or workstation
  533. to manage a remote server. You must have administrative privilege.
  534. � To run a command or start a command processor from the local server
  535. to manage a remote server.
  536. To get Help one screen at a time, type NET HELP command | MORE.
  537. $2
  538. command Is the network or operating system command to be run.
  539. \\computername Specifies a remote server.
  540. password | * Is the administrator's password for the specified server.
  541. This can be different from the administrator's logon
  542. password. An asterisk (*) produces a prompt for the
  543. password. The password will not be displayed when you
  544. type it.
  545. /COMMAND Runs a single noninteractive command or starts a
  546. secondary command processor (similar to MS OS/2 CMD.EXE)
  547. on a remote server. To start a secondary command
  548. processor, press ENTER immediately after /COMMAND. Type
  549. the command; then, to return to the local server, type
  550. EXIT or press CTRL+Z.
  551. /MONO May provide a clearer display on a monochrome screen.
  552. Type the command with and without /MONO and decide which
  553. display is best.
  554. .2 AUDIT
  555. :2 [/COUNT:number] [/REVERSE]
  556. /DELETE
  557. #2 NET AUDIT displays or clears entries in a server's audit trail. When
  558. used without options, it displays all entries in the server's
  559. audit trail. The display includes the username of a person who used a
  560. resource, the type of resource, the date and time of its use, and the
  561. amount of time it was used.
  562. This command only works on servers.
  563. To get Help one screen at a time, type NET HELP command | MORE.
  564. $2
  565. /COUNT:number Displays the specified number of entries from the beginning
  566. of the audit trail.
  567. /DELETE Clears the server's audit trail.
  568. /REVERSE Displays entries in reverse order (newest to oldest).
  569. When used with /COUNT:number, it displays the specified
  570. number of entries in reverse order.
  571. .2 COMM
  572. :2
  573. For a workstation:
  574. NET COMM {\\computername[\sharename] | devicename}
  575. {\\computername\sharename | devicename} [/PURGE]
  576. For a server:
  577. NET COMM [devicename | sharename]
  578. sharename [/PRIORITY:number] [/ROUTE:devicename[,...]]
  579. [/OPTIONS]
  580. {[\\computername\]sharename | devicename} /PURGE
  581. #2 NET COMM controls shared communication-device queues (COM or LPT
  582. connections). It also lets you cancel a request to use a shared
  583. communication-device queue. When used without options, NET COMM displays
  584. information about communication-device queues on the local server.
  585. To get Help one screen at a time, type NET HELP command | MORE.
  586. $2
  587. \\computername Is the name of the server sharing the communication-
  588. device queue.
  589. devicename Is the name of the communication device redirected
  590. to the queue.
  591. sharename Is the name of the queue.
  592. /OPTIONS Displays the options assigned to the queue.
  593. /PRIORITY:number Sets a priority for the queue. Priorities range
  594. from 1-9, with 1 being the highest priority. The
  595. default priority level is 5.
  596. /PURGE Cancels all pending requests from the queue
  597. but does not affect the currently active
  598. requests. When /PURGE is run at a workstation,
  599. only those requests from the workstation are purged.
  600. /ROUTE:devicename[,...] Specifies which device(s) will service the queue.
  601. .2 CONFIG
  602. .3 WORKSTATION
  603. :3 [/CHARCOUNT:bytes]
  604. [/CHARTIME:msec]
  605. [/CHARWAIT:sec]
  606. [/MAXERRORLOG:kbytes]
  607. [/OTHDOMAINS:name[,...]]
  608. [/PRINTBUFTIME:sec]
  609. #3 NET CONFIG WORKSTATION displays information about or changes the
  610. configuration of a workstation. An option typed from the command line
  611. overrides the value in the LANMAN.INI file's [workstation] section until
  612. the service is stopped. When used without options, NET CONFIG displays a
  613. list of configurable services.
  614. To get Help one screen at a time, type NET HELP command | MORE.
  615. $3
  616. /CHARCOUNT:bytes Is the amount of data in bytes that LAN Manager
  617. collects before sending it to a communication
  618. device. The range is 0-65535; the default is
  619. 16 bytes.
  620. /CHARTIME:msec Is the number of milliseconds LAN Manager
  621. collects data before sending it to a communication
  622. device. The range is 0-65535000; the default is
  623. 250 milliseconds .
  624. /CHARWAIT:sec Is the number of seconds LAN Manager waits for a
  625. communication device to become available. The range
  626. is 0-65535; the default is 3600 seconds.
  627. /MAXERRORLOG:kbytes Is the maximum size in kilobytes of the error log
  628. file. The range is 2 through the total disk size;
  629. the default is 100 kilobytes.
  630. /OTHDOMAINS:name[,...] Specifies another domain(s) that the workstation
  631. participates in (up to four).
  632. /PRINTBUFTIME:sec Is the number of seconds LAN Manager waits
  633. before submitting a print job from an MS-DOS
  634. session. The range is 0-65535; the default is
  635. 90 seconds.
  636. .3 PEER
  637. :3 [options]
  638. #3 NET CONFIG PEER displays information about or changes the configuration
  639. of a workstation using the Peer service while the service is running.
  640. When used without options, NET CONFIG displays a list of configurable
  641. services.
  642. The options for NET CONFIG PEER are the same as the options for
  643. NET CONFIG SERVER. An option typed from the command line overrides the
  644. value in the LANMAN.INI file's [server] section until the service is stopped.
  645. To get Help one screen at a time, type NET HELP command | MORE.
  646. $3
  647. options Are the same as options for NET CONFIG SERVER except that, for
  648. the Peer service, the /AUTODISCONNECT option is permanently
  649. set to -1 (never disconnect) in the software.
  650. .3 SERVER
  651. :3
  652. with the following options:
  653. [/ACCESSALERT:n] [/LOGONALERT:n]
  654. [/ALERTNAMES:name[,...]] [/MAXAUDITLOG:kbytes]
  655. [/ALERTSCHED:time] [/NETIOALERT:n]
  656. [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
  657. [/DISKALERT:n] [/SRVHIDDEN:{YES | NO}]
  658. [/ERRORALERT:n]
  659. #3 NET CONFIG SERVER displays configuration information or changes the
  660. configuration of a server. An option typed from the command line
  661. overrides the value in the LANMAN.INI file's [server] section until the
  662. service is stopped.
  663. When used without options, NET CONFIG displays a list of configurable
  664. services.
  665. To get Help one screen at a time, type NET HELP command | MORE.
  666. $3
  667. /ACCESSALERT:n Is the number of permission violations that can
  668. occur before an alert message is sent to users
  669. listed in /ALERTNAMES. The range is 0-65535;
  670. the default is 5 permission violations.
  671. /ALERTNAMES:name[,...] Is a username(s) or computername(s) to receive
  672. alert messages (such as a printer problem or
  673. full disk).
  674. /ALERTSCHED:time Is how often (in minutes) the server checks for
  675. alert conditions. The range is 0-65535; the default
  676. is 5 minutes.
  677. /AUTODISCONNECT:time Is the maximum number of minutes a user's session
  678. can be inactive before it is ended. (This service is
  679. available only to a server with an Unlimited User
  680. Pak.) The range is -1-65535; the default is
  681. -1 (never disconnect).
  682. /DISKALERT:n Is the minimum number in kilobytes of available
  683. disk space. When available disk space is less
  684. than the specified amount, an alert message
  685. is sent. The range is 0-65535; the default is
  686. 300 kilobytes.
  687. /ERRORALERT:n Is the number of network errors that trigger an alert
  688. message. The range is 0-65535; the default is
  689. 5 network errors.
  690. /LOGONALERT:n Is the number of logon violations that trigger
  691. an alert message. The range is 0-65535; the
  692. default is 5 logon violations.
  693. /MAXAUDITLOG:kbytes Is the maximum number in kilobytes of the
  694. server's audit trail, NET.AUD. The range is
  695. 0-65535; the default is 100 kilobytes.
  696. /NETIOALERT:n Is the number of disk input/output (I/O) errors
  697. that trigger an alert message. The range is
  698. 0-65535; the default is 5 I/O errors.
  699. /SRVCOMMENT:"text" Is a comment for the server. Comments can have as
  700. many as 48 characters. Enclose the text in
  701. quotation marks.
  702. /SRVHIDDEN:{YES | NO} Specifies whether the server's computername
  703. appears on any lists of network servers. The
  704. default is NO.
  705. :2 [PEER | SERVER | WORKSTATION]
  706. #2 NET CONFIG displays configuration information or changes the configuration
  707. of a workstation or server. When used without options, it displays a list
  708. of configurable services. To get help with configuring a service, type
  709. NET HELP CONFIG service.
  710. To get Help one screen at a time, type NET HELP command | MORE.
  711. $2
  712. PEER Displays information about or changes the configuration
  713. of the Peer service.
  714. SERVER Displays information about or changes the configuration
  715. of a server.
  716. WORKSTATION Displays information about or changes the configuration
  717. of a workstation.
  718. .2 CONSOLE
  719. :2 [password | * ] [/MONO]
  720. #2 NET CONSOLE starts the console version of the LAN Manager Screen. This
  721. version of the screen is designed for unattended servers. When the
  722. console version is displayed, all other applications are unavailable.
  723. You must supply the correct password to exit the console version.
  724. This command only works on servers.
  725. To get Help one screen at a time, type NET HELP command | MORE.
  726. $2
  727. password Is any password an administrator chooses when starting the
  728. console version of the LAN Manager Screen. The same password
  729. must be provided to exit the console version.
  730. * Produces a prompt for the password. The password will not be
  731. displayed when you type it.
  732. /MONO May improve the display on a monochrome screen. Type the command
  733. with and without the option to determine which display is best.
  734. .2 CONTINUE
  735. :2
  736. For a workstation:
  737. NET CONTINUE service
  738. For a server:
  739. NET CONTINUE {service | PRINT[=devicename]}
  740. #2 NET CONTINUE reactivates a LAN Manager service or printer that has been
  741. suspended by NET PAUSE.
  742. To get Help one screen at a time, type NET HELP command | MORE.
  743. $2
  744. service Is the paused service (NETLOGON, NETRUN, PEER,
  745. SERVER, or WORKSTATION).
  746. PRINT[=devicename] Continues a shared printer. Omitting devicename
  747. continues jobs on all printers.
  748. .2 COPY
  749. :2
  750. For a workstation:
  751. NET COPY source [+source...] [/A | /B] [destination [/A | /B] [/V]]
  752. For a server:
  753. NET COPY /TO:username [/PASSWORD:{password | *}] source [destination]
  754. /FROM:username [/PASSWORD:{password | *}] source [destination]
  755. #2 NET COPY copies files from a source to a destination.
  756. To get Help one screen at a time, type NET HELP command | MORE.
  757. $2
  758. destination Specifies where source will be copied to.
  759. Destination can be a file, a directory, or a
  760. devicename. You can use wildcard characters to
  761. specify multiple files.
  762. source Specifies the file(s) being copied. Source can be a
  763. file, a directory, or a devicename. You can use
  764. wildcard characters to specify multiple files
  765. or separate multiple filenames with plus signs
  766. (+).
  767. /A Treats the source or destination as ASCII text.
  768. /B Treats the source or destination as a binary file.
  769. /FROM:username Copies from a user's server in the logon domain
  770. to the local server. This option only works for
  771. usernames validated by the Netlogon service.
  772. /PASSWORD:{password | *} Provides a password (if required) for access to
  773. other servers. An asterisk (*) produces a prompt
  774. for the password. The password will not be
  775. displayed when you type it.
  776. /TO:username Copies from the local server to a user in the
  777. logon domain at a remote server. This option
  778. only works for usernames validated by the Netlogon
  779. service.
  780. /V Verifies that information was properly recorded on
  781. the destination disk.
  782. .2 DEVICE
  783. :2 [devicename [/DELETE | /RESTART]]
  784. #2 NET DEVICE controls shared printer and communication-device queues on the
  785. server. When used without options, it displays the status of all queues.
  786. This command only works on servers.
  787. To get Help one screen at a time, type NET HELP command | MORE.
  788. $2
  789. devicename Is a printer or communication device (LPT or COM).
  790. /DELETE Cancels the active print job or communication-device request.
  791. /RESTART Starts printing the current document from the beginning at a
  792. spooled printer.
  793. .2 ERROR
  794. :2 [/COUNT:number] [/REVERSE]
  795. [/DELETE]
  796. #2 NET ERROR displays or clears entries in the error log. When used without
  797. options, it displays all entries in the error log.
  798. To get Help one screen at a time, type NET HELP command | MORE.
  799. $2
  800. /COUNT:number Displays the specified number of errors logged.
  801. /DELETE Removes all entries from the error log.
  802. /REVERSE Displays errors in reverse order of newest to oldest. When
  803. used with /COUNT, it displays the specified number of errors
  804. in reverse order.
  805. .2 FILE
  806. :2 [id [/CLOSE]]
  807. #2 NET FILE closes a shared file and removes file locks. When used without
  808. options, it lists the open files on a server. The listing includes the
  809. identification number assigned to an open file, the pathname of the file,
  810. the username, and the number of locks on the file.
  811. This command only works on servers.
  812. To get Help one screen at a time, type NET HELP command | MORE.
  813. $2
  814. id Is the identification number of the file.
  815. /CLOSE Closes an open file and removes file locks. Type this command
  816. from the server where the file is shared.
  817. .2 FORWARD
  818. :2 alias1 alias2
  819. alias1 /DELETE
  820. #2 NET FORWARD routes incoming messages from one message alias to
  821. another, or cancels the forwarding of an alias.
  822. To get Help one screen at a time, type NET HELP command | MORE.
  823. $2
  824. alias1 Is the alias whose messages are to be forwarded.
  825. alias2 Is the alias that is to receive the forwarded messages.
  826. /DELETE Cancels forwarding for alias1. Forwarding is also canceled if
  827. the receiving workstation is stopped.
  828. .2 GROUP
  829. :2 [groupname [/COMMENT:"text"]]
  830. groupname {/ADD [/COMMENT:"text"] | /DELETE}
  831. groupname username [...] {/ADD | /DELETE}
  832. #2 NET GROUP modifies groups on servers with user-level security. When
  833. used without options, it displays the groupnames on the server.
  834. To get Help one screen at a time, type NET HELP command | MORE.
  835. $2
  836. groupname Is the name of the group to be added, expanded, or
  837. deleted. When this option is typed without other options,
  838. the name of the group and its members is displayed.
  839. username [...] Lists a username(s) to add to or remove from a group.
  840. Separate multiple names with a space.
  841. /ADD Adds a group or members to a group. An account must
  842. already be set up for the new user (see NET USER).
  843. /COMMENT:"text" Is a comment about the group. You can add a comment to an
  844. existing group or provide the comment when adding a
  845. group. Comments can have as many as 48 characters.
  846. /DELETE Removes a group or members from a group.
  847. .2 HELP
  848. :2 [command [/OPTIONS] | topic]
  849. NET command {/HELP | /?}
  850. #2 Help is available on these utilities:
  851. AT FTADMIN MAKEIMG RPLDSABL
  852. BACKACC FTMONIT NET RPLENABL
  853. CACHE FTSETUP PORTACC
  854. CHKSTOR LOGOFF PRIV
  855. ERRPOPUP LOGON RESTACC
  856. Help is available on these NET commands:
  857. ACCESS ERROR MOVE SHARE
  858. ACCOUNTS FILE NAME START
  859. ADMIN FORWARD PASSWORD STATISTICS
  860. AUDIT GROUP PAUSE STATUS
  861. COMM HELP PRINT STOP
  862. CONFIG HELPMSG RUN TIME
  863. CONSOLE LOAD SAVE USE
  864. CONTINUE LOG SEND USER
  865. COPY LOGOFF SEPARATOR VIEW
  866. DEVICE LOGON SESSION WHO
  867. Help is available on these special topics:
  868. NAMES SYNTAX
  869. To get Help one screen at a time, type NET HELP command | MORE.
  870. $2
  871. command Is the command you need help with. Don't type NET as
  872. part of the option.
  873. topic Is the topic you need help with.
  874. /? Displays the syntax of the command.
  875. /HELP Provides information about the specified command.
  876. /OPTIONS Describes the available options.
  877. .2 HELPMSG
  878. :2 message#
  879. #2 NET HELPMSG displays information about LAN Manager messages (such as error,
  880. warning, and alert messages). When you type NET HELPMSG and the 4-digit
  881. number of the LAN Manager error (for example, NET2182), LAN Manager
  882. tells you about the message and suggests action you can take to solve
  883. a problem.
  884. This command provides information only about LAN Manager messages,
  885. which are preceded with the letters NET. Use the MS OS/2 HELP command
  886. for help with MS OS/2 error messages.
  887. $2
  888. message# Is the 4-digit number of the LAN Manager message you need help
  889. with. You don't need to type NET as part of the message number.
  890. .2 LOAD
  891. :2 [[drive:path]filename]
  892. #2 NET LOAD loads a profile, which contains LAN Manager commands that
  893. establish a workstation's network connections or share a server's
  894. resources. When used without options, it loads the default profile,
  895. LANMAN\PROFILES\NETLOGON.PRO. If you don't specify a full drive and path,
  896. LAN Manager assumes the profile is stored in the LANMAN\PROFILES directory.
  897. To get Help one screen at a time, type NET HELP command | MORE.
  898. $2
  899. drive:path Tells where the profile is stored. Without a drive letter
  900. and path, LAN Manager assumes the profile is stored
  901. in the LANMAN\PROFILES directory.
  902. filename Is the name of the profile. If filename is omitted, the default
  903. profile, NETLOGON.PRO, is loaded. If no extension is supplied,
  904. .PRO is assumed.
  905. .2 LOG
  906. :2 [[drive:path]filename | devicename] [/ON | /OFF]
  907. #2 NET LOG starts or stops logging messages to a file or printer. When used
  908. without options, it displays information about how messages are logged.
  909. To get Help one screen at a time, type NET HELP command | MORE.
  910. $2
  911. devicename Is the name of a device at your computer assigned to a
  912. printer queue. Messages are printed as they're received.
  913. This name can be an LPT or COM devicename.
  914. drive:path Tells where the message log file is stored. Without a drive
  915. letter and path, LAN Manager assumes the file is stored in
  916. the LANMAN\LOGS directory.
  917. filename Is the name of the message log file. If you don't specify an
  918. extension, .LOG is assumed. By default, messages are stored
  919. in MESSAGES.LOG.
  920. /OFF Stops logging messages.
  921. /ON Restarts logging messages.
  922. .2 LOGOFF
  923. :2
  924. #2 NET LOGOFF logs a user off from a workstation and cancels all network
  925. connections.
  926. Use LOGOFF, instead of NET LOGOFF, if you are logging off from a
  927. 386 server using the high-performance file system.
  928. To get Help one screen at a time, type NET HELP command | MORE.
  929. $2
  930. There are no options for this command.
  931. .2 LOGON
  932. :2 [username [password | *]] [/DOMAIN:name]
  933. #2 NET LOGON logs a user on to the network and sets the username, password,
  934. and logon domain at the workstation. When used without options, it prompts
  935. you to type a username and password.
  936. Type LOGON, instead of NET LOGON, to log on for local access only (local
  937. logon) on a 386 server using the high-performance file system.
  938. To get Help one screen at a time, type NET HELP command | MORE.
  939. $2
  940. password | * Is the password at the workstation (passwords can have as many
  941. as 14 characters). An asterisk (*) produces a prompt for the
  942. password. The password will not be displayed when you type it.
  943. username Is the name by which you are identified on the network. The
  944. username can have as many as 20 characters.
  945. /DOMAIN:name Is the name of a domain (other than your workstation domain)
  946. in which you log on. This is the logon domain. The /DOMAIN
  947. option can't be used when performing a local logon.
  948. .2 MOVE
  949. :2 source [destination]
  950. #2 NET MOVE moves files between any two directories on the network that
  951. you have permission to use. Moving relocates the file. The filename
  952. remains unchanged, but it is given the creation date and time that the
  953. move occurred.
  954. You don't need to have connections to shared directories to use NET MOVE.
  955. The source or destination can include a network path instead of a
  956. devicename.
  957. To get Help one screen at a time, type NET HELP command | MORE.
  958. $2
  959. destination Is the pathname to which the source file is moved. If more
  960. than one file is moved, destination must be a directory.
  961. If destination is omitted, files are moved to the current
  962. directory. LAN Manager won't write over an existing file
  963. during a move. If destination is an existing file, the
  964. move is canceled.
  965. source Is the pathname of the file being moved. You can specify
  966. multiple files by using wildcard characters.
  967. .2 NAME
  968. :2 [alias [/ADD | /DELETE]]
  969. #2 NET NAME adds or deletes an alias at a workstation. An alias is a name
  970. to which messages are sent. When used without options, NET NAME displays
  971. aliases at the workstation and any aliases to or from which messages are
  972. being forwarded.
  973. A workstation can have three kinds of aliases:
  974. � A computername, which is added as an alias when the Workstation
  975. service is started
  976. � A username, which is added as an alias when you log on, providing it
  977. is not being used at another workstation
  978. � Message aliases, which are added with NET NAME or forwarded from
  979. another computer
  980. To get Help one screen at a time, type NET HELP command | MORE.
  981. $2
  982. alias Is a name to receive messages. The alias can have as many as
  983. 15 characters.
  984. /ADD Adds an alias to a workstation. Typing /ADD is optional; typing
  985. NET NAME alias works the same way.
  986. /DELETE Removes an alias from the workstation.
  987. .2 PASSWORD
  988. :2 [[\\computername | /DOMAIN[:name]] username oldpassword
  989. {newpassword | *}]
  990. #2 NET PASSWORD changes the password for your user account on a server or
  991. in a domain. When used without options, it prompts you for a computername
  992. or domain name at which you have an account, your username, old password,
  993. and new password.
  994. To get Help one screen at a time, type NET HELP command | MORE.
  995. $2
  996. \\computername Is the server at which the password will be changed. If no
  997. \\computername is supplied, your password for your account
  998. in the workstation domain is changed.
  999. newpassword Is the new password, which can have as many as 14 characters.
  1000. oldpassword Is your current password.
  1001. username Is your username.
  1002. * Produces a prompt for the new password. The password will
  1003. not be displayed when you type it.
  1004. /DOMAIN[:name] Is the domain (other than the workstation domain) in
  1005. which the password will be changed. Specifying /DOMAIN
  1006. with no value changes the password in the workstation
  1007. domain.
  1008. .2 PAUSE
  1009. :2
  1010. For a workstation:
  1011. NET PAUSE service
  1012. For a server:
  1013. NET PAUSE {service | PRINT[=devicename]}
  1014. #2 NET PAUSE suspends a LAN Manager service or resource. Pausing a service
  1015. puts it on hold. Users who already have a connection to the server's
  1016. resources are able to finish their tasks, but new connections to the
  1017. resources are prevented.
  1018. To get Help one screen at a time, type NET HELP command | MORE.
  1019. $2
  1020. service Is the service to be paused (NETLOGON, NETRUN,
  1021. PEER, SERVER, or WORKSTATION).
  1022. PRINT[=devicename] Pauses network activity to a spooled printer queue
  1023. whose devicename is either LPTx: or COMx:. Print jobs
  1024. already in the printer queue are printed, but no
  1025. new jobs can be submitted. When devicename is not
  1026. specified, all printers are paused.
  1027. .2 PRINT
  1028. :2
  1029. For a workstation:
  1030. NET PRINT {\\computername[\sharename] | devicename}
  1031. {\\computername | devicename} [job# [/HOLD | /RELEASE | /DELETE]]
  1032. For a server:
  1033. NET PRINT [job# [/HOLD | /RELEASE | /FIRST | /LAST | /DELETE]]
  1034. sharename [/HOLD | /RELEASE | /DELETE | /PURGE]
  1035. NET PRINT sharename also has these options:
  1036. [/PRIORITY:number] [/SEPARATOR:pathname]
  1037. [/ROUTE:devicename[,...]] [/PROCESSOR:pmname]
  1038. [/AFTER:time] [/REMARK:"text"]
  1039. [/UNTIL:time] [/OPTIONS]
  1040. [/DRIVER:filename]
  1041. #2 NET PRINT displays or controls single print jobs and printer queues,
  1042. displays or controls the shared queue, and sets or modifies options for
  1043. the printer queue. When used without options, it displays information
  1044. about printer queues on the server or workstation. For each queue, the
  1045. display lists jobs, showing the size and status of each job, and the
  1046. status of the queue.
  1047. To get Help one screen at a time, type NET HELP command | MORE.
  1048. $2
  1049. \\computername Is the name of the server sharing the printer
  1050. queue(s).
  1051. devicename Is the name of the device at your computer assigned
  1052. to the queue. LPT1: through LPT9: are available.
  1053. job# Is the identification number assigned to a print
  1054. job. A server with one or more printer queues
  1055. assigns each print job a unique number.
  1056. sharename Is the name of the shared printer queue. For a
  1057. workstation, when including the sharename with the
  1058. computername, use a backslash (\) to separate the
  1059. names.
  1060. /AFTER:time Prints jobs from the queue after time (for 24-hour
  1061. time, use the format hh:mm; for 12-hour time,
  1062. use the format hh:mmAM or hh:mmPM).
  1063. /DELETE With a job number, removes the job from a queue.
  1064. With a sharename, removes a queue.
  1065. /DRIVER:filename Is the default print-driver file.
  1066. /FIRST Moves a job to the first position in the queue.
  1067. /HOLD When used with a job number, prevents a job in the
  1068. queue from printing. The job stays in the printer
  1069. queue, and other jobs bypass it until it is
  1070. released. When used with a sharename, the printer
  1071. queue stops printing until released.
  1072. /LAST Moves a job to the last position in the queue.
  1073. /OPTIONS Displays the options assigned to the shared printer
  1074. queue.
  1075. /PRIORITY:number Sets the queue's priority (1 is the highest and 9
  1076. the lowest). If a printer is receiving jobs from
  1077. more than one queue, it prints jobs from the queue
  1078. with highest priority first.
  1079. /PROCESSOR:pmname Specifies a print processor file. The MS OS/2
  1080. Print Manager (spooler) maintains the path to
  1081. this file. Specify only the filename.
  1082. /PURGE Removes all jobs except the current job from
  1083. the queue.
  1084. /RELEASE Reactivates a job or printer queue that is held.
  1085. /REMARK:"text" Is a descriptive comment about the shared queue.
  1086. /ROUTE:devicename[,...] Routes the queue's print jobs to one or more local
  1087. or remote printers. If print jobs are routed to a
  1088. remote printer, the remote printer must be shared
  1089. as a (unspooled) communication-device queue.
  1090. /SEPARATOR:pathname Instructs the printers in the queue to use the
  1091. separator page in the file specified by pathname.
  1092. LAN Manager provides a default separator page file,
  1093. DEFAULT.SEP. To use the default page, you must
  1094. supply this filename. The LANMAN\SPOOL directory
  1095. is assumed.
  1096. /UNTIL:time Prints jobs from the queue until time (for 24-hour
  1097. time, use the format hh:mm; for 12-hour time,
  1098. use the format hh:mmAM or hh:mmPM).
  1099. .2 RUN
  1100. :2 command
  1101. #2 NET RUN runs a program or command on a server.
  1102. To get Help one screen at a time, type NET HELP command | MORE.
  1103. $2
  1104. command Is the name of the program you want to run. The program is
  1105. a .EXE file. You don't need to supply the filename extension.
  1106. .2 SAVE
  1107. :2 [[drive:path]filename]
  1108. #2 NET SAVE creates a profile, which is a file that contains the current
  1109. connections. When the profile is loaded with NET LOAD, the connections
  1110. are automatically restored.
  1111. A profile for a workstation contains a set of NET USE commands.
  1112. It functions like a batch file but is formatted differently. When
  1113. used without options, on a workstation NET SAVE saves the profile
  1114. commands in NETLOGON.PRO.
  1115. A profile for a server stores NET USE, NET SHARE, NET PRINT, and
  1116. NET COMM commands. Save commands each time a new resource is shared
  1117. to ensure that the resource configuration will not be lost if the server
  1118. is stopped. When used without options, on a server NET SAVE saves the
  1119. profile commands in SRVAUTO.PRO.
  1120. To get Help one screen at a time, type NET HELP command | MORE.
  1121. $2
  1122. drive:path Tells where the profile is stored. Without a drive
  1123. letter and path, LAN Manager stores the profile in the
  1124. LANMAN\PROFILES directory.
  1125. filename Is the name of the profile. The default name for a
  1126. workstation profile is NETLOGON.PRO. The default name for
  1127. a server profile is SRVAUTO.PRO. If a filename is typed
  1128. without an extension, a .PRO extension is added.
  1129. .2 SEND
  1130. :2
  1131. For a workstation:
  1132. NET SEND {alias | /DOMAIN[:name] | * | /BROADCAST} message
  1133. For a server:
  1134. NET SEND /USERS message
  1135. {alias | /DOMAIN[:name] | * | /BROADCAST} message
  1136. #2 NET SEND sends messages or short files to other computers or users on
  1137. the network.
  1138. You can only send a message to an alias that is active on the network.
  1139. If the message is sent to a username, that user must be logged on
  1140. and running the Messenger service to receive the message.
  1141. The size of the message is limited by the SIZMESSBUF entry in the
  1142. LANMAN.INI file, which can be changed to accommodate messages as large
  1143. as 62 kilobytes.
  1144. To get Help one screen at a time, type NET HELP command | MORE.
  1145. $2
  1146. alias Is the username, computername, or other name to send
  1147. the message to.
  1148. message Is text to be sent as a message or the filename of a
  1149. text file to be sent (preceded by <).
  1150. * Sends the message to all aliases in your workstation
  1151. domain.
  1152. /BROADCAST Sends the message to all aliases on the network. Broadcast
  1153. messages can have as many as 128 characters, and should
  1154. be broadcast with discretion.
  1155. /DOMAIN[:name] Sends the message to all aliases in the domain specified
  1156. by the domain entry in LANMAN.INI. To send a message to
  1157. all aliases in another domain, supply the name of that
  1158. domain.
  1159. /USERS Sends the message to all users currently connected to one
  1160. of the server's resources.
  1161. .2 SEPARATOR
  1162. :2 {sharename | devicename} {pathname | /DELETE}
  1163. #2 NET SEPARATOR prints or cancels a separator page before each print job
  1164. in a printer queue or on a printer. LAN Manager provides a separator
  1165. page that reports the following information:
  1166. � The name of the workstation or server from which the job was sent
  1167. � The name of the file being printed
  1168. � The date and time the file was printed
  1169. NET SEPARATOR and the /SEPARATOR option for NET PRINT perform the same
  1170. function. Use NET PRINT /SEPARATOR to assign a separator file for a
  1171. printer queue if you are configuring the queue.
  1172. This command only works on servers.
  1173. To get Help one screen at a time, type NET HELP command | MORE.
  1174. $2
  1175. devicename Is the name of a device assigned to a printer queue that is
  1176. to use a separator page. All printers using the queue will
  1177. use the separator page.
  1178. pathname Is the pathname of the file containing the separator page
  1179. description. LAN Manager provides a default separator page.
  1180. The default path recognized by the MS OS/2 Print Manager is
  1181. C:\SPOOL.
  1182. sharename Is the name of the printer queue to use the separator page.
  1183. /DELETE Cancels the separator page.
  1184. .2 SESSION
  1185. :2 [\\computername] [/DELETE]
  1186. #2 NET SESSION lists or disconnects sessions between the server and other
  1187. computers on the network. When used without options, it displays information
  1188. about all sessions with the server of current focus.
  1189. This command only works on servers.
  1190. To get Help one screen at a time, type NET HELP command | MORE.
  1191. $2
  1192. \\computername Lists the session information for the named computer.
  1193. /DELETE Ends the session between the server and computername,
  1194. and closes all open files for the session. If
  1195. computername is omitted, all sessions are ended.
  1196. .2 SHARE
  1197. :2 [IPC$ [password]]
  1198. [ADMIN$ [password]]
  1199. sharename
  1200. sharename=devicename[,...] [/COMM | /PRINT] [password]
  1201. [/PERMISSIONS:permissions] [/USERS:number | /UNLIMITED]
  1202. [/REMARK:"text"]
  1203. sharename [/PRINT]
  1204. sharename=drive:path [password] [/PERMISSIONS:permissions]
  1205. [/USERS:number | /UNLIMITED] [/REMARK:"text"]
  1206. sharename [/PERMISSIONS:permissions] [/USERS:number | /UNLIMITED]
  1207. [/REMARK:"text"]
  1208. {sharename | devicename | drive:path} /DELETE
  1209. #2 NET SHARE makes a server's resources available to network users. When
  1210. used without options, it lists information about all resources being
  1211. shared on the server. For each resource, LAN Manager reports the
  1212. devicename(s) or pathname(s) associated with it and a descriptive comment.
  1213. This command only works on servers.
  1214. To get Help one screen at a time, type NET HELP command | MORE.
  1215. $2
  1216. devicename Is one or more printers (LPT1: through LPT9:)
  1217. or communication devices (COM1: through COM9:)
  1218. shared by sharename.
  1219. drive:path Is the directory for the shared resource.
  1220. password Is a confidential word that protects a resource
  1221. on a server.
  1222. sharename Is the name of the resource being shared. To see
  1223. information about the shared resource, type
  1224. NET SHARE sharename.
  1225. ADMIN$ Is an administrative resource that allows remote
  1226. administration on the server. Servers with
  1227. user-level security share ADMIN$ automatically.
  1228. On servers with share-level security, ADMIN$
  1229. should be shared. For greater security, assign a
  1230. password to ADMIN$ on a server with share-level
  1231. security.
  1232. IPC$ Enables a user to use named pipes and distributed
  1233. applications on the server. Named pipes are
  1234. essential for communication between programs.
  1235. The Netrun service requires that IPC$ be shared.
  1236. IPC$ is automatically shared on a server with
  1237. user-level security. With share-level security,
  1238. you must explicitly share IPC$. Assign IPC$ a
  1239. password only if the server won't be configured
  1240. for remote administration.
  1241. /COMM Identifies the resource as a communication-
  1242. device queue.
  1243. /DELETE Stops sharing the resource.
  1244. /PERMISSIONS:permissions Assigns permissions to a shared resource on a
  1245. server with share-level security. The following
  1246. permissions are available:
  1247. Letter Permission
  1248. ������ ����������������������������������������������
  1249. A Change resource attributes. The attributes are
  1250. R (read only), H (hidden), S (system), and
  1251. A (archive).
  1252. C Create files and directories in a shared
  1253. directory. Users with this permission can only
  1254. change the file while creating it.
  1255. D Delete resources.
  1256. P Change permissions for a directory or a file.
  1257. R Read, copy, and execute files, and change from
  1258. one subdirectory to another within the shared
  1259. directory.
  1260. W Write to a file.
  1261. X Execute a command or program. Only MS OS/2
  1262. computers recognize X permission. A user with
  1263. an MS-DOS workstation cannot run a file that
  1264. has X permission but doesn't have R permission.
  1265. /PRINT Identifies the shared resource as a printer queue.
  1266. /REMARK:"text" Is a comment about the shared resource.
  1267. /UNLIMITED Specifies that any number of users can use a
  1268. shared resource simultaneously. At a workstation
  1269. running the Peer service, use this option only
  1270. for IPC$.
  1271. /USERS:number Sets the maximum number of users who can
  1272. simultaneously access a shared resource. A
  1273. LAN Manager server is limited to five users
  1274. unless you have increased the maximum number of
  1275. users by applying Additional User Paks. For a
  1276. workstation running the Peer service, this entry
  1277. cannot be more than two (the user at the
  1278. workstation and one other user).
  1279. .2 START
  1280. .3 ALERTER
  1281. :3 [/SIZALERTBUF:bytes]
  1282. #3 NET START ALERTER starts the LAN Manager Alerter service on a server.
  1283. The Alerter service sends messages about network information to users,
  1284. such as the status of print jobs or resource availability. When used
  1285. without the option, NET START ALERTER starts the service with the values
  1286. specified in the LANMAN.INI file's [alerter] section. An option typed from
  1287. the command line overrides the value in the LANMAN.INI file until the
  1288. service is stopped.
  1289. To get Help one screen at a time, type NET HELP command | MORE.
  1290. $3
  1291. /SIZALERTBUF:bytes Determines the size in bytes of the alert-message
  1292. buffer. The range is 512-16384; the default is
  1293. 3072 bytes.
  1294. .3 MESSENGER
  1295. :3 [/LOGFILE:pathname]
  1296. [/SIZMESSBUF:bytes]
  1297. #3 NET START MESSENGER starts the LAN Manager Messenger service, which
  1298. lets you receive messages with other network users. Typing this command
  1299. also starts the Workstation service if it is not already running. When
  1300. used without options, NET START MESSENGER starts the service using the
  1301. values specified in the LANMAN.INI file's [messenger] section. An option
  1302. typed from the command line overrides the value in the LANMAN.INI file
  1303. until the service is stopped.
  1304. In addition to the options listed here, NET START MESSENGER accepts all
  1305. NET START WORKSTATION options when you're starting both services with one
  1306. command. For a list of these options, see NET START WORKSTATION.
  1307. To get Help one screen at a time, type NET HELP command | MORE.
  1308. $3
  1309. /LOGFILE:pathname Assigns a new pathname for the message log file. The
  1310. default is LANMAN\LOGS\MESSAGES.LOG.
  1311. /SIZMESSBUF:bytes Sets the size in bytes of the message buffer,
  1312. defining the maximum size of messages the workstation
  1313. can receive. The range is 512-62000; the default is
  1314. 4096 bytes.
  1315. .3 NETLOGON
  1316. :3 [/PULSE:time]
  1317. [/RANDOMIZE:time]
  1318. [/SCRIPTS:pathname]
  1319. [/UPDATE:{YES | NO}]
  1320. #3 NET START NETLOGON starts the LAN Manager Netlogon service, which
  1321. validates logon requests in domains with user-level security. When used
  1322. without options, NET START NETLOGON starts the service using the values
  1323. specified in the LANMAN.INI file's [netlogon] section. An option typed
  1324. from the command line overrides the value in the LANMAN.INI file until
  1325. the service is stopped.
  1326. To get Help one screen at a time, type NET HELP command | MORE.
  1327. $3
  1328. /PULSE:time Is the number of seconds that a primary domain
  1329. controller waits between update notices sent to backup
  1330. domain controllers and member servers. Pulses are not
  1331. sent while the user accounts database is being updated.
  1332. The range is 60-3600; the default is 300 seconds.
  1333. /RANDOMIZE:time Sets a value in seconds. This value is sent out with
  1334. each pulse. Each backup domain controller and member
  1335. server uses this value to generate a random number
  1336. between 0 and the value of /RANDOMIZE. The backup domain
  1337. controller and member servers in the domain then each
  1338. request a replica of the user accounts database at a
  1339. time specified by their random number of seconds. The
  1340. range is 5-120; the default is 30 seconds.
  1341. /SCRIPTS:pathname Indicates a logon script to be used. The path is
  1342. the location of the script. The default path in the
  1343. LANMAN.INI file is REPL\IMPORT\SCRIPTS.
  1344. /UPDATE:{YES | NO} When set to YES (the default), causes replication to
  1345. occur at backup domain controllers and member servers
  1346. when the Netlogon service is started. Set /UPDATE to NO
  1347. to prevent replication when the Netlogon service is
  1348. started. The /UPDATE option is ignored at the primary
  1349. domain controller.
  1350. .3 NETPOPUP
  1351. :3
  1352. #3 NET START NETPOPUP starts the LAN Manager Netpopup service, which
  1353. displays a message as soon as it arrives at your workstation. The
  1354. Messenger service must be running for the workstation to receive messages.
  1355. To get Help one screen at a time, type NET HELP command | MORE.
  1356. $3
  1357. There are no options for this command.
  1358. .3 NETRUN
  1359. :3 [/RUNPATH:pathname[,...]] [/MAXRUNS:number]
  1360. #3 NET START NETRUN starts the LAN Manager Netrun service, which enables
  1361. users at workstations to run programs that are in the run path on the
  1362. server. When used without options, NET START NETRUN starts the service
  1363. using the values specified in the LANMAN.INI file's [netrun] section. An
  1364. option typed from the command line overrides the value in the LANMAN.INI
  1365. file until the service is stopped.
  1366. To get Help one screen at a time, type NET HELP command | MORE.
  1367. $3
  1368. /MAXRUNS:number Is the maximum number of NET RUN commands the
  1369. server can handle concurrently. The range is
  1370. 1-10; the default is 3.
  1371. /RUNPATH:pathname[,...] Is the search path(s) for programs that network
  1372. users can run in the server's memory.
  1373. .3 REMOTEBOOT
  1374. :3 [/RPLn:filename,filename,filename[,adapter]]
  1375. [/RPLDIR:pathname]
  1376. [/MAXTHREADS:number]
  1377. [/CONFIGFILE:pathname]
  1378. #3 NET START REMOTEBOOT starts the LAN Manager Remoteboot service, which
  1379. allows a workstation to be started remotely. When used without options,
  1380. it starts the service using the values specified in the LANMAN.INI file's
  1381. [remoteboot] section. An option typed from the command line overrides the
  1382. value in the LANMAN.INI file until the service is stopped.
  1383. To get Help one screen at a time, type NET HELP command | more.
  1384. $3
  1385. /CONFIGFILE:pathname Is the name of the MS-DOS boot block configuration
  1386. file. This file contains information about network
  1387. device drivers, the boot block processor, and the
  1388. loader that accesses the boot image file used by the
  1389. Remoteboot service if it boots MS-DOS workstations.
  1390. This file is either relative to \RPL, or an absolute
  1391. pathname. The default is DOSBB.CNF.
  1392. /MAXTHREADS:number Is the maximum number of workstations that the
  1393. server is able to boot simultaneously. The range
  1394. is 0 to the maximum number of threads the system
  1395. allows (as set in the THREADS entry in CONFIG.SYS);
  1396. the default is 10.
  1397. /RPLDIR:pathname Is the path of the RPL directory, usually
  1398. REPL\EXPORT\RPL if the server is replicating
  1399. the RPL directory, or RPL otherwise.
  1400. /RPLn:filename,filename,filename[,adapter]
  1401. Specifies the dynamic link library files used to
  1402. support various network adapter cards. As many as
  1403. 12 network adapter cards are supported. The value for
  1404. this option is three filenames, ending in .DLL, and
  1405. an optional adapter number. You can also use
  1406. quoatation marks around the entire switch, and
  1407. separate the filename entries with spaces. If the
  1408. adapter number is not given, a default value of 0
  1409. (corresponding to the first network device driver
  1410. installed in config.sys) is used.
  1411. .3 REPLICATOR
  1412. :3 [/REPLICATE:{EXPORT | IMPORT | BOTH}]
  1413. [/EXPORTPATH:pathname] [/EXPORTLIST:list]
  1414. [/IMPORTPATH:pathname] [/IMPORTLIST:list]
  1415. [/INTERVAL:time]
  1416. [/PULSE:number]
  1417. [/RANDOM:seconds]
  1418. [/GUARDTIME:time]
  1419. [/TRYUSER:{YES | NO}]
  1420. [/LOGON:username]
  1421. [/PASSWORD:{password | *}]
  1422. #3 NET START REPLICATOR starts the LAN Manager Replicator service, which ensures
  1423. that designated files are exactly the same on all specified computers. When
  1424. used without options, it starts the service using the values specified in
  1425. the LANMAN.INI file's [replicator] section. An option typed from the command
  1426. line overrides the value in the LANMAN.INI file until the service is stopped.
  1427. To get Help one screen at a time, type NET HELP command | MORE.
  1428. $3
  1429. /EXPORTLIST:list Is as many as 32 computers or domains that
  1430. receive notices when the export directory is
  1431. updated. These computers subsequently replicate
  1432. from the export server. Without a list, the export
  1433. server sends a notice to all computers in its domain.
  1434. Separate names with semicolons. This option is ignored
  1435. if /REPLICATE is set to IMPORT.
  1436. /EXPORTPATH:pathname Sets the path to the export directory. The export
  1437. path can be an absolute path or relative to the LANMAN
  1438. directory. All files to be replicated must be in
  1439. a subdirectory of this directory. The default path is
  1440. REPL\EXPORT. This option is ignored if /REPLICATE is
  1441. set to IMPORT.
  1442. /GUARDTIME:time Is the number of minutes an export directory must be
  1443. stable (no changes to any files) before import
  1444. computers can replicate its files. The range is from
  1445. 0 to half the value of /INTERVAL; the default is
  1446. 2 minutes.
  1447. /IMPORTLIST:list Is as many as 32 servers or domains that export
  1448. directories to the import computer. If no list is
  1449. specified, updates come from the computer's primary
  1450. domain. Separate names with semicolons. This entry
  1451. is ignored at export servers.
  1452. /IMPORTPATH:pathname Sets the path on the import computer to receive
  1453. replicas from the export servers. The import path
  1454. can be an absolute path, a path relative to the
  1455. LANMAN directory, or a network pathname. This option
  1456. is ignored if /REPLICATE is set to EXPORT. The
  1457. default is REPL\IMPORT.
  1458. /INTERVAL:time Is how often an export computer monitors changes
  1459. in each directory. This option is ignored on import
  1460. computers. The range is 1-60; the default is
  1461. 5 minutes.
  1462. /LOGON:username Is necessary if the import computer updates
  1463. files when no user is logged on to the network.
  1464. This option is ignored if /TRYUSER is set to YES.
  1465. /PASSWORD:{password | *}
  1466. Is the password to accompany the username at
  1467. replication to give the import computer access
  1468. to Replicator files. Type an asterisk (*)
  1469. instead of the password to be prompted for the
  1470. password. If a value isn't supplied for /PASSWORD,
  1471. no password is assumed.
  1472. /PULSE:number Is the time (/PULSE * /INTERVAL minutes) the export
  1473. server waits before sending repeat notices to the
  1474. import computers. The range is 0-10; the default is 3.
  1475. /RANDOM:seconds Sets the maximum number of seconds an import computer
  1476. can wait before requesting an update. An import
  1477. computer uses the export server's maximum value of
  1478. /RANDOM to generate a random number of seconds (from
  1479. 0 to /RANDOM). The range is 1-120; the default is
  1480. 60 seconds.
  1481. /REPLICATE:{EXPORT | IMPORT | BOTH}
  1482. Determines whether the server exports files and
  1483. directories, imports files and directories, or
  1484. both. EXPORT is the server that maintains a master
  1485. tree to be replicated. The Replicator service checks
  1486. these directories and files for changes and notifies
  1487. servers that import the files or directories. If
  1488. EXPORT is not used, the Replicator service does
  1489. not monitor the specified tree for changes.
  1490. IMPORT is the computer to receive update notices
  1491. from the export server. If /REPLICATE is specified
  1492. without options, IMPORT is assumed. BOTH specifies
  1493. that a server is to export and import directories
  1494. or files.
  1495. /TRYUSER:{YES | NO} Determines whether the Replicator service attempts
  1496. to update files to an import computer if a user is
  1497. logged on to the network. If the value is YES, the
  1498. username and password must be valid. If NO, the
  1499. Replicator service only updates when the user is
  1500. logged off, using the /LOGON and /PASSWORD options
  1501. to supply the logon information.
  1502. .3 PEER
  1503. :3 [options]
  1504. #3 NET START PEER starts the LAN Manager Peer service, which lets you
  1505. share directories, a printer queue, and a communication-device queue
  1506. with one other network user at a time. When used without options, it
  1507. starts the service using the values specified in the LANMAN.INI file's
  1508. [server] section. An option typed from the command line overrides the
  1509. value in the LANMAN.INI file until the service is stopped.
  1510. When the Peer service is running, your workstation functions as a server
  1511. with limited server capabilities.
  1512. NET START PEER uses the same options available for NET START SERVER, with
  1513. the following exceptions:
  1514. /AUTODISCONNECT Is set to -1 (never disconnect) in the software
  1515. and cannot be changed.
  1516. /SRVHIDDEN Is set to YES as the default, but can be changed
  1517. to NO after installation.
  1518. /SRVSERVICES At installation you can use the Setup program to
  1519. include Alerter, Messenger, Netpopup, Netrun,
  1520. Replicator, and UPS services.
  1521. For a complete list of options available for the Peer service, see
  1522. NET START SERVER.
  1523. To get Help one screen at a time, type NET HELP command | MORE.
  1524. $3
  1525. NET START PEER uses the same options available for NET START SERVER, with
  1526. the following exceptions:
  1527. /AUTODISCONNECT:time Is set to -1 in the software and cannot be
  1528. changed.
  1529. /SRVHIDDEN:{YES | NO} Is set to YES as the default, but can be
  1530. changed to NO after installation.
  1531. /SRVSERVICES:service [...] At installation you can use the Setup program to
  1532. include Alerter, Messenger, Netpopup, Netrun,
  1533. Replicator, and UPS services.
  1534. For a complete list of options available for the Peer service see
  1535. NET START SERVER.
  1536. .3 SERVER
  1537. :3
  1538. with the following options:
  1539. [/ACCESSALERT:n] [/MAXSESSREQS:n]
  1540. [/ALERTNAMES:name[,...]] [/MAXSESSVCS:n]
  1541. [/ALERTSCHED:time] [/MAXSHARES:n]
  1542. [/AUDITING:{YES | NO | event[,...]}] [/MAXUSERS:n]
  1543. [/AUTODISCONNECT:time] [/NETIOALERT:n]
  1544. [/AUTOPATH:pathname] [/NOAUDITING:event[,...]]
  1545. [/AUTOPROFILE:value] [/NUMADMIN:n]
  1546. [/DISKALERT:n] [/NUMBIGBUF:n]
  1547. [/ERRORALERT:n] [/NUMFILETASKS:n]
  1548. [/GUESTACCT:name] [/NUMREQBUF:n]
  1549. [/LOGONALERT:n] [/SECURITY:{USER | SHARE}]
  1550. [/MAXAUDITLOG:n] [/SIZREQBUF:n]
  1551. [/MAXCHDEVJOB:n] [/SRVANNDELTA:n]
  1552. [/MAXCHDEVQ:n] [/SRVANNOUNCE:n]
  1553. [/MAXCHDEVS:n] [/SRVCOMMENT:"text"]
  1554. [/MAXCONNECTIONS:n] [/SRVHEURISTICS:numbers]
  1555. [/MAXLOCKS:n] [/SRVHIDDEN:{YES | NO}]
  1556. [/MAXOPENS:n] [/SRVNETS:name[,...]]
  1557. [/MAXSEARCHES:n] [/SRVSERVICES:service [...]]
  1558. [/MAXSESSOPENS:n] [/USERPATH:pathname]
  1559. #3 NET START SERVER starts the LAN Manager Server service, which controls
  1560. access to resources. When used without options, NET START SERVER starts
  1561. the service using the values specified in the LANMAN.INI file's [server]
  1562. section. An option typed from the command line overrides the value in the
  1563. LANMAN.INI file until the service is stopped.
  1564. NET START SERVER also accepts NET START WORKSTATION options.
  1565. To get Help one screen at a time, type NET HELP command | MORE.
  1566. $3
  1567. /ACCESSALERT:n Is the number of permission violations that
  1568. can occur within an /ALERTSCHED interval
  1569. before sending an alert message to users in
  1570. the /ALERTNAMES list. The range is 0-65535;
  1571. the default is 5 permission violations.
  1572. /ALERTNAMES:name[,...] Is the user(s) to receive alert messages.
  1573. /ALERTSCHED:time Is the number of minutes between checks
  1574. for alert conditions. The range is 0-65535;
  1575. the default is 5 minutes.
  1576. /AUDITING:{YES | NO | event[,...]}
  1577. Turns auditing on or off, or determines
  1578. auditing for specified events. Audit events
  1579. are LOGON, GOODSESSLOGON, BADSESSLOGON,
  1580. SESSLOGON, NETLOGON, GOODNETLOGON,
  1581. LOGONLIMIT, USE, GOODUSE, BADUSE,
  1582. RESOURCE, USERLIST, PERMISSIONS, and
  1583. SERVICE. The default is NO.
  1584. /AUTODISCONNECT:time Is the number of minutes a workstation's
  1585. session with the server can be idle before
  1586. the session is disconnected. This option is
  1587. available only to a server with an Unlimited
  1588. User Pak. You can enter a value of -1 to
  1589. never disconnect a workstation. The range is
  1590. -1-65535; the default is -1. For a workstation
  1591. using the Peer service, /AUTODISCONNECT must
  1592. be set to -1.
  1593. /AUTOPATH:path Is the location and filename for the server's
  1594. profile. The pathname can be absolute or a
  1595. network pathname. The filename is relative to
  1596. the LAN Manager LANMAN\PROFILES directory.
  1597. The default filename is SRVAUTO.PRO.
  1598. /AUTOPROFILE:value Determines how to save and/or load a
  1599. server profile when the server is stopped
  1600. or started. The values are LOAD, SAVE, BOTH,
  1601. and NONE. The LOAD value loads the profile when
  1602. the service starts; SAVE saves a profile before
  1603. the service stops. When the option is set to
  1604. BOTH, /AUTOPROFILE automates both loading and
  1605. saving; NONE prevents both operations. The
  1606. default is LOAD.
  1607. /DISKALERT:n Is the minimum number of free kilobytes
  1608. that must be on the disk. The range is
  1609. 0-65535; the default is 300 kilobytes.
  1610. /ERRORALERT:n Is the number of network errors that can
  1611. occur within an /ALERTSCHED before triggering
  1612. an alert message. The range is 0-65535; the
  1613. default is 5 errors.
  1614. /GUESTACCT:name Names the server's guest account. Name
  1615. can be either a username or groupname.
  1616. The default name is "guest".
  1617. /LOGONALERT:n Is the number of consecutive logon
  1618. violations that trigger an alert message.
  1619. The range is 0-65535; the default is 5
  1620. violations.
  1621. /MAXAUDITLOG:n Is the maximum number of kilobytes for the
  1622. audit trail. The range is 0-65535; the default
  1623. is 100 kilobytes.
  1624. /MAXCHDEVJOB:n Is the maximum number of requests that
  1625. can be queued to the server's communication-
  1626. device queues. The range is 0-65535; the
  1627. default is 6 requests.
  1628. /MAXCHDEVQ:n Is the maximum number of communication-
  1629. device queues the server can have. The range
  1630. is 0-65535; the default is 2 queues.
  1631. /MAXCHDEVS:n Is the maximum number of communication
  1632. devices that can be shared on the server.
  1633. The range is 0-16; the default is 2
  1634. communication devices.
  1635. /MAXCONNECTIONS:n Is the maximum number of simultaneous
  1636. connections to shared resources on the
  1637. server. The range is /MAXUSERS to 2000;
  1638. the default is 128 connections.
  1639. /MAXLOCKS:n Is the maximum number of file locks the server
  1640. can accommodate at one time. The range is
  1641. 1-8000; the default is 64 file locks.
  1642. /MAXOPENS:n Is the maximum number of shared files and
  1643. devices that can be open simultaneously. The
  1644. range is 1-8000; the default is 64 files
  1645. or devices.
  1646. /MAXSEARCHES:n Is the maximum number of file searches the
  1647. server can perform at one time. The range
  1648. is 0-1927; the default is 50 file searches.
  1649. /MAXSESSOPENS:n Is the maximum number of open files one session
  1650. can have. The range is 1 to /MAXOPENS; the
  1651. default is 50 open files.
  1652. /MAXSESSREQS:n Is the maximum number of resource
  1653. requests one workstation can submit to the
  1654. server. The range is 1-65535; the default
  1655. is 50 resource requests.
  1656. /MAXSESSVCS:n Is the maximum number of sessions one
  1657. workstation can have to the server. The
  1658. value must be 1.
  1659. /MAXSHARES:n Is the maximum number of resources that
  1660. can be shared simultaneously. The range
  1661. is 2-500; the default is 16 resources.
  1662. /MAXUSERS:n Is the maximum number of users who can use
  1663. the server simultaneously. The value of
  1664. /MAXUSERS should include the number allowed by
  1665. your User Pak(s) plus the number of users
  1666. accessing the server through IPC connections.
  1667. The range is 1-1000; the default is 32 users.
  1668. /NETIOALERT:n Is the number of network input/output errors
  1669. that trigger an alert. The range is 0-65535;
  1670. the default is 5 errors.
  1671. /NOAUDITING:event[,...] Cancels auditing for the named event(s) when
  1672. /AUDITING is set to YES. Events that can be
  1673. changed are LOGON, LOGONLIMIT, GOODSESSLOGON,
  1674. BADSESSLOGON, SESSLOGON, NETLOGON,
  1675. GOODNETLOGON, USE, GOODUSE, BADUSE, RESOURCE,
  1676. USERLIST, PERMISSIONS, and SERVICE. If
  1677. /AUDITING:NO is set, the value of /NOAUDITING
  1678. is ignored.
  1679. /NUMADMIN:n Is the maximum number of people who can
  1680. perform administrative tasks simultaneously
  1681. on the server. The range is 0-65535; the
  1682. default is 2 users. The value for /NUMADMIN is
  1683. overridden by the maximum number of users
  1684. specified for ADMIN$.
  1685. /NUMBIGBUF:n Is the number of big buffers the server
  1686. uses. The range is 0-80; the default is
  1687. 3 big buffers. The Setup program adjusts
  1688. this value based on /MAXUSERS.
  1689. /NUMFILETASKS:n Is the number of file-worker threads the
  1690. server users. The range is 1-8; the default
  1691. is 1 thread.
  1692. /NUMREQBUF:n Is the maximum number of buffers (in
  1693. addition to the big buffers) the server
  1694. can have. The range is 5-300; the default
  1695. is 15 buffers. The Setup program adjusts
  1696. this value based on /MAXUSERS.
  1697. /SECURITY:{USER | SHARE} Is user-level or share-level security. The
  1698. default is USER. To permanently change the
  1699. value of /SECURITY, use the Setup program.
  1700. /SIZREQBUF:n Is the maximum number of bytes for server
  1701. buffers other than big buffers. The range
  1702. is 1024-32768; the default is 4096 bytes.
  1703. /SRVANNDELTA:n Is the number of milliseconds to add to or
  1704. subtract from the announce rate to help
  1705. balance data traffic on the network. The
  1706. range is 0-65535; the default is 3000
  1707. milliseconds.
  1708. /SRVANNOUNCE:n Is the number of seconds between announcements
  1709. (if the server is not hidden). The range is
  1710. 0-65535; the default is 60 seconds.
  1711. /SRVCOMMENT:"text" Is a descriptive comment about the server.
  1712. The comment can have as many as 48 characters.
  1713. Enclose the text in quotation marks.
  1714. /SRVHEURISTICS:numbers Is a set of digits that adjust the performance
  1715. of the server.
  1716. /SRVHIDDEN:{YES | NO} When set to YES, omits the servername from
  1717. lists of servers. When set to NO (the default),
  1718. restores a hidden server name to lists of
  1719. servers on the network. The default value for
  1720. a workstation running the Peer service is YES.
  1721. /SRVNETS:name[,...] Lists the name(s) of networks on which the
  1722. server is working.
  1723. /SRVSERVICES:service [...] Names the services to start when the
  1724. Server service starts.
  1725. /USERPATH:pathname Specifies the path and directory containing
  1726. the user directories. A pathname can be
  1727. absolute, a network path, or relative to
  1728. the LANMAN directory. The default is
  1729. LANMAN\ACCOUNTS\USERDIRS.
  1730. .3 TIMESOURCE
  1731. :3
  1732. #3 NET START TIMESOURCE starts the LAN Manager Timesource service, which
  1733. designates a server as the time source for the domain.
  1734. To get Help one screen at a time, type NET HELP command | MORE.
  1735. $3
  1736. There are no options for this command.
  1737. .3 UPS
  1738. :3 [/BATTERYTIME:seconds]
  1739. [/CMDFILE:pathname]
  1740. [/MESSDELAY:seconds]
  1741. [/MESSTIME:seconds]
  1742. [/RECHARGE:minutes]
  1743. [/SIGNALS:###]
  1744. [/VOLTLEVELS:###]
  1745. #3 NET START UPS starts the LAN Manager UPS (uninterruptible power supply)
  1746. service, which is used with a battery to protect a server from data loss
  1747. during a power failure. When used without options, NET START UPS starts
  1748. the service using the default values specified in the LANMAN.INI file's
  1749. [ups] section. An option typed from the command line overrides the value
  1750. in the LANMAN.INI file until the service is stopped.
  1751. During a power failure, the UPS service provides for an orderly shutdown
  1752. of a server. The UPS service pauses the Server service and waits for an
  1753. interval of time. If the main power is not restored, users are instructed
  1754. to disconnect from the server (if they have power). Then the UPS service
  1755. stops all LAN Manager services and writes all data in cache memory to
  1756. permanent storage.
  1757. This command only works on servers.
  1758. To get Help one screen at a time, type NET HELP command | MORE.
  1759. $3
  1760. /BATTERYTIME:seconds Is the number of seconds the server can run on a
  1761. battery before the UPS service initiates shutdown. This
  1762. entry is relevant only if the low battery signal is
  1763. unavailable. The range is 0-28800; the default is
  1764. 60 seconds.
  1765. /CMDFILE:pathname Is the pathname for the .CMD file to be run before the
  1766. network services are shut down. The pathname can be
  1767. absolute or relative to the LANMAN directory. There
  1768. is no default, implying no .CMD file should be run.
  1769. /MESSDELAY:seconds Is the number of seconds between initial power
  1770. failure and the first message sent to the user. No
  1771. messages are sent if power is restored within this
  1772. amount of time. The range is 0-120; the default is
  1773. 5 seconds.
  1774. /MESSTIME:seconds Is the number of seconds between messages sent to
  1775. users notifying them of a continued power failure.
  1776. The range is 30-300; the default is 120 seconds.
  1777. /RECHARGE:minutes Is the number of minutes of recharge time required
  1778. for each minute of battery runtime. This entry is
  1779. optional depending on the battery specification.
  1780. The range is 5-250; the default is 100 minutes.
  1781. /SIGNALS:### Specifies the signals available from the battery.
  1782. This is a 3-digit value:
  1783. � The first digit is 1 (the default) if the battery
  1784. can signal the UPS service upon power failure, or
  1785. 0 if it cannot.
  1786. � The second digit is 0 (the default) if the battery
  1787. does not signal the UPS service about low power,
  1788. and 1 if it signals when a specified amount, such
  1789. as 2 minutes worth, of power remains.
  1790. � The third digit is 1 if the battery accepts a
  1791. shutdown signal from the UPS service, and 0
  1792. (the default) if it does not. If the third digit
  1793. is 1, the UPS service does an orderly shutdown of
  1794. the LAN Manager software, and then the battery
  1795. stops providing backup power to the computer. When
  1796. the battery detects power restoration, it restarts
  1797. the computer.
  1798. /VOLTLEVELS:### Specifies the voltage levels for the signals listed
  1799. in the /SIGNALS entry. This is a 3-digit value:
  1800. � The first digit is 0 if the battery uses a negative
  1801. voltage to signal the UPS service of a power
  1802. failure, and 1 (the default) if it uses a positive
  1803. voltage.
  1804. � The second digit is 0 (the default) if the battery
  1805. uses a negative voltage to signal the UPS service
  1806. that it has less than 2 minutes of power remaining,
  1807. and 1 if it uses a positive voltage.
  1808. � The third digit is 0 (the default) if the battery
  1809. recognizes a negative voltage as the shutoff
  1810. signal, or 1 if it recognizes a positive voltage
  1811. as the shutoff signal.
  1812. Note that the /BATTERYTIME, /RECHARGE, /SIGNALS, and /VOLTLEVELS options
  1813. should be configured based on the power supply specification.
  1814. .3 WORKSTATION
  1815. :3
  1816. with the following options:
  1817. [/CHARCOUNT:bytes] [/NUMDGRAMBUF:n]
  1818. [/CHARTIME:msec] [/NUMSERVICES:n]
  1819. [/CHARWAIT:sec] [/NUMWORKBUF:n]
  1820. [/COMPUTERNAME:name] [/OTHDOMAINS:name[,...]]
  1821. [/DOMAIN:name] [/PRINTBUFTIME:sec]
  1822. [/KEEPCONN:sec] [/SESSTIMEOUT:sec]
  1823. [/KEEPSEARCH:sec] [/SIZCHARBUF:bytes]
  1824. [/MAILSLOTS:{YES | NO}] [/SIZERROR:bytes]
  1825. [/MAXERRORLOG:kbytes] [/SIZWORKBUF:bytes]
  1826. [/MAXWRKCACHE:kbytes] [/WRKHEURISTICS:numbers]
  1827. [/NUMALERTS:n] [/WRKNETS:name[,...]]
  1828. [/NUMCHARBUF:n] [/WRKSERVICES:service[,...]]
  1829. #3 NET START WORKSTATION starts the LAN Manager Workstation service, which
  1830. enables your computer to use shared resources on the network. When used
  1831. without options, NET START WORKSTATION starts the service using the values
  1832. specified in the LANMAN.INI file's [workstation] section. An option typed
  1833. from the command line overrides the value in the LANMAN.INI file until the
  1834. service is stopped.
  1835. To get Help one screen at a time, type NET HELP command | MORE.
  1836. $3
  1837. /CHARCOUNT:bytes Is the amount of data in bytes that LAN Manager
  1838. collects before sending it to a communication
  1839. device. If /CHARTIME is also set, LAN Manager
  1840. acts on whichever option is satisfied first. The
  1841. range is 0-65535; the default is 16 bytes.
  1842. /CHARTIME:msec Is the number of milliseconds LAN Manager
  1843. collects data before sending it to a
  1844. communication device. If /CHARCOUNT is also
  1845. set, LAN Manager acts on whichever option is
  1846. satisfied first. The range is 0-65535000; the
  1847. default is 250 milliseconds.
  1848. /CHARWAIT:sec Is the number of seconds LAN Manager waits for
  1849. a communication device to become available.
  1850. The range is 0-65535; the default is 3600
  1851. seconds.
  1852. /COMPUTERNAME:name Is the workstation's name. The Workstation
  1853. service won't start if the computername matches
  1854. any other computername or domain name on the
  1855. network, the username of any user currently
  1856. logged on to the network, or any message alias
  1857. currently in use on the network. The name can
  1858. have as many as 15 characters.
  1859. /DOMAIN:name Is the name of the workstation domain. The name
  1860. can have 1-15 characters.
  1861. /KEEPCONN:sec Is the number of seconds LAN Manager maintains
  1862. a connection you're not using. Inactive sessions
  1863. are ended after this interval. The range is
  1864. 1-65535; the default is 600 seconds.
  1865. /KEEPSEARCH:sec Is the number of seconds LAN Manager
  1866. maintains a directory search request. Directory
  1867. search requests are discarded after this
  1868. interval is reached. The range is 1-65535;
  1869. the default is 600 seconds.
  1870. /MAILSLOTS:{YES | NO} Determines whether the workstation can receive
  1871. second-class mailslots. If the value is NO, a
  1872. user at the workstation can't use the NET VIEW
  1873. command. If the value is NO on a server,
  1874. the server can't run the Replicator or Netlogon
  1875. services. The default is YES.
  1876. /MAXERRORLOG:kbytes Is the size in kilobytes of the error log.
  1877. The range is 2 to the total disk size; the
  1878. default is 100 kilobytes.
  1879. /MAXWRKCACHE:kbytes Is the number of kilobytes set aside for large
  1880. transfers of data. The range is 0-640; the
  1881. default is 64 kilobytes.
  1882. /NUMALERTS:n Is the number of program tasks that can wait
  1883. for an alert condition. The range is 3-200;
  1884. the default is 12 tasks.
  1885. /NUMCHARBUF:n Is the number of character device and pipe
  1886. buffers the workstation uses. The range is
  1887. 0-15; the default is 10 buffers.
  1888. /NUMDGRAMBUF:n Is the number of buffers available for
  1889. receiving information (datagrams). The value you
  1890. set for /NUMDGRAMBUF is the number of buffers
  1891. available for each network listed in the /WRKNETS
  1892. entry. The range is 8-112; the default is
  1893. 14 buffers.
  1894. /NUMSERVICES:n Is the maximum number of LAN Manager services
  1895. that can run simultaneously. The range is 4-256;
  1896. the default is 8 services.
  1897. /NUMWORKBUF:n Is the number of buffers the workstation uses.
  1898. The range is 3-50; the default is 15 buffers.
  1899. /OTHDOMAINS:name[,...] Lists as many as four other domains in which
  1900. the workstation can view servers and receive
  1901. messages.
  1902. /PRINTBUFTIME:sec Is the number of seconds the PRN: print device is
  1903. kept open (for compatibility-mode print
  1904. requests). Most applications that use MS OS/2
  1905. compatibility mode do not explicitly close the
  1906. PRN: print device to tell MS OS/2 to send the
  1907. contents of the print buffer to the printer
  1908. queue. The range is 0-65535; the default is
  1909. 90 seconds.
  1910. /SESSTIMEOUT:sec Is the number of seconds LAN Manager
  1911. maintains a connection to a server that isn't
  1912. responding. The range is 10-65535; the default
  1913. is 45 seconds.
  1914. /SIZCHARBUF:bytes Is the size in bytes of each character device and
  1915. named pipe buffer. The range is 64-4096; the
  1916. default is 512 bytes.
  1917. /SIZERROR:bytes Is the size in bytes of the workstation's
  1918. internal error buffer. The range is 256-4096;
  1919. the default is 1024 bytes.
  1920. /SIZWORKBUF:bytes Is the size in bytes of each workstation buffer.
  1921. The range is 1024-16384; the default is
  1922. 4096 bytes.
  1923. /WRKHEURISTICS:numbers Is a set of digits that adjust the performance
  1924. of the workstation.
  1925. /WRKNETS:name[,...] Specifies the network(s) in which the workstation
  1926. participates. This name(s) is listed in the
  1927. [networks] section of LANMAN.INI.
  1928. /WRKSERVICES:service[,...] Lists the LAN Manager service(s) that starts
  1929. automatically when the Workstation service
  1930. starts.
  1931. :2 [service [options]]
  1932. #2 NET START starts the following LAN Manager services:
  1933. � Alerter � Remoteboot
  1934. � Messenger � Replicator
  1935. � Netlogon � Server
  1936. � Netpopup � Timesource
  1937. � Netrun � UPS
  1938. � Peer � Workstation
  1939. When you start a service and specify options, the options override
  1940. corresponding entries in LANMAN.INI until the service is stopped.
  1941. When used without options, NET START lists running services. If none
  1942. are started, LAN Manager offers to start the Workstation service.
  1943. To get more help about starting a service, type NET HELP START service.
  1944. To get Help one screen at a time, type NET HELP command | MORE.
  1945. $2
  1946. options Are specific to the service. To get help with a service's options,
  1947. type NET HELP START service /options. An option typed from the
  1948. command line overrides the value in the LANMAN.INI file until the
  1949. service is stopped.
  1950. service Is one of the following services:
  1951. � Alerter � Remoteboot
  1952. � Messenger � Replicator
  1953. � Netlogon � Server
  1954. � Netpopup � Timesource
  1955. � Netrun � UPS
  1956. � Peer � Workstation
  1957. .2 STATISTICS
  1958. :2
  1959. For a workstation:
  1960. NET STATISTICS [WORKSTATION | PEER] [/CLEAR]
  1961. For a server:
  1962. NET STATISTICS [WORKSTATION | PEER | SERVER] [/CLEAR]
  1963. #2 NET STATISTICS clears a list of statistics about workstation or server
  1964. functions on a computer. When used without options, it displays a list
  1965. of services for which statistics are available.
  1966. To get Help one screen at a time, type NET HELP command | MORE.
  1967. $2
  1968. PEER Displays statistics for a workstation running the Peer
  1969. service.
  1970. SERVER Displays server statistics.
  1971. WORKSTATION Displays workstation statistics.
  1972. /CLEAR Clears the statistics log.
  1973. .2 STATUS
  1974. :2
  1975. #2 NET STATUS displays configuration settings and shared resources for the
  1976. local server.
  1977. This command only works on servers.
  1978. To get Help one screen at a time, type NET HELP command | MORE.
  1979. $2
  1980. There are no options for this command.
  1981. .2 STOP
  1982. :2 service
  1983. #2 NET STOP stops one of the following LAN Manager services:
  1984. � Alerter � Remoteboot
  1985. � Messenger � Replicator
  1986. � Netlogon � Server
  1987. � Netpopup � Timesource
  1988. � Netrun � UPS
  1989. � Peer � Workstation
  1990. Stopping a service cancels any network connections the service is
  1991. using. Also, some services are dependent on others. Stopping one
  1992. service can stop others.
  1993. You must have administrative privilege to stop the Server service.
  1994. To get Help one screen at a time, type NET HELP command | MORE.
  1995. $2
  1996. service Is one of the following services:
  1997. � Alerter � Remoteboot
  1998. � Messenger � Replicator
  1999. � Netlogon � Server
  2000. � Netpopup � Timesource
  2001. � Netrun � UPS
  2002. � Peer � Workstation
  2003. .2 TIME
  2004. :2 [\\computername | /DOMAIN[:name]] [/SET]
  2005. #2 NET TIME synchronizes the workstation's clock with that of a server or
  2006. domain, or displays the time for a server or domain. When used without
  2007. options, it displays the current date and time at the server designated
  2008. as the time server for the domain.
  2009. To get Help one screen at a time, type NET HELP command | MORE.
  2010. $2
  2011. \\computername Is the name of the server whose time you want to view or
  2012. synchronize with.
  2013. /DOMAIN[:name] Is the server that controls domain activity in your
  2014. workstation domain. Use name to specify a different
  2015. domain.
  2016. /SET Synchronizes the workstation's clock with that of the
  2017. specified server or domain.
  2018. .2 USE
  2019. :2 [devicename] [\\computername\sharename [password | *]]
  2020. printdevicename [\\computername\sharename [password | *] /COMM]
  2021. {devicename | \\computername\sharename} /DELETE
  2022. #2 NET USE connects a workstation to a shared resource or disconnects a
  2023. workstation from a shared resource. When used without options, it lists
  2024. the workstation's connections.
  2025. To get Help one screen at a time, type NET HELP command | MORE.
  2026. $2
  2027. \\computername Is the name of the server sharing the resource.
  2028. devicename Assigns a name to connect to the resource or specifies
  2029. the device to be disconnected. There are devicenames for
  2030. disk drives (D:-Z:), printers (LPT1:-LPT9:), and
  2031. communication devices (COM1:-COM9:).
  2032. password | * Is the password needed to use the shared resource. An
  2033. asterisk (*) produces a prompt for the password. The
  2034. password will not be displayed when you type it.
  2035. printdevicename Is the name of a printer device (LPT1: through LPT9:).
  2036. \sharename Is the name of the shared resource.
  2037. /COMM Specifies that an LPT devicename is to be connected to a
  2038. communication-device queue that is unspooled.
  2039. /DELETE Cancels a network connection.
  2040. .2 USER
  2041. :2 [username [password | *] [options]]
  2042. username {password | *} /ADD [options]
  2043. username [/DELETE]
  2044. #2 NET USER creates and modifies user accounts on servers with user-level
  2045. security. When used without options, it lists the user accounts for the
  2046. server. The user account information is stored in an accounts database
  2047. (LANMAN\ACCOUNTS\NET.ACC).
  2048. This command only works on servers.
  2049. To get Help one screen at a time, type NET HELP command | MORE.
  2050. $2
  2051. password | * Assigns or changes a password (which can have as many as 14
  2052. characters) for the user's account. The user can later
  2053. choose a different password. A password must satisfy any
  2054. minimum length set with the /MINPWLEN option of NET ACCOUNTS.
  2055. An asterisk (*) produces a prompt for the password. The
  2056. password will not be displayed when you type it.
  2057. username Is the name of the account (which can have as many as 20
  2058. characters) to be added, deleted, or modified. To see
  2059. information about a user's account, type NET USER username.
  2060. /ADD Adds a user account to the user accounts database.
  2061. /DELETE Removes a user account from the user accounts database.
  2062. options Are as follows:
  2063. Option Description
  2064. ������������������ ������������������������������������������
  2065. /ACTIVE:{YES | NO} Activates or deactivates the account. If
  2066. the account is not active, the user cannot
  2067. access the server. The default is YES.
  2068. /COMMENT:"text" Provides a descriptive comment about the
  2069. user's account (maximum of 48 characters).
  2070. Enclose the text in quotation marks.
  2071. /COUNTRYCODE:nnn Uses the operating system country code to
  2072. implement the specified language files for a
  2073. user's help and error messages. A value of
  2074. 0 signifies the default country code.
  2075. /EXPIRES:{date | NEVER} Causes the account to expire if date is
  2076. set. NEVER sets no time limit on the
  2077. account. An expiration date is in the
  2078. form mm,dd,yy or dd,mm,yy, depending on the
  2079. country code. Months can be a number,
  2080. spelled out, or abbreviated with three
  2081. letters. Year can be two or four numbers.
  2082. Use commas or slashes(/) (no spaces) to
  2083. separate parts of the date.
  2084. /FULLNAME:"name" Is a user's full name (rather than a
  2085. username). Enclose the name in quotation
  2086. marks.
  2087. /HOMEDIR:pathname Is the pathname of the user's home directory.
  2088. Before specifying a home directory, create
  2089. the directory on the server. The suggested
  2090. pathname is:
  2091. drive:\LANMAN\ACCOUNTS\USERDIRS\USERDIR.
  2092. The pathname can be an absolute path or a
  2093. network path.
  2094. /HOMEDIRREQ:{YES | NO} Specifies whether a home directory is
  2095. required. If so, use the /HOMEDIR option
  2096. to specify the directory.
  2097. /LOGONSERVER:{\\computername | \\*}
  2098. Specifies a particular server in the domain
  2099. to verify logon requests. The default value
  2100. (blank) is any domain controller unless the
  2101. account is the "admin" account created with the
  2102. Setup program. This account defaults to the
  2103. primary domain controller. Use \\computername
  2104. to specify the computername of a domain
  2105. controller. Use \\* to specify that any domain
  2106. controller can validate the user's logon
  2107. request.
  2108. /MAXSTORAGE:{number | UNLIMITED}
  2109. Sets the maximum amount of storage in
  2110. kilobytes for a user's home directory.
  2111. The default is UNLIMITED.
  2112. /OPERATOR:list[,...] Assigns limited administrative privileges.
  2113. Operator privileges enable a user to view and
  2114. change settings for various "admin-only"
  2115. resources. (A blank value withholds
  2116. operator privileges.) Separate entries in
  2117. the list with commas. The privileges are:
  2118. Privilege Allows you to
  2119. ��������� �������������������������������������������������
  2120. ACCOUNTS Add, delete, and modify user accounts, and update
  2121. logon requirements for the user accounts database,
  2122. but not grant administrative privilege or assign
  2123. operator privilege.
  2124. COMM Control shared communication-device queues.
  2125. PRINT Control shared printer queues.
  2126. SERVER Control shared resources on a server, read and clear
  2127. the error log, close sessions and files that are open.
  2128. /PASSWORDCHG:{YES | NO} Specifies whether users can change their
  2129. own password. The default is YES.
  2130. /PASSWORDREQ:{YES | NO} Specifies whether a user account must have
  2131. a password. The default is YES.
  2132. /PRIVILEGE:priv Assigns the user's privilege level. Privilege
  2133. levels are "guest," "user," or "admin."
  2134. They affect an account's default rights to
  2135. access resources. The default is "user."
  2136. /SCRIPTPATH[:pathname] Is the location of the user's logon
  2137. script. This pathname is relative to the
  2138. directory listed in the scripts entry in the
  2139. [netlogon] section of the LANMAN.INI file.
  2140. /TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
  2141. day[-day][,day[-day]],time[-time][,time
  2142. [-time]], limited to 1-hour increments.
  2143. Days can be spelled out or abbreviated.
  2144. Hours can be 12- or 24-hour notation. For
  2145. 12-hour notation, use am, pm, a.m., or
  2146. p.m. ALL means a user can always log on,
  2147. and a blank value means a user can never
  2148. log on. Separate day and time entries with
  2149. a comma, and separate multiple day and time
  2150. entries with a semicolon.
  2151. /USERCOMMENT:"text" Lets an administrator add or change the User
  2152. Comment for the account. Users can add or
  2153. change the User Comment with the LAN Manager
  2154. Screen.
  2155. /WORKSTATIONS:{computername[,...] | *}
  2156. Lists as many as eight workstations from
  2157. which a user can log on to the network. If
  2158. /WORKSTATION has no list or if the list is *,
  2159. the user can log on from any workstation.
  2160. .2 VIEW
  2161. :2 [\\computername]
  2162. #2 NET VIEW displays a list of resources being shared on a server. When used
  2163. without options, it displays a list of servers in your workstation domain,
  2164. logon domain, and other domains specified in the LANMAN.INI file.
  2165. To get Help one screen at a time, type NET HELP command | MORE.
  2166. $2
  2167. \\computername Is a server whose shared resources you want to view.
  2168. .2 WHO
  2169. :2 [/DOMAIN[:name] | \\computername | username]
  2170. #2 NET WHO lists usernames logged on to the network. When used without
  2171. options, it displays information about users in the logon domain.
  2172. You must be logged on to use NET WHO.
  2173. To get Help one screen at a time, type NET HELP command | MORE.
  2174. $2
  2175. \\computername Is the name of the server or workstation whose users you
  2176. want information about.
  2177. username Is the name of the user you want information about.
  2178. /DOMAIN[:name] Is the domain whose users you want information about.
  2179. The logon domain is used unless a domain name is specified.
  2180. :1
  2181. #1 /MONO
  2182. The keyword NET specifies LAN Manager commands. When used without options,
  2183. NET starts the LAN Manager Screen for users.
  2184. $1
  2185. /MONO May present a clearer display on a monochrome screen. Type the
  2186. command with and without /MONO and decide which display is best.
  2187. :0
  2188. #0
  2189. /*
  2190. This is how this file works. NET HELP looks for a match between the command
  2191. specified at run time and one of the entries in this file. For each entry
  2192. in this file there can be associated with it a subentry, which constitutes
  2193. an option for that command (or sub-command). HELP (NET HELP) first searches
  2194. for a match at level 1. If it finds a match at this level it continues
  2195. searching for a sub-level (if one was specified at run time). As HELP
  2196. finds matches it displays them , by doing so it builds the command
  2197. in it's proper syntax. If no sub commands were entered at run time HELP
  2198. stops and displays the help associated with that level.
  2199. SOME RULES:
  2200. Operators are the funny 2 character symbols that start every line -
  2201. they are the characters !, %, ., :, and # followed by a alphanumeric
  2202. character.
  2203. Every operator must start in column 1.
  2204. Every operator must be separated from the info that follows it by at
  2205. least one space.
  2206. The end of every line must contain a newline. (Trailing spaces will
  2207. causes matches to fail on ".X" entries.)
  2208. Every ".1" entry MUST have a corresponding "#1" entry.
  2209. This file consists of 4 sections. These sections are ...
  2210. COMMENTS are delimited by a "/*" at the beginning of a line (must
  2211. start in column 1) indicating the beginning of the comment section.
  2212. A "*/" at the beginning of a line marks the end of the comment sec-
  2213. tion. Only two comment section are allowed, one at the very be-
  2214. ginning of the file and one at the very end. It is recommended that
  2215. the comment section at the beginning of the file be kept very
  2216. small to minimize access time to "help data" by the help command.
  2217. ALIASES are defined by a "%A" beginning in column 1. Aliases allow
  2218. you to define another name for a given command. For example if
  2219. you wish to change the name of the "ALERTER" to "WATCHDOG"
  2220. you could do so by entering the line,
  2221. %A ALERTER: WATCHDOG
  2222. starting at column 1. If there are additional Aliases they should
  2223. be specified on the same line separated by commas. This tells the
  2224. help command that if someone types "net help watchdog" they really
  2225. mean "net help alerter." Trailing spaces are significant (for this
  2226. release) in alias names. Beware!
  2227. COMMANDS are additional commands that you want NET HELP to document.
  2228. They are defined by placing !C operator (yes starting in column
  2229. 1) followed by the command name on a separate line.
  2230. An example of this is the AT commands. This
  2231. is not really NET commands but you can get help on it through
  2232. NET by entering it with the COMMANDS section in this file. For
  2233. example if you want to get help on your PHONE command that you wrote
  2234. and the only help utility you have is the NET HELP utility. To
  2235. add phone to this utility you must place the following line in the
  2236. Commands section of this file,
  2237. !C PHONE
  2238. starting in column 1. Now all that remains is to add the PHONE
  2239. help data to the DATA section of this file. (See DATA below)
  2240. (YES, you can assign aliases to commands that you declare in this
  2241. section. But you must assign the aliases in the alias section
  2242. first.)
  2243. DATA is the actual text that gets printed when you request help.
  2244. The format for the data section is set up in a way such that
  2245. the NET HELP command picks up information about a command as it
  2246. reads through this file. The format of the data section is as
  2247. follows;
  2248. The Command Name (this is the proper name used to reference a
  2249. specific command - any other name used to access this command should
  2250. be entered in the alias list above) should be preceded by a
  2251. ".1". This defines that this Command Name would normally be the
  2252. first thing typed when entering the command. An example of a ".1"
  2253. Command Name would be NET. When HELP finds this entry, it knows
  2254. what follows pertains to the NET command. What follows this ".1"
  2255. entry can be one of 2 possible fields. The syntax operator ":1" or
  2256. a sub option operator ".2".
  2257. Another option of the NET command could follow. If, as it
  2258. does, the NET command has many options that can be specified, they
  2259. should be enumerated on separate lines. Each level of help for a
  2260. specific command constitutes a higher "dot number". I think an
  2261. example would make this clearer. Lets look at a help entry for the
  2262. NET START command. The NET START command has additional options.
  2263. NET START [SERVER WORKSTATION ALERTER ...etc]. In this example NET
  2264. is the ".1" entry, START is a ".2" entry and SERVER, WKSTA, and
  2265. ALERTER are all ".3" entries.
  2266. .1 NET
  2267. .2 START
  2268. .3 SERVER
  2269. .3 ALERTER
  2270. .3 WORKSTATION
  2271. In the example above I indented each level, this helps you
  2272. visualize what's going on and is legal to do as long as the
  2273. .X starts in column 1.
  2274. This is all fine and well but what about the help for NET
  2275. START SERVER. As stated before HELP allows two levels of
  2276. assistance , Syntax and Help. You may choose to have the help
  2277. be the same for all NET START options but obviously want
  2278. different syntax displayed for each option. In order to do
  2279. this you must place the help for any option (or sub-option)
  2280. in the file prior to the help for the actual command. Sticking
  2281. with our original example, lets assume that the SERVER and
  2282. the WORKSTATION have enough in common that they want to share
  2283. the same help message, but the alerter has some different
  2284. information. We can accomplish this by specifying syntax, but
  2285. no help for the SERVER and WORKSTATION options and specifying
  2286. both for the ALERTER.
  2287. .1 NET
  2288. .2 START
  2289. .3 SERVER
  2290. (Syntax) :3 /Security /Autodisconnect ...etc
  2291. .3 ALERTER
  2292. (Syntax) :3
  2293. (Help) #3 The alerter is the service that bla bla bla...etc
  2294. .3 WORKSTATION
  2295. (Syntax) :3 /Computername /Chartime ...etc
  2296. (Syntax) :2
  2297. (Help) #2 This is the help for NET START bla ... etc
  2298. In the example above you will note a couple of things.
  2299. First, I introduced two new operators ":" and "#". As indicated by
  2300. the parentheses the ":" operator defines syntax data and "#"
  2301. defines help data. Secondly, you may have noticed there were no
  2302. syntax entries for the NET START ALERTER or NET START. In the
  2303. case of NET START ALERTER, there may be no more syntax to be
  2304. specified, since HELP generates the syntax as it reads the entries.
  2305. In the case of NET START, leaving the syntax field blank, tells
  2306. HELP to generate an option lists for the START command from the
  2307. .3 entries found contained in the START section. If however,
  2308. syntax information would have been placed there, HELP would have
  2309. displayed the supplied information.
  2310. This behavior can be expanded to 8 levels of sub-options.
  2311. All level 1 (".1") entries must have a help ("#1") entry. The end
  2312. of the data section must be marked by the following lines,
  2313. :0
  2314. #0
  2315. beginning in column 1. There can be no more than 512 characters in
  2316. the option field including the spaces between the options and the
  2317. brackets. White space following the ".X" operators is ignored, white
  2318. space following the ":X" and "#X" operators is printed exactly as
  2319. entered. If data is entered on the next line following the syntax or
  2320. help operators it is printed as entered, except that the first three
  2321. columns are always ignored.
  2322. */
  2323.