This is the 11th day of my participation in the August More text Challenge. For details, see: August More Text Challenge
Introduction to the
NET command is a command line command, the NET command has many functions to use and verify the NetBIOS connection between computers, you can see our management network environment, services, users, login information content.
Usually we also often use to CMD, use CMD in the NET command can also do a lot of things, let’s take a look!
Method of use
The help information shows the parameters that can be followed by the command
C:\Windows\system32>netACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START |
STATISTICS | STOP | TIME | USE | USER | VIEW ]
Copy the code
Displays a list of computers in the current domain. Net View Displays a list of shared resources for the specified computer. Net View \testCopy the code
View the shared net shareCopy the code
Net User Displays information about a specified user. Net User User nameCopy the code
Net Start Start the specified service net Start "Service name" Stop the specified service net Stop "Service name" Suspend the specified service Net Pause "Service name" Reactivate the suspended service net Continue "Service name"Copy the code
Access denial may occur when a service is started
To run as administrator, search for CMD in the Start menu and click “Run as Administrator”.
This will allow the command to run properly
Net use Mount testdir to disk F. net use f: \test\testdir Disconnect net use f: \test\testdir /deleteCopy the code
Display statistics records for net statistics workstationCopy the code
Net Accounts can also be used to update the user account database, change passwords, and login requirements for all accounts. Optional parameters: / forcelogoff: {minutes | no} is set when a user login account or effective time expired/minpwlen: length is set the user account password min/maxpwage: {days | unlimited} set the user account password effective maximum number of days /minpwage:days specifies the minimum number of days for which a user must keep his /uniquepw:number specifies the number of days for which a user must change his /uniquepw:number /domain Perform this operation on the primary domain controller of the current domain. /sync When used on the primary domain controller, the command synchronizes all backup domain controllers in a domain. Set the minimum number of characters in the user account password to 8. Net Accounts/minPWlen :8Copy the code
Displays the currently running configurable service net Config Workstation /serverCopy the code
Reference documentation
Description of the CMD -net command
Recommended reading
Linux Sudo and Sudoers
Linux TCP kernel parameter Settings and tuning (details)!
O&m must know Linux RAID details!
Linux Service Management!
Metasploit Penetration Framework for network security personnel must know!
Penetration Essential -Metasploit common module usage
Server Hardware Guide!