Windows 95 Network Commands

NETCOMS95.DOC

3/30/1999 Paul I-Hai Lin

For more information about a specific Microsoft NET

command, type the command name followed by /?

(for example, NET VIEW /?).

NET CONFIG Displays your current workgroup settings.

NET DIAG Runs the Microsoft Network Diagnostics program to

display diagnostic information about your network.

NET HELP Provides information about commands and

error messages.

NET INIT Loads protocol and network-adapter drivers without

binding them to Protocol Manager.

NET LOGOFF Breaks the connection between your computer and

the shared resources to which it is connected.

NET LOGON Identifies you as a member of a workgroup.

NET PASSWORD Changes your logon password.

NET PRINT Displays information about print queues

and controls print jobs.

NET START Starts services.

NET STOP Stops services.

NET TIME Displays the time on or synchronizes your computer's

clock with the clock on a Microsoft Windows for

Workgroups, Windows NT, Windows 95, or NetWare time server.

NET USE Connects to or disconnects from a shared

resource or displays information about

connections.

NET VER Displays the type and version number of the

workgroup redirector you are using.

NET VIEW Displays a list of computers that share

resources or a list of shared resources

on a specific computer.

 

C:\CPET181\netcoms>net view /?

Displays a list of computers in a specified workgroup or

the shared resources available on a specified computer.

NET VIEW [\\computer] [/YES]

NET VIEW [/WORKGROUP:wgname] [/YES]

computer Specifies the name of the computer whose

shared resources you want to see listed.

/WORKGROUP Specifies that you want to view the names

of the computers in another workgroup that

share resources.

wgname Specifies the name of the workgroup whose

computer names you want to view.

/YES Carries out the NET VIEW command without

first prompting you to provide information or

confirm actions.

To display a list of computers in your workgroup that share

resources, type NET VIEW without options.

 

C:\CPET181\netcoms>net diag /?

 

Runs the Microsoft Network Diagnostics program to test the hardware

connection between two computers and to display information about a single

computer.

 

C:\CPET181\netcoms>net help /?

Displays information about NET commands and error messages.

command /?

NET HELP [suffix]

NET HELP errornum

command Specifies the Microsoft NET command

that you want information about.

suffix Specifies the second word of the command you want

information about. For example, the suffix of

NET VIEW is VIEW.

errornum Specifies the number of the error message that

you want information about.

To see a brief description of all Microsoft NET

commands, type NET HELP without options.

NET DIAGNOSTICS [/NAMES | /STATUS]

/NAMES Specifies a diagnostic server name in order to avoid

conflicts when NET DIAG is used simultaneously by multiple

users. This option works only when the network uses a

NetBIOS protocol.

/STATUS Enables you to specify a computer about which you want

network diagnostics information.

 

C:\CPET181\netcoms>net init /?

 

Loads protocol and network-adapter drivers without binding them to

Protocol Manager. This command may be required if you are using a

third-party network-adapter driver. You can then bind the drivers

to Protocol Manager by typing NET START NETBIND.

NET INITIALIZE [/DYNAMIC]

/DYNAMIC Loads the Protocol Manager dynamically. This is

useful with some third-party networks, such as

Banyan(R) VINES(R), to resolve memory problems.

 

C:\CPET181\netcoms>net logoff /?

Breaks the connections between your computer and the

shared resources to which it is connected.

NET LOGOFF [/YES]

/YES Carries out the NET LOGOFF command without

first prompting you to provide information or

confirm actions.

Identifies you as a member of a workgroup.

NET LOGON [user [password | ?]] [/DOMAIN:name] [/YES] [/SAVEPW:NO]

user Specifies the name that identifies you in

your workgroup. The name you specify can

contain up to 20 characters.

password The unique string of characters that

authorizes you to gain access to your

password-list file. The password can

contain up to 14 characters.

? Specifies that you want to be prompted for

your password.

/DOMAIN Specifies that you want to log on to a

Microsoft Windows NT or LAN Manager domain.

name Specifies the Windows NT or LAN Manager domain

you want to log on to.

/YES Carries out the NET LOGON command without

