Партнерка на США и Канаду по недвижимости, выплаты в крипто

  • 30% recurring commission
  • Выплаты в USDT
  • Вывод каждую неделю
  • Комиссия до 5 лет за каждого referral

net accounts /sync

If you are currently using a Windows Server 2003 workstation and want to set the minimum password length to 10 characters for the domain to which the workstation is connected, enter

net accounts /minpwlen:10 /domain

NET COMPUTER COMMAND

The net computer command enables the user to add or delete computers from the domain database. These modifications are automatically forwarded to the primary domain computer can only be executed from a server. Its syntax is

net computer \\computername option

The \\computername parameter is the name of the computer to add or delete. The option parameter can contain one of two options: /add to add the computer name to the domain; and /del to delete the computer name from the domain.

net computer Command Example

To delete the computer \\incy from the domain, enter the following:

net computer \\incy /del

NET CONFIG COMMAND

Executing the net config command without parameters displays the services that are both configurable and running. With the appropriate parameters and options, this command enables a system administrator to permanently change the settings for a running service.

Two variations of net config are net config server and net config workstation. A discussion of both follows.

NET CONFIG SERVER COMMAND

The net config server command either displays or modifies the settings of the Server service while the service is running. Any changes are permanent. See Table A.54 for an options list. The syntax of this command is

НЕ нашли? Не то? Что вы ищете?

net config server [options]

Executing the net config server command without options will display the current settings for the Server service. An example of the output display follows:

Server Name \\incy

Server Comment

Software version Windows Server 2003

Server is active on NetBT_NDISLoop1 (204c4f4f5020)

NetBT_NDISLoop1 (204c4f4f5020)

Server hidden No

Maximum Logged On Users Unlimited

Maximum open files per session 2048

Idle session time (min) 15

The command completed successfully.

Table config server Command Options

Option

Qualifier

Description

/autodisconnect

:time

Sets the maximum amount of time that a user's login session can be idle before it is automatically disconnected. Acceptable values are –1 through 65535 minutes, with 15 minutes as the default. Setting time to –1 instructs the service to never disconnect an idle user.

/hidden

:{yes | no}

Determines whether the computer name of the server will display on the lists of servers depending on whether yes or no is entered as the qualifier. The default is no.

/srvcomment

:"text"

Defines a message that can be displayed in many Windows Server 2003 windows as well as with the net view command. The qualifier text can be 48 characters long. The quotation marks are required.

net config server Command Example

To disconnect users after 30 minutes of idle time, enter the following command:

net config server /autodisconnect:30

NET CONFIG WORKSTATION COMMAND

The net config workstation command either displays or permanently modifies the settings of the Workstation service while the service is running. See Table A.55 for an options list. The command syntax is

net config workstation [options]

Executing the net config workstation command without options will display the current settings for the Workstation service on the local computer. The following is an example of the output display:

Computer name \\incy

User name Administrator

Workstation active on NetBT_NDISLoop1 (204C4F4F5020)

Software version Windows Server 2003

Workstation domain BOOK

Logon domain BOOK

COM Open Timeout (sec) 3600

COM Send Count (byte) 16

COM Send Timeout (msec) 250

The command completed successfully.

Table config workstation Command Options

Option

Qualifier

Description

/charcount

:bytes

Sets the number of bytes of data to be collected prior to sending them to a communications device. Acceptable values are 0 through 65535, with 16 bytes as the default.

/chartime

:msec

Sets the number of milliseconds (msec) for collecting data prior to sending it to a communications device. Acceptable values for msec are 0 through 65,535,000 milliseconds, with 250 milliseconds as the default.

/charwait

:sec

Specifies the number of seconds (sec) to wait for a communications device to become available. Acceptable values are 0 through 65535 seconds, with 3600 seconds as the default.

If both the /charcount:bytes and /chartime:msec options are used, Windows Server 2003 sends data to a communication device based on whichever parameter is fulfilled first.

NET CONTINUE COMMAND

The net continue command reactivates a service that has been suspended by the net pause command, without canceling a user's connection. The syntax is

net continue service

Acceptable values for the service parameter for standard services follow. Other services may be acceptable depending on what is installed on the system.

·  ftp publishing service

·  lpdsvc

·  Net logon

·  Network dde

·  network dde dsdm

·  lm security support provider

·  remoteboot (at the Windows Server 2003 level only)

·  remote access server

·  Schedule

·  Server

·  Simple TCP/IP services

·  Workstation

Table file Command Options

Option

Description

id

Enters the identification number of the file, which is found in the first column of the net file list that displays all open files.

/close

Must be used in conjunction with the id option. It closes the file represented by the identification number, id.

NET FILE COMMAND

