RDS WMI methods


hi all,

i trying find correct method changing "user assignment" of remoteapp via wmi. documentation not describe methods win32_tspublishedapplication class.

any ideas?

regards,

james

hi james,

you're on right track. remoteapp user assignment can changed setting/modifying securitydescriptor method of win32_tspublishedapplication wmi class. class not include helper methods aid in modifying it, in standard string security descriptor format, can use standard security descriptor apis.

if can use powershell instead of wmi, can use remote desktop services powershell module, little bit easier work with. see http://blogs.msdn.com/b/rds/archive/2009/06/12/introducing-remoteapp-user-assignment.aspx for details.

hope helps,


travis howe | rds blog: http://blogs.msdn.com/rds/default.aspx


Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS