Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The working directory path for the user.
This property is read/write.
Syntax
HRESULT get_TerminalServicesWorkDirectory(
BSTR *pVal
);
Parameters
pVal
Return value
None
Remarks
To set an initial application to start when the user logs on to the Remote Desktop Session Host (RD Session Host) server, you must first set the TerminalServicesInitialProgram property, and then set this property.
Examples
For an example, see TerminalServicesInitialProgram.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | tsuserex.h (include Tsuserex.h, Tsuserex_i.c) |
| DLL | Tsuserex.dll |