notes/Install and Start Telnet Server on Windows-xv5gh70q.sh
REM set Administrator's password to 1234 (probably don't want to really use 1234)
net user administrator 1234

REM install service
start /w pkgmgr /iu:"TelnetServer"

REM enable service
sc config TlntSvr start= auto

REM Enable password logins.
tlntadmn config sec +passwd

REM change mode to stream (better for Linux login)
tlntadmn config mode=stream

REM start service
net start TlntSvr

REM add user to telnet group
net localgroup TelnetClients /add [username]

REM check which users are in TelnetClient Group
net localgroup TelnetClients
REM note the username here and Domain if available

REM install client
start /w  pkgmgr /iu:"TelnetClient"

REM Now try and login.  The username will need the domain if used
REM example MyDomain\username

REM to find service name
sc query type= service state= all

syntax highlighted by Code2HTML, v. 0.9.1