The ability to share files among computer systems and users is at the heart of a networked system. These shared files can be periodically left open or locked to prohibit access. The net file command enables the user to display both the names of any open shared file and the number of locks on it. In addition, it can close shared files and remove file locks. The syntax for net file is

net file [options]

When used without options, the command displays a list of all shared open files on the server as well as the number of locks each file has. The two possible options are shown in Table A.56.

NET GROUP COMMAND

The net group command permits the addition, display, or modification of global groups on Windows Server 2003 domains and can be run only from these domains. Users who work together or who have the same requirements for system use are usually classified as members of the same group. Table A.57 lists the options available for the net group command.

It is important to remember that the net group command deals with global groups. In essence, this means that group members can only be from the domain in which the group was created, but they can be assigned privileges anywhere in the network as long as there is a trust relationship among domains.

There are three syntax formats for this command:

net group [options]

net group groupname [options]

net group groupname user(s) [options]

When the net group command is executed without options, the display will include the name of the server as well as the name of each group on it. When the group name is displayed, it is preceded by an asterisk, which assists the user in differentiating group from user names when both are displayed.

Table group Command Options

Option

Qualifier

Description

groupname

/comment:"text" or /action

Enters the name of the group (groupname) to add, modify, or delete. When used without qualifiers (net group groupname), users in that group are displayed. When used with just the qualifier /comment:"text", the comment, text, is added to the existing group name entered, where text can be 48 characters long and must be enclosed in quotes. The /action qualifier either adds the group name as new or deletes it. Acceptable values for /action are /add and /delete. When using the /add qualifier, the /comment:"text" option can be used as well as in the format: net group groupname /add /comment:"text".

user(s)

/action

Lists the user(s) to be added to or deleted from group name based on the action given. Acceptable values for /action are /add and /delete. If more than one user is entered, separate them with a space character.

/domain

Can be used with any of the syntax formats and is necessary only when executing the command from a workstation that is a member of a Windows Server 2003 domain. The option causes the net group command to execute on the primary domain controller of the current domain. The default (without this option) is to execute the command for the local computer.

net group Command Examples

To display all the users in the group sales1, enter

net group sales1

To add a comment to the record for this group, enter

net group sales1 /comment:"Direct Sales Personnel"

To add a group called sales2 and include a comment, enter

net group sales2 /add /comment:"Indirect Sales Personnel"

To delete the user gregh from sales1 and add the user to sales2, enter

net group sales1 gregh /delete

net group sales2 gregh /add

NET LOCALGROUP COMMAND

The net localgroup command enables the addition, deletion, or modification of local groups. Remember that a local group can contain users from the domain in which it was created as well as global users and global groups from other domains that have a trust relationship with that domain. One difference between a local group and a global group is that the former can be assigned privileges only in its own domain, whereas the latter can be assigned privileges in trusted domains. See Table A.58 for an options list.

The three syntax formats for the net localgroup command are

net localgroup [options]

net localgroup groupname [options]

net localgroup groupname name(s) [options]

Table localgroup Command Options

Option

Qualifier

Description

groupname

/comment:"text" or /action

Enters the name of the local group (groupname) to add, modify, or delete. When used without qualifiers (net localgroup groupname), the users and global groups within the local group groupname are displayed. When used with just the qualifier /comment:"text", the comment, text, is added to the existing group name entered, where text can be 48 characters long and must be enclosed in quotes. The /action qualifier either adds the group name as new or deletes it. Acceptable values are /add and /delete. When using the /add qualifier, the /comment:"text" option can be used as well as in the format net localgroup groupname /add /comment:"text".

name(s)

/action

Lists the name(s) to be added to or deleted from groupname based on the action given. Acceptable values include either local users or users on trusted domains or global groups. If more than one name is entered, separate them with a space. Acceptable values are /add and /delete.

/domain

Can be used with any of the syntax formats and is necessary only when executing the command from a workstation that is a member of a Windows Server 2003 domain. The option causes the net localgroup command to execute on the primary domain controller of the current domain. The default (without this option) is to execute the command for the local computer.

When the net localgroup command is executed without options, the display will include the name of the server as well as the name of each local group on it.

net localgroup Command Examples

To display all the users in the group tech1, enter

net localgroup tech1

To add a comment to the record for tech1, enter

net localgroup tech1 /comment:"Primary Tech Support Team"

To add a group called tech2 and include a comment, enter

net localgroup tech2 /add /comment:"Secondary Tech Support Team"

To add the names nancyd and phill from the helpdesk domain and global group sales2, respectively, to the tech2 local group, enter

net localgroup tech2 nancyd helpdesk\phill sales2 /add

NET HELP COMMAND

The net help command provides help for the Server's net commands by listing all of the commands or by providing detailed information on a requested one. This command is discussed in more detail in the "Display Commands" section.

