提供 Windows NT 錯誤信息的幫助。 net helpmsg message# 參數(shù) message# 需要其幫助的 Windows NT 消息的四位代碼。
Net Localgroup
添加、顯示或更改本地組。 net localgroup [groupname [/comment:"text "]] [/domain] net localgroup groupname {/add [/comment:"text "] | /delete} [/domain] net localgroup groupname name [ ...] {/add | /delete} [/domain] 參數(shù) 無 鍵入不帶參數(shù)的 net localgroup 將顯示服務(wù)器名稱和計算機的本地組名稱。 groupname 要添加、擴充或刪除的本地組名稱。只提供 groupname 即可查看用戶列表或本地組中的全局 組。 /comment: "text " 為新建或現(xiàn)有組添加注釋。注釋文字的最大長度是 48 個字符,并用引號引住。 /domain 在當(dāng)前域的主域控制器中執(zhí)行操作,否則僅在本地計算機上執(zhí)行操作。 該參數(shù)僅應(yīng)用于 Windows NT Server 域中的 Windows NT Workstation 計算機。Windows N T Server 計算機默認(rèn)為在主域控制器中操作。 name [ ...] 列出要添加到本地組或從本地組中刪除的一個或多個用戶名或組名,多個用戶名或組名之間 以空格分隔。可以是本地用戶、其他域用戶或全局組,但不能是其他本地組。如果是其他域 的用戶,要在用戶名前加域名(例如,SALESRALPHR)。 /add 將全局組名或用戶名添加到本地組中。在使用該命令將用戶或全局組添加到本地組之前,必 須為其建立帳號。 /delete 從本地組中刪除組名或用戶名。
Net Name
添加或刪除消息名(有時也稱別名),或顯示計算機接收消息的名稱列表。要使用 net nam e 命令,計算機中必須運行信使服務(wù)。 net name [name [/add | /delete]] 參數(shù) 無 鍵入不帶參數(shù)的 net name 將列出當(dāng)前使用的名稱。 name 指定接收消息的名稱。名稱最多為 15 個字符。 /add 將名稱添加到計算機中。 /add 是可選項,鍵入 net name name 與鍵入 net name name /a dd 相同。 /delete 從計算機中刪除名稱。
Net Pause
暫停正在運行的服務(wù)。 net pause service 參數(shù) service 指下列服務(wù): file server for macintosh(僅限于 Windows NT Server)、ftp publishi ng service、lpdsvc、net logon、network dde、network dde dsdm、nt lm security sup port provider、remoteboot(僅限于 Windows NT Server)、remote access server、sch edule、server、simple tcp/ip services 或 workstation 。
列出或斷開本地計算機和與之連接的客戶端的會話。 net session [\computername] [/delete] 參數(shù) 無 鍵入不帶參數(shù)的 net session 可以顯示所有與本地計算機的會話的信息。 \computername 標(biāo)識要列出或斷開會話的計算機。 /delete 結(jié)束與 \computername 計算機會話并關(guān)閉本次會話期間計算機的所有打開文件。如果省略 \computername 參數(shù),將取消與本地計算機的所有會話。
Net Share
創(chuàng)建、刪除或顯示共享資源。 net share sharename net share sharename=drive:path [/users:number | /unlimited] [/remark:"text"] net share sharename [/users:number | unlimited] [/remark:"text"] net share {sharename | drive:path} /delete 參數(shù) 無 鍵入不帶參數(shù)的 net share 將顯示本地計算機上所有共享資源的信息。 sharename 是共享資源的網(wǎng)絡(luò)名稱。鍵入帶 sharename 的 net share 命令,只顯示該共享信息。 drive:path 指定共享目錄的絕對路徑。 /users:number 設(shè)置可同時訪問共享資源的最大用戶數(shù)。 /unlimited 不限制同時訪問共享資源的用戶數(shù)。 /remark:"text " 添加關(guān)于資源的注釋,注釋文字用引號引住。 /delete 停止共享資源。
Net Start
啟動服務(wù),或顯示已啟動服務(wù)的列表。如果服務(wù)名是兩個或兩個以上的詞,如 Net Logon 或 Computer Browser,則必須用引號 (") 引住。. net start [service] 參數(shù) 無 鍵入不帶參數(shù)的 net start 則顯示運行服務(wù)的列表。 service 包括下列服務(wù): alerter、client service for netware、clipbook server、computer br owser、dhcp client 、directory replicator 、eventlog 、ftp publishing service 、 lpdsvc、messenger 、net logon 、network dde 、network dde dsdm 、network monitor ing agent 、nt lm security support provider 、ole 、remote access connection man ager 、remote access isnsap service 、remote access server 、remote procedure ca ll (rpc) locator 、remote procedure call (rpc) service 、schedule 、server 、sim ple tcp/ip services 、snmp、spooler 、tcp/ip netbios helper 、ups 及 workstation 。 下列服務(wù)僅在 Windows NT Server 下可用:file server for macintosh、gateway servic e for netware、microsoft dhcp server、print server for macintosh、remoteboot、wi ndows internet name service 。
Net Statistics
顯示本地工作站或服務(wù)器服務(wù)的統(tǒng)計記錄。 net statistics [workstation | server] 參數(shù) 無 鍵入不帶參數(shù)的 net statistics 將列出其統(tǒng)計信息可用的運行服務(wù)。 workstation 顯示本地工作站服務(wù)的統(tǒng)計信息。 server 顯示本地服務(wù)器服務(wù)的統(tǒng)計信息。
Net Stop
停止 Windows NT 網(wǎng)絡(luò)服務(wù)。 net stop service 參數(shù) service 包括下列服務(wù): alerter(警報)、client service for netware(Netware 客戶端服務(wù)) 、clipbook server(剪貼簿服務(wù)器)、computer browser(計算機瀏覽器)、directory r eplicator(目錄復(fù)制器)、ftp publishing service (ftp )(ftp 發(fā)行服務(wù))、lpdsvc、 messenger(信使)、net logon(網(wǎng)絡(luò)登錄)、network dde(網(wǎng)絡(luò) dde)、network dde d sdm(網(wǎng)絡(luò) dde dsdm)、network monitor agent(網(wǎng)絡(luò)監(jiān)控代理)、nt lm security supp ort provider(NT LM 安全性支持提供)、ole(對象鏈接與嵌入)、remote access conne ction manager(遠(yuǎn)程訪問連接管理器)、remote access isnsap service(遠(yuǎn)程訪問 isns ap 服務(wù))、remote access server(遠(yuǎn)程訪問服務(wù)器)、remote procedure call (rpc) l ocator(遠(yuǎn)程過程調(diào)用定位器)、remote procedure call (rpc) service(遠(yuǎn)程過程調(diào)用服 務(wù))、schedule(調(diào)度)、server(服務(wù)器)、simple tcp/ip services(簡單 TCP/IP 服 務(wù))、snmp、spooler(后臺打印程序)、tcp/ip netbios helper(TCP/IP NETBIOS 輔助工 具)、ups 及 workstation(工作站)。 下列服務(wù)僅在 Windows NT Server 中可用: file server for macintosh、gateway servi ce for netware、microsoft dhcp server、print server for macintosh、remoteboot、w indows internet name service。