EnableUserVhd method of the Win32_TSSessionDirectory class

Enables a user profile VHD on an RDSH server.

Syntax

uint32 EnableUserVhd(
  [in] string UvhdShareUrl,
  [in] string UvhdRoamingPolicyXml
);

Parameters

UvhdShareUrl [in]

The location of the share where all user profile VHDs are stored.

UvhdRoamingPolicyXml [in]

The roaming policy for the user profile VHD.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TSSessionDirectory