Microsoft KB Archive/255898: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 94: Line 94:
<div class="indent">
<div class="indent">


<p>conman -import:&quot;c:\my documents\trial.cns&quot;</p>
<p>conman -import:"c:\my documents\trial.cns"</p>


</div>
</div>
'''NOTE''': There is no space after &quot;-import:&quot; and quotation marks may not be necessary when the file path or name does not contain long file names.<br />
'''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.<br />
<br />
<br />
</li>
</li>
Line 103: Line 103:
<div class="indent">
<div class="indent">


<p>conman -p: <code>connection name </code><code>&quot;password&quot;</code></p>
<p>conman -p: <code>connection name </code><code>"password"</code></p>


</div>
</div>
Line 109: Line 109:
<div class="indent">
<div class="indent">


<p>conman -p baseball &quot;bat&quot;</p>
<p>conman -p baseball "bat"</p>


</div>
</div>
In this example, &quot;baseball&quot; is the name of the connection and &quot;bat&quot; is the password. The password of the connection &quot;baseball&quot; is changed to &quot;bat&quot;.<br />
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".<br />
<br />
<br />
Example 2:
Example 2:
<div class="indent">
<div class="indent">


<p>conman -p &quot;baseball park&quot; &quot;home run&quot;</p>
<p>conman -p "baseball park" "home run"</p>


</div>
</div>
In this example, &quot;baseball park&quot; is the name of the connection and &quot;home run&quot; is the password. The password of the connection &quot;baseball park&quot; is changed to &quot;homerun&quot;.<br />
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".<br />
<br />
<br />
Example 3:
Example 3:
<div class="indent">
<div class="indent">


<p>conman -p &quot;baseball park&quot; &quot;First\&quot;base&quot;</p>
<p>conman -p "baseball park" "First\"base"</p>


</div>
</div>
In this example, the password for the connection &quot;baseball park&quot; is changed to 'First&quot;base'.<br />
In this example, the password for the connection "baseball park" is changed to 'First"base'.<br />
<br />
<br />
Example 4:
Example 4:
<div class="indent">
<div class="indent">


<p>conman -p &quot;baseball park&quot; &quot;hits\\errors&quot;</p>
<p>conman -p "baseball park" "hits\\errors"</p>


</div>
</div>
In this example, the password for the connection &quot;baseball park&quot; is changed to &quot;hits\errors&quot;.<br />
In this example, the password for the connection "baseball park" is changed to "hits\errors".<br />
<br />
<br />
Example 5:
Example 5:
<div class="indent">
<div class="indent">


<p>conman -p &quot;baseball park&quot;<br />
<p>conman -p "baseball park"<br />
<br />
<br />
-or<br />
-or<br />
<br />
<br />
conman -p &quot;baseball park&quot; &quot;&quot;</p>
conman -p "baseball park" ""</p>


</div>
</div>
Line 156: Line 156:
<div class="indent">
<div class="indent">


<p>conman.exe -q-p <code>Connection Name </code> &quot;<code>Password</code>&quot;</p>
<p>conman.exe -q-p <code>Connection Name </code> "<code>Password</code>"</p>


</div>
</div>

Latest revision as of 13:53, 21 July 2020

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