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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html