Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Development
System Services
 IMsTscSecuredSettings::StartProgram...
IMsTscSecuredSettings::StartProgram property

Applies to: desktop apps only

Specifies the program to be started on the remote server upon connection.

This property is read/write.

Syntax

HRESULT put_StartProgram(
  [in]   BSTR newVal
);

HRESULT get_StartProgram(
  [out]  BSTR *pStartProgram
);

Property value

The name of the new start program. The maximum length of this string is MAX_PATH-1 characters.

Error codes

Returns S_OK if successful.

Remarks

If the value of this property is not set, the session user's shell command will be run. The shell command will be read from the following registry value on the server:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell

Refer to Providing for RDP Client Security for more information.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

IID

IID_IMsTscSecuredSettings is defined as c9d65442-a0f9-45b2-8f73-d61d2db8cbb6

See also

IMsRdpClientSecuredSettings
IMsTscSecuredSettings

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker