NET.exe

The NET Command is used to manage network resources as follows:

NET ACCOUNTS, USER, GROUP, LOCALGROUP - Logins & Security.

NET COMPUTER, CONFIG_ - Network configuration (Workstation/Server).

NET FILE, SESSIONS - Manage open files and user sessions.

NET HELP, HELPMSG - Help.

NET PRINT - Manage Network Print jobs.

NET TIME - Manage Network Time.

NET START, STOP, PAUSE, CONTINUE - Manage Services.

File and printer sharing:

NET SHARE - Create file and printer shares.

NET USE - Connect to a file/print Share (Drive Map).

NET VIEW - View file and printer shares.

When using a NET command in a batch file, you can use the /Y or /N switch to unconditionally answer Yes or No to questions returned by the Net command.

NET1.exe – in Windows NT and Windows 2000 the NET1.exe command was made available as a quick fix for a Y2K issue. This Y2K issue with the NET command was corrected in Windows XP but NET1.exe is retained to maintain compatibility with older scripts that used NET1.

“The white man knows how to make everything but he does not know how to distribute it” ~ Sitting Bull

Related commands

Enable Admin Shares
MODE - Configure a system device.
NETDOM - Domain Manager.
OPENFILES - Query or display open files.
PRNMNGR - Add, delete, list printers and printer connections.
SC - Service Control
Q149427 - Change Password from the CMD prompt.
Equivalent bash commands (Linux): groups - group names a user is in, users - login names of users currently logged in.


 
Copyright © 1999-2024 SS64.com
Some rights reserved