first prompting you to provide information or

confirm actions.

/SAVEPW:NO Carries out the NET LOGON command without

prompting you to create a password-list file.

If you would rather be prompted to type your user name and

password instead of specifying them in the NET LOGON

command line, type NET LOGON without options.

 

 

C:\CPET181\netcoms>net password /?

Changes your logon password.

NET PASSWORD [oldpassword [newpassword]]

NET PASSWORD \\computer | /DOMAIN:name [user [oldpassword [newpassword]]]

oldpassword Specifies your current password.

newpassword Specifies your new password. It can have as

many as 14 characters.

computer Specifies the Windows NT or LAN Manager server

on which you want to change your password.

/DOMAIN Specifies that you want to change your

password on a Windows NT or LAN Manager domain.

name Specifies the Windows NT or LAN Manager domain on which

you want to change your password.

user Specifies your Windows NT or LAN Manager user name.

The first syntax line above is for changing the password for your

password-list file. The second syntax line above is for changing your

password on a Windows NT or LAN Manager server or domain.

 

 

C:\CPET181\netcoms>net use

Status Local name Remote name

------------------------------------------------------------

OK F: \\EAST1\SYS

OK H: \\EAST1\MAIL

OK I: \\EAST1\USER\USER\LIN

OK O: \\EAST1\USER\SHARED

OK S: \\EAST1\APPS

OK T: \\EAST1\LAPPS

OK W: \\EAST1\APPS\DOS\BATCH

OK X: \\EAST1\APPS\DOS\UTIL

OK Y: \\EAST1\APPS\WIN\COMMON\VIM

OK Z: \\EAST1\SYS\PUBLIC

OK LPT2 \\EAST1\EET_OFFICE

The command was completed successfully.

Servers available in workgroup ETCS.

Server name Remark

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

\\ARIES

\\TAURUS

Other Servers

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

\\ALMOND

\\ARC2ETHER2

\\BACKUP1

\\BACKUP2

\\BACKUP3

\\CD1

\\CDFORCE1

\\CDFORCE2

\\CDP1

\\CDPPROD

\\CM1

\\EAST1

\\ET_LAB

\\ET_LABS

\\IPFW_ACCT

\\IPFW_NWC

\\IPFW_ROOT

\\IUWARE

\\KETTLER_LABS

\\KT1

\\KT2

\\KT_BOOTP

\\LIBRARY_LABS

\\MANAGEWISE

\\NEFF_LABS

\\NEFF_TEACH

\\NF1

\\NORTH1

\\PICS

\\SC1

\\SCIENCE_LABS

\\SOFTSERVE

\\TAD

\\TELEOP

\\TRS_LABS

\\UCSDP0

\\UCSDP1

\\WALB_LABS

\\WRIGHT

The command was completed successfully.

E:\CPET_181\Win95>net config

Computer name \\LIN

User name LIN

Workgroup ETCS

Workstation root directory C:\WINDOWS

Software version 4.10.1998

Redirector version 4.00

Client for NetWare version 4.20

Login Information:

Server Name EAST1

Server Version NetWare v3.12 (250 user)

Login Name LIN

Connection Number 18

Login Time Tuesday March 23, 1999 10:52 P.M.

The command was completed successfully.

E:\CPET_181\Win95>net diag

IPX and NetBIOS have been detected.

Press I to use IPX for diagnostics, N to use NetBIOS, or E to exit this program.

Microsoft Network Diagnostics will use IPX.

Searching for diagnostic server...

No diagnostic servers were detected on the network.

Is Microsoft Network Diagnostics currently running on any other computers

on the network ? (Y/N)

This computer will now begin acting as a diagnostic server.

Press any key to stop acting as a diagnostic server.

The command was completed successfully.

 

E:\CPET_181\Win95>net time

Error 3912: Windows was unable to locate a time server. Try again, specifying

the name of the server you would like to synchronize with.

 

E:\CPET_181\Win95>net ver

Microsoft Client - Full Redirector. Version 4.00

Client for NetWare(R). Version 4.20

Copyright (c) Microsoft Corp. 1993-1995. All rights reserved.