Microsoft KB Archive/255898

From BetaArchive Wiki
Knowledge Base


Terminal Services Client Command-Line Switches

Article ID: 255898

Article Last Modified on 3/1/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server



This article was previously published under Q255898


SUMMARY

This article describes the command-line switches for installing and maintaining the Remote Desktop Protocol (RDP) Terminal Services client.

MORE INFORMATION

  • To install the Terminal Services client showing only the Exit dialog box:

    setup /q

    NOTE: The user will see the blue background and software installation progress bar, but will only have to interact with the system when the Exit dialog box appears.

  • To install the Terminal Services client showing only the background:

    setup /q1

    NOTE: The user will see the blue background only; no interaction is required.

  • To install the Terminal Services client with no visual notification:

    setup /qt

    NOTE: The user will see nothing except for the hard disk light flickering.

  • To automatically import an exported connection:

    conman -import:full path to .cns file

    Example:

    conman -import:"c:\my documents\trial.cns"

    NOTE: There is no space after "-import:" and quotation marks may not be necessary when the file path or name does not contain long file names.

  • To change a password on an existing Connection Manager connection:

    conman -p: connection name "password"

    Example 1:

    conman -p baseball "bat"

    In this example, "baseball" is the name of the connection and "bat" is the password. The password of the connection "baseball" is changed to "bat".

    Example 2:

    conman -p "baseball park" "home run"

    In this example, "baseball park" is the name of the connection and "home run" is the password. The password of the connection "baseball park" is changed to "homerun".

    Example 3:

    conman -p "baseball park" "First\"base"

    In this example, the password for the connection "baseball park" is changed to 'First"base'.

    Example 4:

    conman -p "baseball park" "hits\\errors"

    In this example, the password for the connection "baseball park" is changed to "hits\errors".

    Example 5:

    conman -p "baseball park"

    -or

    conman -p "baseball park" ""

    When no password, a space, or quotation marks are specified, the password is erased.

    Notes about the examples: The password field should always be enclosed within quotation marks. If the connection name has spaces, it should be completely enclosed within quotation marks.

  • To suppress the messages, use the -q (Quiet mode) switch:

    conman.exe -q-p Connection Name "Password"

    NOTE: The -q switch should come first, as shown in the above syntax.

  • To complete an unattended uninstallation of the Terminal Services client:

    setup.exe /u /qnt


Keywords: kbinfo kbtermserv KB255898