Telnet 
			command-line References for Telnet Server
			
			
			
			
			This page is from Microsoft
			Updated: January 21, 2005
			
				
				Administers a local or a remote computer that is running Telnet 
				Server. Used without parameters, tlntadmn displays local 
				server settings.
				
				 
			 
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] [start] [stop] 
				[pause] [continue] [-u UserName-p
				Password] 
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							start
						
							Starts Telnet Server.
					 
					
						
							stop
						
							Stops Telnet Server.
					 
					
						
							pause
						
							Interrupts Telnet Server.
					 
					
						
							continue
						
							Resumes Telnet Server.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] [-s] [-k{SessionID 
				| all}] [-m {SessionID | all} "Message"]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							-s
						
							Displays active Telnet sessions.
					 
					
						
							-k{ SessionID| all} 
						
							Terminates sessions. Type the session ID to 
							terminate a specific session, or type all to 
							terminate all sessions.
					 
					
						
							-m{ SessionID| all} "Message"
						
							Sends a message to one or more sessions. Type the 
							session ID to send a message to a specific session, 
							or type all to send a message to all 
							sessions. Type the message that you want to send 
							between quotation marks (that is, "Message").
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Remarks
			
				- To use these parameters when administering a remote server, 
				you must log on to the remote server with administrative 
				credentials.
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [dom=DomainName] 
				[-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							dom=DomainName
						
							Specifies the domain that you want to make the 
							default domain.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Examples
			
				To make Server1 the default domain on your local server, type:
				tlntadmn config dom=Server1
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [ctrlakeymap={yes 
				| no}] [-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							ctrlakeymap={ yes| no} 
						
							Specifies whether you want Telnet Server to 
							interpret CTRL+A as ALT. Type yes to map the 
							shortcut key, or type no to prevent mapping.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Remarks
			
				- If you do not map the ALT key, Telnet Server does not send 
				the ALT key to applications that might rely on that key
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [maxconn=PositiveInteger] 
				[-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							maxconn=PositiveInteger
						
							Sets the maximum number of connections. You must 
							specify this number with a positive integer that is 
							smaller than 10 million.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [maxfail=PositiveInteger] 
				[-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							maxfail=PositiveInteger
						
							Sets the maximum number of failed logon attempts 
							that a user is allowed. You must specify this number 
							with a positive integer that is smaller than 100.
						
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [mode={console 
				| stream}] [-u UserName-p 
				Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name for a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							mode={ console| stream} 
						
							Specifies the mode of operation.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [port=IntegerValue] 
				[-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							port=IntegerValue
						
							Sets the Telnet port. You must specify the port with 
							an integer smaller than 1,024.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			
			
			
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [sec=[{+ 
				| -}ntlm][{+ | -}passwd]] [-u
				UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							sec=[{ +| -} ntlm][{ 
							+| -} passwd] 
						
							Specifies whether you want to use NTLM, a password, 
							or both to authenticate logon attempts. To use a 
							particular type of authentication, type a plus sign 
							(+) before that type of authentication. To prevent 
							using a particular type of authentication, type a 
							minus sign (-) before that type of authentication.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Remarks
			
				- NTLM is the authentication protocol for transactions between 
				two computers where one or both computers is running Windows NT. 
				In addition, NTLM is the authentication protocol for computers 
				that are not participating in a domain, such as stand-alone 
				servers and workgroups.
				 
			Syntax
			
				tlntadmn [\\RemoteServer] config [timeout=hh:mm:ss] 
				[-u UserName-p Password]
			Parameters
			
				
					
						
							\\RemoteServer
						
							Specifies the name of a remote server that you want 
							to administer. If you do not specify a server, the 
							local server is assumed.
					 
					
						
							timeout=hh:mm:ss
						
							Sets the time-out period in hours, minutes, and 
							seconds.
					 
					
						
							-uUserName-pPassword
						
							Specifies administrative credentials for a remote 
							server that you want to administer. This parameter 
							is required if you want to administer a remote 
							server to which you are not logged on with 
							administrative credentials.
					 
					
						
							/?
						
							Displays help at the command prompt.
					 
				 
			 
			Remarks
			
				- Both the computer you are administering and the computer at 
				which you use the tlntadmn command must be running 
				Windows NT, Windows 2000, Windows XP, or a member of the Windows 
				Server 2003 family. If either computer is running Windows NT or 
				Windows 2000, it must also be running Windows Services for UNIX 
				2.0.
- To use the tlntadmn command, you must log on to the 
				local computer with administrative credentials. To administer a 
				remote computer, you must also provide administrative 
				credentials for the remote computer. You can do so by logging on 
				to the local computer with an account that has administrative 
				credentials for both the local computer and the remote computer. 
				If you cannot use this method, you can use the -u and 
				-p parameters to provide administrative credentials for the 
				remote computer.
Formatting legend
			
				
					
					
						| Italic | Information that the user must supply | 
					
						| Bold | Elements that the user must type exactly as shown | 
					
						| Ellipsis (...) | Parameter that can be repeated several times in a 
						command line | 
					
						| Between brackets ([]) | Optional items | 
					
						| Between braces ({}); choices separated by pipe (|). 
						Example: {even|odd} | Set of choices from which the user must choose only 
						one | 
					
						| Courier font | Code or program output | 
				
			 
			
			
			
 |  |