IT tutorials
 
Windows
 

Windows Server 2008 Server Core : Managing the Network with the Net Utility (part 3)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
11/22/2012 3:51:19 PM

2.11. NAME

The NAME mode adds and deletes aliases for users of the Windows Messenger service. Administrators commonly use this service to send network messages and other important information. Sources of aliases for messages include names added with the Net Name utility, the computer name (added as a name when the workstation service starts), and a username (added when you log into the computer). You can't delete the workstation name as a destination for messages. This mode uses the following syntax:

NET NAME [name [/ADD | /DELETE]]

The following list describes each of the command line arguments.


name

Specifies the alias (name) to receive messages. The name can contain up to 15 characters.


/ADD

Adds the name of the list of aliases for a computer. Using this command line switch is optional. Typing Net Name name and pressing Enter automatically adds the name to the list.


/DELETE

Removes the name for the list of aliases for the computer.

The Net Name mode relies on the Windows Messenger service. This isn't the same as Microsoft Messenger, the online utility. Windows Messenger sends messages between machines on the network. Microsoft recommends disabling this particular service because crackers commonly target it as a way to spread a virus on a network. In general, you don't want to use this service in place of more common methods of sending messages, such as email.


2.12. PAUSE

Use the PAUSE mode to suspend a service temporarily. Use Net Stop when you wish to stop a service long term. Pausing a service maintains its presence in memory and therefore preserves the service's state information. Stopping a service removes it from memory and frees the resources that the service is using. This mode uses the following syntax:

NET PAUSE service

The following describes the command line argument.


service

Specifies the name of the service to pause. Always enclose services that contain a space in their name in quotes. The following list contains typical service names.

  • NET LOGON

  • NT LM SECURITY SUPPORT PROVIDER

  • SCHEDULE

  • SERVER

  • WORKSTATION

You can't pause some services. The Net utility displays an error when you try to stop some services. Here's a list of common services that you can't pause.

  • DCOM Server Process Launcher

  • Event Log

  • Plug and Play

  • Remote Procedure Call (RPC)

  • Security Accounts Manager

2.13. PRINT

The PRINT mode controls printing on the local machine. Used with just the sharename, the Net Print command displays the status of the print queue. You can also use this mode to manage the existing print jobs. This mode uses the following syntax:

NET PRINT \\computername\sharename [\\computername] job#
[/HOLD | /RELEASE | /DELETE]

The following list describes each of the command line arguments.


\\computername

Specifies the name of the computer providing the print services as a queue.


sharename

Specifies the name of the print queue. The print queue name is the same as the sharename for the printer.


job#

Specifies the job number to modify. The system assigns the print job number when the user submits the print job. The computer provides each job with a unique number across printer queues.


/HOLD

Prevents a job from printing. All other jobs in the printer queue will bypass a job on hold and print. The job stays in the printer queue until the user releases the job or deletes it.


/RELEASE

Releases a job that a user previously placed on hold.


/DELETE

Removes a job from the printer queue.

2.14. SEND

Use the SEND mode to send a message to other users on the network with the Windows Messenger service. Unlike email, the message appears immediately on the remote system as a popup. The utility displays an error when you attempt to send a message to someone who's not active on the network. Use the Net Name utility to determine which users or systems are available to receive messages. This mode uses the following syntax:

NET SEND {name | * | /DOMAIN[:name] | /USERS} message

The following list describes each of the command line arguments.


name

Specifies the username, computer name, or messaging name to receive the message you send. Always enclose names that include spaces in quotes.

*Sends the message to all of the names in your group. A group might only include the names in a workgroup and not the entire organization.


/DOMAIN[:
name]

Sends the message to all of the names in a domain. The default is to use the current system's domain. You may also specify a domain name to send messages to other domains.


/USERS

Sends the message to all users connected to a particular server, regardless of the user workgroup and domain boundaries. Use this option when you intend to perform tasks such as shutting down a server.


