(1) NET VIEW
Work: Display domain list, computer list, or a list of shared resource for specified computers.
Command format: Net View [ComputerName │ / Domain [: domainname]
Parameter introduction:
<1> Type the NET View display / "Current Domain /" computer list.
<2> Computername Specifies the computer to view its shared resource.
<3> / domain [omainname] Specifies to view the domain of its available computer
Simple case
<1> Net View / Domain Displays all domain lists
<2> Net View / Domain: Love Displays all computer lists in any domain.
(NET View Displays all computer lists of the current domain.)
<3> NET View 4 View Size Online, Internet? Any a list of shared resources for any computer
====================
(2) NET USER
Work: Add or change user accounts or display user account information. This command can also be written as NET Users.
Command format:
View & Change Net User [UserName [Password │ *] [options]
Add Net User UserName {Password│ *} / add [options]
Remove Net User UserName / Delete
Parameter introduction:
<1> Type NET User without parameters to view a list of user accounts on your computer.
<2> UserName Add, Remove, Change, or View the User Account Name.
<3> Password assigns or change the password for the user account.
<4> * prompts to enter a password.
(<5> / Domain executes * in the main domain controller of the computer main domain.)
Simple case:
display
<1> Net User Displays all user lists
Net user name shows any user information
change
<2> Net User Name NewPassword Options Change User Information
Net user name * Options
increase
<3> Net User Name Password Options / Add increases users
Net user name * Options / Add
delete
<4> NET user name / delete deletes users
<5> How to change the username? (Not a full name)
Under the window, attribute
Ptions
Includes the following options:
/ ACTIVE: {NO │ YES_}
Enable or disable user accounts. If the user account is inactive, the user does not * access resources in the computer. The default is set to YES.
/ Comment: / "text /"
Provide a descriptive descriptive descriptive with a user account. This note can have up to 48 characters. Add quotes to text.
/ countrycode: nnn
Use the * Make System "Country" code to implement the specified language file for user help and error messages. Value 0 represents the default "Country" code.
/ express {date │ never}
If DATE is set, you will expire for the user account; do not set the time limit to the user account.
The expiration time can be MM / DD / YY, DD / MM / YY or MMM, DD, YY, depending on the "Country" code. Note that the account expires at the beginning of the specified date. The month can be a number, spelling or abbreviation of three letters. Years can be two or four digits. Use a comma and sever separation date (no spaces). If YY is omitted, it will assume the date of the next appearance (depending on the date and time of the computer). For example, if the date the date is between January 10, 1994 to January 8, 1995, the following DATE items, etc.
Jan, 9
1/9/95
January, 9,1995
1/9
example:
Jun, 25,2002
Fullname: / "name /"
Specifies the full name of the user instead of the username. The name is enclosed with quotation marks.
/ homedir: path
Set the path to the user home directory. This path must exist.
/ Passwordchg: {yes │ no}
Specifies whether the user can change your own password. The default is set to YES.
/ passwordReq: {yes │ no} ??? What is the use?
Specifies whether the user account must have a password. The default is set to YES.
? / profilepath: [PATH]
Set the path to the user login profile. This path points to the registry profile.
? / scriptpath: path
Set the path to the user login script. The PATH value cannot be an absolute path; Path is relative to% systemroot% // system32 // REPL // Import // scripts.
/ Time: {TIMES │ all}
Specifies the time to allow the user to use a computer.
The Times value is represented as day [-day], time [-time] [, time [-time], the increment is limited to 1 hour.
Date can be spelled or abbreviated (M, T, W, TH, F, SA, SU). 12 or 24 representations can be used in hours. For 12 hours of representation *, use AM, PM or A.m., P.m..
Numerical ALL means that users can always log in.
Null value (blank) means that users can never log in. Date and time with a comma, separated by a semicolon separation and time unit (for example, M, 4 AM-5PM; T, 1 PM-3PM). Do not use spaces when specifying time.
/ Time: Monday-Friday, 8 AM-5PM
/ TIME: M-F, 08: 00-17: 00 24
/ TIME: M-F, 8 AM-5PM 12 system
/ TIME: M, 4 AM-5PM; T, 1 PM-3PM; W-F, 8: 00-17: 00
---------
/ usercomment: / "text /"
Specify the "User Notes" of the administrator to add or change the account. Add quotes to text.
?! / Workstations: {computername [, ...] │ *}
Up to 8 users can log in to the network's workstation. Use a comma to divide multiple items in the list.
If the / WorkStations does not have a list (ie: null), or the list is *, the user can log in any computer.
---------------------
(3) NET USE
Role: Connect the computer or disconnect the computer and the shared resource connection, or display the connection information of your computer.
Command format: NET Use [DeviceName │ *] [ComputerName // ShareName [Password │ *]]]]
[/ user: username]
[/ delete] │ [/ persistent: {yes │ no}] NET USE {DeviceName │ *} [Password│ *] / Home Net USE / PERSISTENT: {YES │ no} Parameter: Type NET Use without parameters List the network connection. DeviceName Specifies the name of the resource to be connected or the device name to be disconnected. ComputerName // ShareName server and / "shared resource name /" instead of true pointing of its name. For example, c ¥ instead of C; name is space, / "super pc /" password access the password for shared resources. * Tip Type password. DomainName Specifies another domain. / HOME connects the user to the main directory / delete to cancel the specified network connection. If the user specifies the connection with an asterisk, all network connections will be canceled. / Persistent controls the use of persistent network connections. The default is the last set of settings. Non-devices will not last. (IPC Bar) YES Save all connections as it is established, and restore their NO when logging in to the established connection or subsequent connection. The existing connection is not restored when logging in next time. Use the / delete switch to delete a persistent connection. Simple case: <1> display: NET USE? NET USE E: <2> Establishing a clear:? Net USE 3 // Share, C ¥, d ¥, admin ¥ // ... (set Share is a normal network neighbor Share) NET USE E: 3 // Share, c ¥, d ¥, admin ¥ // ... (originally uncounted or established IPC ¥ Inconconnect) Pass:? Net USE E: 3 // Share Pass│ *? NET USE E: 3 // C ¥, d ¥, admin ¥ // ... password│ * / user: adminName IPC ¥: NET USE 3 // IPC ¥ / "/" / user: / "/" NET USE 3 (// ipc ¥ Pass / User: Admin Hang ¥ / user: adminName Directly prompt to enter a password, success, Jane: 1./1//ipc = User: name => Default is / user: administrator, so generally do not write. 3. Password must be written, form: password, *, / "/" three 4 / detete-> / D after the establishment and disconnection Is: NET USE IP Pass Net USE IP * / D / Y <3> Remove NET Use E: / D => Disconnect NET USE 3 // Share / D Net Use 3 Delete or Net USE 5 // IPC ¥ / D => Break IPC connection NET use * / d / y full 斩! <4> Permanent NET USE F: 3 // Share ... / persistent: YES / No To restore the current connection every time you log in, don't consider the future Change, please type: YES to ?? Net USE / PERSISTENT: YES / NO is not experienced ?? 5>? Home? Net Use h: / home / user: mariel =========== ===== (4) NET TIME Relief: Make the computer's clock synchronization with another computer or domain.
Command Format: Net Time [ComputerName] [/ set] Parameter introduction: <1> ComputerName To / "View /" or / "Sync /" server name. <2> / set makes this computer clock synchronization with the clock specified by the specified computer or domain. Example: Net Time 3 Net Time 3 / SET ================== The following four parameters below are related, so introduce (5) NET START work: start Service, or display a list of start-up services. Command format: Net Start Service (6) NET PAUSE: Pause the running service. Command format: NET PAUSE Service (7) Net Continue Schedule: Reactivate the hang service. Command Format: Net Continue Service 8) NET STOP: Stop Windows NT Network Services.
Command format: Net Stop Service --------------------------------------- Parameter introduction: Let's take a look at what these services are! <1> AlertER (Alert) <2> Client Service for NetWare (NetWare Client Service)! <3> Clipbook Server -> Clipbook! COM Event System! <4> Computer Browser! Distributed Link TRACKING CLIENT! DISTRIBUTED Transaction Coordinator! DNS Client? <5> Directory Replicator! <6> FTP Publishing Service (FTP) (FTP Release Service)! IIS Admin Service! Indexing Service! iPSEC Policy Agent! Logical Disk Manager! ipsec policy agent! Logical Disk Manager! Message Queuing! Messenger! network Connections! <10> network dde dsdm (network dde dsdm) <11> network monitor agent (network monitoring Agent)! <12> NT LM Security Support Provider (NT LM Security Support)! Plug and Play! Print Spooler! Protected Storage <15> Remote Access ISNSAP Service (Remote Access ISNSAP Service) <16> Remote Access Server Access server)! <17> Remote Procedure Call (RPC) Locator! <18> Remote Procedure Call (RPC) (Remote Process Call Service)! Remote Registry Service! Removable Storage! Rip Listener! RunaS Service ! Security AC Couns Manager! System Event Notification! TCP / IP NetBIOS Helper Service! Telephony! Telnet! Windows Management Instrument DRiver Extensions <7> LPDSVC!? <8> NET LOGON (Network Login) ?! <9> Network DDE? <13> OLE (Object Links and Embedded)! <14> Remote Access Connection Manager (Remote Access Connection Manager)! <20> Server! <21> Simple TCP / IP Services (simple TCP / IP service)! SNMP Service! SNMP Trap Service! <23> Spooler -> Print Spooler! <24> TCP / IP NetBIOS Helper (TCP / IP NetBIOS Aid)! <25> UPS?! (26) Workstation )! World Wide Web Publishing Service! <27> Messenger (letter)! <28> DHCP Client! <29>
EventLog -------------------- Two or more words composed of service names, such as NET LOGON or COMPUTER BROWSER, must be quoted (/ "on both sides (/". This command is also Will start the network service that Windows 2000 does not provide. ???? The following services can only use << 1 >>) File Server for Macintosh << 2 >> Gateway Service for NetWare << 3 >> Microsoft DHCP on NT Server Server << 4 >> Print Server for Macintosh? << 5 >> RemoteBoot << 6 >> Windows Internet Name Service9) Net Statistics Making: Displays statistical records for local / "workstation /" or / "server /" service. Command Format: Net Statistics [Workstation │ Server] Parameter introduction: <1> Net statistics that uses non-parameters lists the running services available for their statistics. <2> WorkStation Displays statistics for local workstation services. <3> Server display Statistics of local server services. Simple case: NET Statistics Net Statistics Server │ More Display Server Services Statistics Net Statistics Workstation ============================================================ (10) NET Share: Create, delete, or display shared resources. Command format: Net Share ShareName ShareName = Drive: path [/ users: Number │ / unlimited] [/ Remark: / "text /"] sharename [/ users: Number │ / Unlimited] [/ remark: / "text /"] {Sharename │ drive: path} / delete ----------- Parameter introduction: <1> Type NET Share with a non-parameter display local computer Information about all shared resources. <3> Drive: Path Specifies the absolute path of the shared directory. <4> / users: Number settings can access the maximum number of users for shared resources at the same time. <5> / unlimited does not limit users with simultaneous access to shared resources Number. <6> / remark: / "text /" Add a comment on the resource, and the text is taken by quotation marks.
Simple case: Display: Net Share Net Share ShareName Create: Net Share ShareName = C: // Temp / Unlimited Net Share ShareName = C: // Temp / Users: 1 / Remark: / "My First Share /" (NET Share IPC ¥ Heavy Open IPC) Modification: NET Share ShareName [/ users: NUM│ / UnLimited] [Remark: / "/"] Delete: Net Share MYLOVE / DELETE Stop Sharing MyLove Directory Net Share C: // Temp / Delete (Net Share C ¥ / DEL and NET Share C: // / DEL) When using Net Share ShareName =, there is no space in the path, and the CD change directory can have space =============== ===== (11) NET session: List or disconnect the local computer and the session (ie, connection situations) connected to it, written as NET SESS, (combined with NetStat check, good) command format: Net session [computername] [/ delete] Parameter introduction: <1> Type NET session without parameters Show all sessions of the local computer. <2> ComputerName identifies the computer to list or discharging the session. <3> / DEL ends all the computers with computername computing opportunities and shut down this session, simple case:! Net sess! Net sesss yang (5) To display a list of client session information of your computer name YFANG. Net sess 5 / delete net sess / del (Net Sess seems to only deal with IPC, Telnet can't search, TLNTADMN, 1) =============== (12 NET SEND: Send a message to other users, computers or communication names of the network. Command format: Net send {name │ * │ / domain [: name] │ / users} Message parameter introduction: <1> Name To receive send Message username (account?), Computer name or communication name. <2> * Send messages to all names in the group. <3> / domain [: name] Send messages to all names in the computer domain. <4 > / Users Send messages to all users connected to the server.
Simple case:! Net send name net send * net send / domain? Net send / domain: name net send / users send messages to all users connected to the server ================= ==== (13) Net Print: Display or control the print job and print queue. Command format: Net print [computername] job # [/ hold │ / release │ / delete] Parameter introduction: <1> ComputerName Sharing the computer name of the printer queue. <2> ShareName Print Queue Name. <3> JOB # Assign the identification number of the print job in the printer queue. <4> / Hold When using Job #, wait in the printer queue to wait. <5> / release releases the reserved print job. <6> / Delete removes the print job from the printer queue. Simple case: <1> Net print yfang // Seeme lists the directory of the SEEME printer queue on the yfang computer ============================== ===== (14) NET NAME: Displays the name list of the computer receives the message, or adds, deletes a message name (sometimes called alias) Command format: Net name [name [/ add │ / delete] Parameter introduction: <1> Type Net Name without parameters lists the names currently used. <2> Name Specifies the name of the received message. <3> / add adds the name to your computer. <4> / delete removes the name from the computer. Net name net name name / '/ add net name name /' / delete ================================= Add, delete, display, and change local groups. Command format: Net localgroup groupname {/ add [/ comment: / "text /"] │ / delete} [groupname [/ commer "[/ comment: /" text / "] groupname username [...] {/ add │ / delete} parameter Introduction: <1> Type NET localGroup display server name and computer / "local group /" name <2> GroupName To add or deleted a local group name. <3> / Comment: / "text /" Add a comment for the new or existing group. <5> UserName [...] lists one or more usernames or group names to be added to local groups or deleted from the local group. <6> / add Add a global group name or username to a local group. <7> / Delete removes a group name or username from the local group.
Simple case: 1) Single for group net localgroup love / add / comment: / "/" Add Group NET localGroup Love / Delete Remove Group NET localGroup Shows All Groups Net localgroup groupname displays a group NET localgroup love / comment: / "Message / "Change group (information) 2) For the group's delete user net localgroup groupname username / add (prior to-account opening) NET localgroup groupname username // delete (about = net user username / del) topped out of the VS whole sweeping place, one People can step on multiple ships or more than two commands to support the simultaneous deletion of multiple users. Note: Net localgroup administrator / "s /" UserName / Add, don't forget S! =========== ============================================ in the Windows NT Server domain Add, display, or change / "Global /" group. Command format: groupname {/ add [/ comment: / "text /"] │ / delete} [/ domain] [groupname [/ comment: / "text /"] [/ domain] groupname username [...] {/ Add │ / delete} [/ domain] parameter introduction: <1> Type NET Group Display Server Name and Server Group Name. <2> GroupName To add, extend, or delete groups. <3> / Comment: / "text /" Add a comment for the new group or existing group. <4> / Domain executes the * in the current domain's primary domain controller, otherwise execute * on the local computer? <5> username [...] list Show to add a group or from the group deleted Or multiple users. <6> / add Add group or add your username in the group. <7> / delete delete group or deletes the username from the group. Simple case: 1) Single for Group NET Group Love / Add / Comment: / "Add Group Net Group Love / Delete Remove Group NET Group Shows All Groups of Net Group GroupName displays a group NET Group Love / Comment: /" Message / "Change group (information) 2) For the group's delete user net group group group group group group group group group group group group group group group network NET Group Groupname UserName // DELETE above two commands support and delete multiple users at the same time. ======= ===================================================================================================================================================================================================================================================================================================== •
Command format: Net file [id [/ close] parameter introduction: <1> Type NET File without parameters to open a list of files on the server. <2> ID file identification number. <3> / close Close the open file and release the lock record. =============== (18) NET Config: Displays the currently running configurable service, or displays and changes the settings of a service. Command format: Net config [service [options] = net config [server│Workstation] Parameter introduction: <1> Type NET Config displays a list of configurable services. <2> Service is configured by the Net Config command (Server or Workstation) <3> Options service specific options. Net config net config server net config server [/ autodisconnect: Time] [/ srvcomment: / "text /"] [/ hidden: {yes │ no}] Net config workstation net config workstation [/ charcount: bytes] [/ chartime: msec] [/ charwait: sec] ================ (19) NET Computer (ONLY Windows 2000 Server) Scheme: Add or delete your computer from the domain database. Command Format: Net Computer ComputerName {/ add │ / del} Parameter introduction: <1> ComputerName Specifies the computer to be added to the domain or from the domain. <2> / add will add the specified computer to the domain. <3> / DEL will delete the specified computer from the domain. Simple case: NET Computer CC / ADD Add computer CC to / "login domain /" NET Computer WTT / DELETE PS: All computers add and delete them to the main domain controller. =========================================== Net Accounts work: Update the user account database, change the login requirements for all accounts . Command format: Net Accounts [/ forcelogoff: {minutes │ no}] [/ minpwlen: length] [/ MAXPWAGE: {Days │ unlimited}] [/ minpwage: days] [/ uniquepw: Number] parameter introduction: <1> Type NET Accounts without parameters displays the current password setting, login time limit, and domain information. <2> / forcelogoff: {minutes │ no} Setting When / User Account / You / "Valid login time /" expires the number of minutes to wait before the user and the server. The NO option prevents mandatory logout. The default setting is NO <3> / minpwlen: length sets the number of least character number of user account password.
<4> / maxpwage: {days │ unlimited} Must change the number of days before you want to change the wait days before you change the number of waiting days <6> / uniquePW: Number requires the user to change the password, must be after Number Repeat the original password. Simple case: Net Accounts Net Accounts / Forcelogf: 6 (Net Accounts / Forcelogf: NO Default) NET Accounts / MINPWLEN: 7 Sets the least character number of user account passwords to 7 Net Accounts / MaxPwage: 7 │ unlimited Net Accounts / MINPWAGE: 3 Net Accounts / UniquePW: 8 ---------- Three Note: Net User 2 Comment Net localgroup 1 Comment Net Share 1 Remark ----------------- ----- The above introduction is the basic use of the net command under WinNT ---------------------- Let's take a look at the net command under Win98. Basic use * NET commands in Win98 also have some parameters of the names and features of the parameters and the simple usage * and the corresponding parameters under Winnt * The same (1) NET TIME command (2) Net print command (3) NET USE command (4) NET View command There are some parameters in the net command in Win98, and some parameters are the same name and the name of the corresponding parameters under WinNT, but use *, some of which are different there are (1) NET START Work: Start the corresponding service.