Changing the default shell for all users

The default command shell that Telnet Server provides to Telnet clients is the Windows command prompt (cmd.exe). If you prefer users to use the C or Korn shell instead, you can change the default shell by editing the registry.

To change the default shell, you must use regedt32.exe to set an entry in the registry to the command that starts the shell. (Do not use regedit.exe to set this value.) You specify the shell command line in the following registry value:

HKEY_LOCAL_MACHINE\Software\Microsoft\TelnetServer\1.0\Shell

To use the Korn shell as the default shell, use the following:

posix.exe /u /c /bin/ksh -l

To use the C shell as the default shell, use the following:

posix.exe /u /c /bin/tcsh -l

For information about using Registry Editor to modify the registry, see Windows Help.