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

Automating project documentations with AutoIT

One picture say more than a thousand words. Because this in some cases I like to include a lot of images on my project documentations. Generally, these pictures are PrintScreens of consoles and their configurations and diagrams that explain some funcionality.

Benefits when you use pictures instead pure text on project documentations:

  • You are sure that all configurations of that screen was documented;
  • It’s easy to read and find what configuration you want (if you organize on chapters);
  • Is more simple to update the documentation, after change configurations;
  • Is more clear that you made the documented configurations;
  • Using scripts you can document everything using a read-only console, without “admin” access to controls or configurations;

Continue reading

Forcing PN Agent address with Group Policies

On last year, with Presentation Server client version 10.x Citrix finally introduced a template .adm to administration of clients configurations through Windows Group Policies. This icaclient.adm template is very useful to ensure to you that all configurations were applied to all users that you want.

With this .adm you can do somethings like:

  • Configure single Sign-On for Web Interface
  • Set other user authentication configurations
  • Force policies of drive mapping, printers, microphone, clipboard, etc
  • Force graphics settings like SpeedScreen Browser Acceleration and SpeedScreen Latency Reduction
  • Simple client version control

*Remember that some configurations will Continue reading