Managing Telnet Server service in Windows Server 2008 using CLI

To install Telnet client or server use one of the following commands

Full Installation:

Servermanagercmd –install telnet-server

Servermanagercmd –install telnet-client

Core Installation:

Ocsetup TelnetServer (case sensitive)

Ocsetup TelnetClient (case sensitive)

Note: After installation the Telnet Server service is disabled and in stopped mode. You need to manaually enable it and start the service. No confirmation message is displayed before or after completion of installation

To uninstall Telnet client or server use one of the following commands

Full Installation:

Servermanagercmd –remove telnet-server

Servermanagercmd –remove telnet-client

Core Installation:

ocsetup TelnetServer /uninstall (case sensitive)

ocsetup TelnetClient /uninstall (case sensitive)

To verify if the Telnet Client and/or server is installed on the server:

Full Installation:

Servermanagercmd –q

Core Installation:

oclist

————– End of Document —————–

Tags: Windows Server 2008

Published Date: 20080401