NET HELPMSG COMMAND

The net helpmsg command displays an explanation for the requested Windows Server 2003 error message. This command is discussed in more detail in the "Display Commands" section.

NET NAME COMMAND

The net name command adds, deletes, or displays names that are authorized to receive messages. These names are used only for messaging and must be unique throughout the network. In Windows Server 2003 three types of names—computer, user, and messaging—are set up by net name. In order to execute this command, the Messenger service must be running. For more information, please refer to the "Miscellaneous Commands" section.

NET PAUSE COMMAND

The net pause command is used to suspend a Windows Server 2003 service or resource. Pausing a service instead of stopping it enables current users to continue working while prohibiting new users from gaining access. System administrators sometimes do this in order to warn users and give them an opportunity to finish what they are doing. The net continue command reactivates a service that has been paused. Its syntax is

net pause service

The service parameter is required and can be one of the following standard services. Other services may also be available depending on the configuration of your system.

·  File server for Macintosh (at the Windows Server 2003 level only)

·  ftp publishing service

·  lpdsvc

·  Net logon

·  Network dde

·  Network dde dsdm

·  lm security support provider

·  remoteboot (at the Windows Server 2003 level only)

·  Remote access server

·  Schedule

·  Server

·  Simple TCP/IP services

·  Workstation

NET PRINT COMMAND

The net print command displays information about both printer queues and printer jobs. Print jobs can also be deleted, put on hold, or reactivated. This command is described in more detail in the "Print Commands" section.

NET SEND COMMAND

The net send command uses the Messenger service to send messages to users, computers, and messaging names set up on the network. It is described in more detail in the "Miscellaneous Commands" section.

NET SESSION COMMAND

The net session command provides a list of the current sessions between the local computer and its clients, and it enables an administrator to disconnect them. A session between the client and the server is established when a user contacts a server from a client computer and successfully logs on.

The syntax for net session is

net session [\\computername] [/delete]

The net session command can only be executed from a server. When run without parameters, its display will contain the following information regarding each session on the local computer: computer name, user name, client type, number of open files, and idle time.

The \\computername parameter is the name of the computer for which you wish to list sessions. If specified, the user name, computer name, guest logon, client type, session time, idle time, and a list of all the shared resources connected to the user are displayed. The shared resource list includes the share name, the type of resource, and the number of open files.

The /delete parameter is used to disconnect a session with the \\computername given. If the \\computername parameter is not used, /delete will disconnect all sessions associated with the server.

NET SHARE COMMAND

The net share command displays, creates, or deletes shared resources. Once created, a shared resource is available immediately and remains shared until it is deleted. See Table A.59 for an options list. There are three syntax formats for this command:

net share sharename [options]

net share sharename=drive:path [options]

net share {sharename | drive:path } /delete

Table share Command Options

Option

Description

/delete

Stops sharing the resource identified by either sharename or drive:path.

/users:number

Sets the maximum number of users that can access a shared resource at the same time. This option cannot be used in conjunction with /unlimited.

/unlimited

Allows an unlimited number of users to access a shared resource simultaneously. This option cannot be used in conjunction with /users:number.

/remark:"text"

Defines a comment, text, to be associated with the shared resource. Surround the text of the comment with quotes.

When net share is executed without options or parameters, it displays the share name, the device name or path, and a comment field for all shared resources on the local system.

The sharename parameter contains the name by which the network refers to the shared resource. The command net share sharename displays the share name, path, remark, maximum number of users, and users connected to the share.

To establish a directory share, use the parameter sharename=drive:path, where sharename is the network name for the directory and drive:path is the absolute path of the directory being shared. Remember to enclose the drive:path in quotes if there is a space in the directory name.

net share Command Examples

To share the directory c:\customers with the name contacts, limit the access to a maximum of 15 users, and include a comment, enter the following:

net share contacts:c:\customers /user:15 /remark:"Contact Information"

To remove the share when the shared resource is no longer needed, enter

net share taskforce /delete

NET STATISTICS COMMAND

The net statistics command, also known as net stats service, displays network statistics information for either the Workstation or the Server service. The syntax is

net statistics [service]

Running net statistics without specifying a service will display a list of the services that are running and for which there are statistics. Acceptable values for the service parameter are the words "Workstation" and "Server" (not the actual name of the server or workstation).

Running net statistics server displays the following statistics for the local server:

·  Number of sessions started, timed-out, or terminated due to an error

·  Number of kilobytes sent and received

·  Average response time

·  Number of system errors and permission and password violations

·  Number of files and communication devices accessed

·  Number of print jobs spooled

·  Number of times the memory buffer was exceeded

Running net statistics workstation displays the following statistics for the local workstation:

·  Number of bytes and Server Message Blocks (SMB) received and transmitted

