This attribute specifies a home drive for the user. In a Returned by the network environment, this property is a string containing RpcGetConfigData method in a drive specification (a drive letter followed by a colon) to the WFHomeDirDrive field of which the UNC path specified in the the USERCONFIG structure. TerminalServicesCtxWFHomeDir property is mapped. To set a home directory in a network environment, the implementer MUST first set this property, and then set the CtxWFHomeDir property. This attribute specifies the path and file name of the Returned by the application that the user requires to start automatically RpcGetConfigData method in when the user logs on to the terminal server. To set an the InitialProgram field of the initial application to start when the user logs on, the USERCONFIG structure. implementer MUST first set this property, and then set the CtxWorkDirectory property. If the implementer sets only the CtxInitialProgram property, the application starts in the user's session in the default user directory. This attribute specifies the maximum duration (in Returned by the minutes) of the Terminal Services session. the RpcGetConfigData method in specified number of minutes has elapsed, the session can the MaxConnectionTime field be disconnected or terminated. of the USERCONFIG structure. This attribute specifies the maximum amount of time (in Returned by the minutes) that a disconnected Terminal Services session RpcGetConfigData method in remains active on the terminal server. After the specified the MaxDisconnectionTime number of minutes has elapsed, the session is field of the USERCONFIG terminated. structure. This attribute specifies the maximum amount of time (in Returned by the minutes) that the Terminal Services session can remain RpcGetConfigData method in idle. After the specified number of minutes has elapsed, the MaxIdleTime field of the the session can be disconnected or terminated. USERCONFIG structure. This attribute specifies a roaming or mandatory profile Returned by the path to use when the user logs on to the terminal server. RpcGetConfigData method in The profile path is in the following network path format: the WFProfilePath field of the \\servername\profiles folder name\username. USERCONFIG structure.
This attribute specifies a home drive for the user. In a network environment, this property is a string containing a drive specification (a drive letter followed by a colon) to which the UNC path specified in the TerminalServicesCtxWFHomeDir property is mapped. To set a home directory in a network environment, the implementer MUST first set this property, and then set the CtxWFHomeDir property. Returned by the RpcGetConfigData method in the WFHomeDirDrive field of the USERCONFIG structure. This attribute specifies the path and file name of the application that the user requires to start automatically when the user logs on to the terminal server. To set an initial application to start when the user logs on, the implementer MUST first set this property, and then set the CtxWorkDirectory property. If the implementer sets only the CtxInitialProgram property, the application starts in the user's session in the default user directory. Returned by the RpcGetConfigData method in the InitialProgram field of the USERCONFIG structure. This attribute specifies the maximum duration (in minutes) of the Terminal Services session. the specified number of minutes has elapsed, the session can be disconnected or terminated. Returned by the RpcGetConfigData method in the MaxConnectionTime field of the USERCONFIG structure. This attribute specifies the maximum amount of time (in minutes) that a disconnected Terminal Services session remains active on the terminal server. After the specified number of minutes has elapsed, the session is terminated. Returned by the RpcGetConfigData method in the MaxDisconnectionTime field of the USERCONFIG structure. This attribute specifies the maximum amount of time (in minutes) that the Terminal Services session can remain idle. After the specified number of minutes has elapsed, the session can be disconnected or terminated. Returned by the RpcGetConfigData method in the MaxIdleTime field of the USERCONFIG structure. This attribute specifies a roaming or mandatory profile path to use when the user logs on to the terminal server. The profile path is in the following network path format: \\servername\profiles folder name\username. Returned by the RpcGetConfigData method in the WFProfilePath field of the USERCONFIG structure.
%5BMS-TSTS%5D-160714.docx