message

Defines the message to send. Always enclose the message in quotes (even though the command line help for this utility doesn't mention the requirement to use quotes).

2.15. SESSION

Whenever your system acts as a server (the Server service is started) and someone uses a shared resource, the activity creates a session. The SESSION mode lists and deletes sessions associated with the specified computer. When used alone, it displays sessions for the local computer. Note that you must have the Server service started to use this mode. This mode uses the following syntax:

NET SESSION [\\computername] [/DELETE]

The following list describes each of the command line arguments.


\\computername

Specifies the name of a computer to work with when listing or deleting sessions.


/DELETE

Ends the session between the local computer and the specified computer. The utility closes all open files on the local computer for the ended session and frees any resources that the session uses. If you use this command line switch without specifying a computer, the utility ends all of the existing sessions.

2.16. SHARE

Use the SHARE mode to define resources available to other users or machines on the network. For example, you can choose to share a hard drive with other users on the network. When used alone, the SHARE mode displays a list of shared items on the local computer. Each shared item entry includes the device name, the pathname, and a descriptive comment. You must start the Server service to use this mode. This mode uses the following syntax:

NET SHARE sharename
NET SHARE sharename=drive:path [/USERS:number | /UNLIMITED]
[/REMARK:"text"] [/CACHE:Manual | Documents | Programs | None ]
NET SHARE sharename [/USERS:number | /UNLIMITED] [/REMARK:"text"]
 [/CACHE:Manual | Documents | Programs | None]
NET SHARE {sharename | devicename | drive:path} /DELETE

The following list describes each of the command line arguments.


sharename

Specifies the network name (the UNC name) of the shared resource. Type Net Share sharename alone and press Enter to display information about the shared resource including the sharename, path, remark, maximum users, users, and caching.


drive:path

Specifies the absolute path of the drive or directory to share. The path must contain a drive letter and colon as a minimum. You share a directory by combining the drive information with an absolute path on that drive.


/USERS:
number

Defines the maximum number of users who can simultaneously access the shared resource.


/UNLIMITED

Specifies that an unlimited number of users can simultaneously access the shared resource.


/REMARK:
"text"

Provides a descriptive comment about the shared resource. Always enclose the comment in quotes. It's a good idea to include a comment about the shared resource that specifies why you're sharing it. The more descriptive you make the comment, the easier it becomes for users who need the resource to find it.


devicename

Defines one or more printers (LPT1: through LPT9:) by sharename.


/DELETE

Stops sharing the resource.


/CACHE:Manual

Enables manual client caching of programs and documents from this share. Using this option leaves the decision of whether to cache up to the user. Caching generally improves performance at the expense of local resources. Some devices might not have enough local resources to perform caching effectively.


/CACHE:Documents

Enables automatic caching of documents from this share.


/CACHE:Programs

Enables automatic caching of documents and programs from this share.


/CACHE:None

Disables caching from this share.

 
Others
 
- Windows Server 2008 Server Core : Managing the Network with the Net Utility (part 2)
- Windows Server 2008 Server Core : Managing the Network with the Net Utility (part 1)
- Using the Windows Azure Service Bus with SharePoint (part 6) - Create a Test Windows Phone 7 Application
- Using the Windows Azure Service Bus with SharePoint (part 5) - Create a Test Windows Forms Application
- Using the Windows Azure Service Bus with SharePoint (part 4) - Create a WCF Service to Call the On-Premises Service
- Using the Windows Azure Service Bus with SharePoint (part 3) - Create an On-Premises Service
- Using the Windows Azure Service Bus with SharePoint (part 2) - Create the Listener Service
- Using the Windows Azure Service Bus with SharePoint (part 1) - Create a Service Bus Namespace
- Windows 8 : Working with User Accounts (part 3) - Switching Users
- Windows 8 : Working with User Accounts (part 2) - Changing User Account Settings
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us