- This page was last modified on 1 November 2026, at 04:26. Suggest an edit.
net (command) facts for kids
The ReactOS
net command |
|
| Developer(s) | Microsoft, IBM, ReactOS Contributors |
|---|---|
| Initial release | April 2, 1985 |
| Operating system | MS-Net, DOS, OS/2, Windows, ReactOS, eComStation, ArcaOS |
| Platform | Cross-platform |
| Type | Command |
| License | MS-Net, OS/2, Windows, eComStation, ArcaOS: Proprietary commercial software ReactOS: GNU General Public License |
In computing, net is a special command used to control how computers talk to each other. People type it into a command-line window. It works on systems like Microsoft Windows, IBM OS/2, DOS, and ReactOS.
Computers use this tool to manage shared files, printers, and user accounts. It first appeared on April 2, 1985, as part of the IBM PC Network Program. Since then, engineers have added it to many systems, including Windows XP, Windows 7, and Windows 10.
Contents
What Does the Net Command Do?
The net tool helps a computer find shared things on an office or home network. When you type it into a terminal, the computer runs a small program called net.exe.
Programmers can also place this tool inside an automated batch file. They add simple switches like /Y or /N to answer yes or no questions automatically. Some smaller systems, like Windows CE .NET 4.2, Windows CE 5.0, and Windows Embedded CE 6.0, only keep a tiny version of the tool.
Managing Accounts and Groups
Network managers need ways to control who can use a computer system. The net command lets administrators create user profiles and set rules.
- net accounts: Sets password rules and login time limits on Windows NT, Windows 2000, and newer versions.
- net user: Adds new users, removes old profiles, or resets forgotten passwords.
- net group: Groups different accounts together on large corporate systems called domains.
- net localgroup: Organizes user accounts that belong to one single computer.
A computer network lets many different people share the exact same hardware tools.
- net share: Shares a folder on your machine so other people can open files from it.
- net use: Connects your machine to remote folders or printers shared by others.
- net print: Shows jobs waiting in a printer line or stops a job that got stuck.
- net file: Lists all files that remote users are currently reading.
Watching and Fixing the Network
Technicians often use this tool to see if everything works properly.
- net view: Lists all computers and folders available on the local network.
- net start and net stop: Starts or stops background services, like network sharing or web servers.
- net pause and net continue: Temporarily halts a service without closing it completely.
- net statistics: Shows how much data a workstation has sent or received.
- net time: Synchronizes the internal clock of your computer with a central time server.
- net help and net helpmsg: Explains tricky error codes when something goes wrong.
How Do People Use Net Use?
The most famous part of this tool is the net use instruction. It connects a computer to network folders using special communication rules called SMB and NetBIOS.
Connecting to Drives and Printers
When you link to another machine, the system can perform drive mapping. This gives the remote folder its own drive letter, like Z:. Once mapped, the remote folder acts just like an internal hard drive. You can also connect to a shared printer using a printer port. This helps an entire classroom send homework papers to a single printer in the hallway.
Checking Active Connections
Typing net use all by itself shows a simple list. It displays every remote machine your device currently talks to. If a network folder is no longer needed, typing net use /delete disconnects it safely.
How Other Systems Connect
Other network operating systems use different words to do these same jobs. For example, older networks running Novell NetWare used different commands:
- map: Connected network volumes to drive letters.
- capture: Sent printer data across cables to a shared print queue.
See Also
- List of DOS commands
- MS-Net