Environment
Directory and Resource Administrator 8.x
Situation
Which Windows Terminal Server (WTS) properties can be updated using the Directory and Resource Administrator Command Line Interface?
Can I update Windows Terminal Server (WTS) properties from the Directory and Resource Administrator Command Line Interface?
How can I update Windows Terminal Server (WTS) properties from the Directory and Resource Administrator Command Line Interface?
Can I update Windows Terminal Server (WTS) properties from the Directory and Resource Administrator Command Line Interface?
How can I update Windows Terminal Server (WTS) properties from the Directory and Resource Administrator Command Line Interface?
Resolution
Directory and Resource Administrator allows the modification of the following WTS fields through the CLI:
- WTSALLOW - Updating this property grants or denies the account the ability to authenticate through a Terminal Server session. The syntax for updating this property is as follows:
EA /domain:domain USER username update wtsallow:yes
- WTSHOMEDIR - Updating this property specifies the Terminal Services home directory path for the user account. The syntax for updating this property is as follows:
EA /domain:domain USER username update wtshomedir:path
- WTSHOMEDIRDRIVE - Updating this property modifies the drive letter that the user's Terminal Services home directory path is mapped to. The syntax for updating this property is as follows:
EA /domain:domain USER username update wtshomedirdrive:<drive>
NOTE: It is necessary to spell out yes and no. Do not use just Y or N.
Note
The Terminal Server profile path for a user account can be updated using the CLI in DRA version 8.0 and later.
Additional Information
Formerly known as NETIQKB7671
For more information please refer to The Command Line Interface (CLI) topic in the online Help for DRA or the Appendix A in the Administrator Guide for DRA & ExA.
For more information please refer to The Command Line Interface (CLI) topic in the online Help for DRA or the Appendix A in the Administrator Guide for DRA & ExA.