Roberto Alves

Scripting and server based computing

.vbs script to restrict access only from internet to Citrix XenApp or TS servers

This vbs script consist into two verifications to restrict access of users from internet in Citrix XenApp (Presentation Server/Metaframe) servers or Terminal Services, to be included in the session initialization. The idea of this script allow access from users from Internet just if they are in a specific Active Directory group.

In the first verification, the script checks if the current user belongs to a group called “Remote Workers. If yes, the script jumps to the end. If no, the script goes to the second verification.
Continue reading

Different procedure to rename Citrix XenApp 5 Servers

Rename a Citrix XenApp Server (Presentation Server/Metaframe) Is a very common administrative task, but many administrators ignore that Citrix has recommendations to be followed. And this recommendations are different from XenApp 4.0/4.5 than XenApp 5.

Basically, there is only one item that was included by Citrix on the procedure to rename servers. But is very important, and you can have serious problems if you don’t follow the instructions below to set in Registry to IMA service force a Localhost replication with datastore.
Continue reading

Considerations about Link consumption for XenApp/TS

To measure the Citrix XenApp (Presentation Server/Metaframe) or Terminal Services link consumption for an application the best is: publish to users and watch. Yes! Users are totally unpredictable and is very difficult to know every thing that they can do in some scenarios.

But, you always need know how much bandwidth an applications needs to be workable or how many users you can fit in a specific link. To do this you can simulate a user working in your workstation through XenApp or Terminal Services and watch the link traffic in your network card with any link analysis tool that show results in charts. Doing this, you can get some estimate results that can be useful on starter projects.

If you intend give internet access through XenApp or Terminal Services to your users, forget the analysis because anything that you write you will be designated to the near litter available, when an user open a web site with animations or high definition graphs.
Continue reading

Most hidden configuration on Citrix consoles (SMTP email alerts)

To receive emails from Citrix Resource Manager, you can set a MAPI or a SMTP address. On many organizations, is much more simple set a SMTP address than configure MAPI but since Metaframe XP 1.0, Citrix insist on “hide” this configuration under a context menu on Resource Manager option of Presentation Server Console (Java).

Even on XenApp 5, the option still there. Is funny because is total different path of Email tab configuration on Resource Manager and is a Properties menu dedicated only to this option. Forgetting the fact that this console still existing, splinting configurations and administration between too consoles.
Continue reading