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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source