·  Number of read and write operations

·  Number of failed read and write operations

·  Number of network errors

·  Number of successful and failed connections to shared resources

·  Number of reconnections to shared resources

·  Number of sessions started, failed, and disconnected

·  Number of failed operations

·  Total use count and the total failed use count

NET START COMMAND

The net start command either displays services that are currently running or starts a new service. The syntax is

net start service

Executing net start without the service parameter will provide a list of the services currently running. The service parameter is the name of the service you wish to start. (If that name contains more than one word, be sure to enclose it in quotes.) Table A.60 identifies the services that may be started with this command along with a brief description.

NET STOP COMMAND

The net stop command stops the service named. The syntax is

net stop service

Executing net stop without the service parameters will display a list of the valid services. The service parameter can be any of the standard services listed in Table A.60 as well as any other services that were installed on your system.

NET TIME COMMAND

The net time command allows the user to synchronize the time across the network between the current system and another domain (or computer). It also allows the user to display the time for any system on the network. This command is described in more detail in the "Miscellaneous Commands" section.

Table A.60. Services

Service

Description

Alerter

Enables alert messages to be sent to specific users and users connected to the server. Must be used in conjunction with the Messenger service.

Client Service for NetWare

Available only on Windows 2003 Workstation when Client service for NetWare has been installed. Starts the Client service for NetWare.

ClipBook Server

Enables cutting and pasting over the network.

Computer Browser

Enables computers to be browsed over the network and the computer starting the service to be browsed by other computers on the network. The alternative command is net start browser.

DHCP Client

Allows IP addresses to be retrieved from a DHCP server.

Directory Replicator

Ensures that designated files are the same on all requested servers. These files and servers must be set up prior to starting this service. The alternative command is net start replicator.

Eventlog

Logs any type of system, security, or application event that requires a notification to be sent to users. This service cannot be stopped or paused and must be running to use the Event Viewer.

File Server for Macintosh

Allows file sharing with Macintosh computers and is available only on Windows Servers.

FTP Publishing Service

Available only if the Internet Information server is installed.

Gateway Service for NetWare

Available only if the Gateway Service for NetWare is installed.

Lpdsvc

Enables UNIX clients to print via a printer connected to a Windows Server 2003 computer, available only if the TCP/IP protocol has been installed.

Messenger

Enables a computer to receive messages.

Microsoft DHCP Server

Provides network clients with IP addresses and is available only on Windows Servers and if both TCP/IP and the DHCP server have been installed. The alternative command is net start dhcpserver.

Net Logon

Verifies requests to log on and controls copies of the user accounts database in the domain. This service is started on all servers in a domain that use a copy of the domain's user accounts database. The alternative command is net start netlogon.

Network DDE

Starts the Network Dynamic Data Exchange service.

Network DDE DSDM

Starts the Network Dynamic Data Exchange Share Database Manager service.

Network Monitor Agent

Enables remote monitoring of a client machine's network communication.

LM Security Support Provider

Available only if the LM Security Support Provider is installed.

Print Server for Macintosh

Enables printing from Macintosh computers and is available only on Windows Server 2003.

Remoteboot

Permits networked computers to load the operating system from the server and is available only on Windows Server 2003.

Remote Access Connection Manager

Allows remote access to the network through a dial-up connection and is available only if the Remote Access service is installed.

Remote Access ISNSAP Service

Available only if the Remote Access service is installed.

Remote Access Server

Available only if the Remote Access Service is installed.

Remote Procedure Call (RPC) Locator

Allows applications to use the Microsoft RPC name service and manages the RPC name service database.

Remote Procedure Call (RPC) Service

Allows applications to use dynamic endpoints and manages the endpoint map database.

Schedule

Enables use of the at command to start programs at a specified time.

Server

Enables a computer to share resources, such as files and printers, on the network, and provides RPC support.

Simple TCP/IP Services

Activates the TCP/IP services of Character Generator, Daytime, Discard, Echo, and Quote of the Day and is available only if TCP/IP and the simple TCP/IP service are installed.

SNMP

Enables a server to report its status to the SNMP management system and is available only if both the TCP/IP and SNMP protocols are installed.

Spooler

Starts the spooler service.

TCP/IP NetBIOS Helper

Enables NetBIOS over the TCP/IP service and is available only if TCP/IP is installed.

UPS

Manages an uninterruptible power supply (UPS) that is connected to the computer.

Windows Internet Name Service

Enables the mapping of computer names to TCP/IP addresses for networked client systems and is available only on Windows Servers.

Workstation

Enables a computer to connect to and communicate with network resources.

NET USE COMMAND

The net use command either connects or disconnects a computer and a shared resource and displays shared resources currently connected to a computer. Its syntax has several formats:

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19