net accounts can be used to display the user accounts database and modify password and logon requirements for all accounts. Syntax: net accounts [/forcelogoff:{minutes | no}] [/minpwlen:length] [/maxpwage:{days | unlimited}] [/minpwage:days] [/uniquepw:number] [/domain]. Examples: 1) To display the current settings, the password requirements, and the server role for a server, type: net accounts. 2) to force users to log off after the logon time expires with a five-minute warning, type: net accounts /forcelogoff:5.
net config displays the configurable workstation and server services that are running. Syntax: net config [{server|workstation}]. To display computer name, DNS host name, logon user name, active NIC, logon domain, do net config workstation. To display server name, server active NIC, server hidden status and maximum logged on users, do net config server.
net file displays the names of all open shared files on a server and the number of file locks and closes individual shared files and removes file locks. Syntax: net file [ID [/close]]. To display the names and IDs of the open shared files, do net file without parameters. To close a file that has ID 5, type: net file 5 /close.
net send Sends messages to other users, computers, or messaging names on the network. Syntax: net send {name | * | /domain[:name] | /users} message. To send "This server will shut down in 15 minutes" message to all users connected to the DOMAIN, type: net send /domain:users This server will shut down in 15 minutes.
net share displays information about all of the resources that are shared on the local computer. Syntax: net share [ShareName]
net start/stop starts/stop a service. Syntax: net start/stop [service]. To displays a list of services that are currently operating, use net start without parameters. To stop the Event Log service, type: net stop eventlog.
net statistics displays the statistics log for the local Workstation or Server service, errors, logon time and transfer bytes.. Syntax: net statistics [{workstation | server}]
0 C0Mm3nTs:
Posting Komentar