NET
suggest changeProvides various network services, depending on the command used. Available variants per command:
$ net
The syntax of this command is:
NET
[ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START |
STATISTICS | STOP | TIME | USE | USER | VIEW ]
net accounts
$ net accounts /?
The syntax of this command is:
NET ACCOUNTS
[/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
[/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
[/UNIQUEPW:number] [/DOMAIN]
Example
$ net accounts
Force user logoff how long after time expires?: Never
Minimum password age (days): 0
Maximum password age (days): 42
Minimum password length: 0
Length of password history maintained: None
Lockout threshold: Never
Lockout duration (minutes): 30
Lockout observation window (minutes): 30
Computer role: WORKSTATION
The command completed successfully.
net computer
$ net computer /?
The syntax of this command is:
NET COMPUTER
\\computername {/ADD | /DEL}
net config
$ net config /?
The syntax of this command is:
NET CONFIG
[SERVER | WORKSTATION]
Example:
$ net config workstation
Computer name \\LAPTOP-HVPJGI3T
Full Computer name LAPTOP-HVPJGI3T
User name kjk
Workstation active on
NetBT_Tcpip_{C3715226-339E-4A28-A844-5DD3F5C462EA} (28C63F9EFABB)
Software version Windows 10 Pro
Workstation domain WORKGROUP
Logon domain LAPTOP-HVPJGI3T
COM Open Timeout (sec) 0
COM Send Count (byte) 16
COM Send Timeout (msec) 250
The command completed successfully.
net continue
$ net continue
The syntax of this command is:
NET CONTINUE
service
net file
$ net file /?
The syntax of this command is:
NET FILE
[id [/CLOSE]]
net group
$ net group /?
The syntax of this command is:
NET GROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname username [...] {/ADD | /DELETE} [/DOMAIN]
net localgroup
$ net localgroup /?
The syntax of this command is:
NET LOCALGROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname name [...] {/ADD | /DELETE} [/DOMAIN]
Example:
$ net localgroup
Aliases for \\LAPTOP-HVPJGI3T
-------------------------------------------------------------------------------
*Access Control Assistance Operators
*Administrators
*Backup Operators
*Cryptographic Operators
*Distributed COM Users
*Event Log Readers
*Guests
*Hyper-V Administrators
*IIS_IUSRS
*Network Configuration Operators
*Performance Log Users
*Performance Monitor Users
*Power Users
*Remote Desktop Users
*Remote Management Users
*Replicator
*Ssh Users
*System Managed Accounts Group
*Users
The command completed successfully.
net pause
NET PAUSE
suspends a Windows service or resource (e.g. NETLOGON, SCHEDULE, SERVER). Pausing a service puts it on hold.
$ net pause /?
The syntax of this command is:
NET PAUSE
service
Links:
- net at ss64.com
- net services overview at Microsoft, Windows XP
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents