Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Data Recovery  |  Forums   | Blog | IT Exam Practice | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |                 

 

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}]

net time display and synchronizes the computer's clock with that of another computer or domain. Syntax: net time [{\\ComputerName | /domain[:DomainName] | /rtsdomain[:DomainName]}] [/set]. To synchronizes the computer's clock with the time on the specified computer or domain, type net time \\computername /set.

net use can be used to connect a computer to or disconnect a computer from a shared resource, or display information about computer connections. The command also controls persistent net connections. Syntax: net use [{DeviceName | *}] [\\ComputerName\ShareName[\volume]] [{Password | *}]] [/user:[DomainName\]UserName] [/user:[DottedDomainName\]UserName] [/user: [UserName@DottedDomainName] [/savecred] [/smartcard] [{/delete | /persistent:{yes | no}}] To list network connections, type: net use. To connect to the resource accounting shared on the \\Financial data server, type: net use k: "\\financial data" \accounting.

net user adds or modifies user accounts or displays user account information such as user name, last logon, logon script, user profile, home directory and group memberships. Syntax: net user [UserName [Password | *] [options]] [/domain].  To view information about the user account jsmith in a domain, type: net user jsmith /domain. To specify logon hours of 4 A.M. until 5 P.M. on Monday, 1 P.M. until 3 P.M. on Tuesday, and 8 A.M. until 5 P.M. Wednesday through Friday for jsmith, type: net user jsmith /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00.

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright © 2002-2018 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.