| Configuring Terminal Services Gateway using WMI |
| Wednesday, 01 July 2009 by Michel Roth | |||
|
All code blocks are picked from proof-of-concept demo and they
do not represent "in production" state of the code.
Background Employees that are away from the office premises are
in constant need of accessing internal resources. Letting people to
access their own office computer gives most familiar feeling while
being away. Opening such a connections from the Internet some
measures to secure, manage and handle these connection were needed.
To do this without burdening the administrators, an automatic
service that does the Terminal Services Gateway configuration for
the end-user was developed. This article shows a way to manage one
part of TS Gateway server configuration. Using the Code
System.Management namespace needs to be added before the code
works. Also the methods expect you to have a user gorup on your
server. Name of the group in this case is 'RAP_TEST'. If you are
part of a domain or if you have an active directory service
running, you can use 'DOMAINUserGroup' like groups as well.
Show/Hide comment form
|
|||

