High Availability mode in Citrix Xenapp and Xendesktop 7.x

In this new version we have this feature high availability mode. If all the delivery controller sites fail, the Virtual Desktop Agent(VDA) can be configured to run in high availability mode so that users can continue to use their desktops. With high availability mode enabled, user establishes direct ICA connection with VDA. By default if communication with delivery controller fails, high availability mode is initiated after 5 minutes which user can configure as per requirement. With high availability mode enabled, VDA tries to connect to delivery controller for 30 days. But in case…Read more …

Disable session printers in Citrix ICA sessions

Whenever administrator logs on to server, he can see all printers created from all the sessions running from server. Sometime there are application(published through Xenapp) users who gets printers from othere users in thir sessions. In order to stop printers from other sessions mapping into your administrative session, one registry tweak needs to be done. Location: HKEY_LOCAL_MACHINE\Software\Citrix\Ica\PrintingSettings REG_DWORD: AdminsCanManageClientPrinters Value: 0 This will disable connections of Session Printers during logon and reconnection. This registry can have different values depending upon various requirements. You can find other values and their impact here. Earlier in…Read more …

Powershell script to fetch Citrix Xenapp server sessions information

There are different kind of sessions created on Citrix servers. we can get various information regarding sessions either from access management console or Powershell. In this article I am sharing a script I created to get session information for couple of servers. The command I user for session information is Get-XAsession. It would give information the sessions with various details. Below script fetches Sessiontype(ICA, RDP or console), server name and user's ID. add-pssnapin Citrix.* $report = Get-XASession -ServerName Server1 | Select sessionname, servername,accountname $report += Get-XASession -ServerName Server2 | Select sessionname, servername,accountname $a = "<style>"…Read more …

Citrix Xenapp application launch lifecycle

In this article we would discuss various stages involved from typing in Citrix URL till application lunches on user’s machine. There are three stages involved in this • Application enumeration • ICA file creation • Application launch process First user launches the web browser and types in URL, it connects to web interface. Web interface returns logon page depending upon the URL entered. User then types credentials in logon page, user credentials are forwarded to web interface which forwards it to XML broker. XML broker service passes it o IMA service either in…Read more …

Copy administrative privileges among users using Powershell for Citrix Xenapp

In this article we would copy administrative privileges of one user to another. It is very tedious task to manage custom privileges using access management console. Let us assume we have a new person joining in team and he needs to be provided custom privileges as other team mates. The shortest and easy way to do this is using Powershell. First we need to create administrator with custom which you can do by using information from my previous article. Now we have custom user. Let us assume the name of user joining is…Read more …

Administrators Management using Powershell for Citrix Xenapp 6.5

Managing administrators using Powershell is critical task. One of the major advantage of Powershell is you don't need to run discovery to fetch or modify data. You just need some knowledge and confidence on you knowledge. In this article we would be managing Citrix administrators for Xenapp 6.5 using Powershell. You can create an administrator using below command.(Don't forget to add Citrix snappin) New-XaAdministrator domain\username After you create a new administrator you would get below output AdministratorName : domain\username AdministratorId : xyz AdministratorType : ViewOnly Enabled : True FarmPrivileges : FolderPrivileges : MachineName…Read more …

Publish home drive in Citrix Xenapp

Publishing installed applications in Citrix Xenapp is an easy job if you know all the required settings. You need to the server name, application path and list of user who would be given access to the application. In this post we would discuss something complicated. We would be publishing home drive of each user. Each user can be assigned a home drive, whose path is defined in user’s settings in active directory. We would be using PowerShell script to publish this application. You would first require to install Active Directory PowerShell module. Let’s…Read more …

Manage Citrix Xenapp using PowerShell

PowerShell is very powerful tool released by Microsoft. These cmdlets provide extra functionality not achievable from the GUI. With PowerShell you can automate most of things in your infrastructure. PowerShell is a command-line shell and scripting language to make administrator's life easy. PowerShell commands are called cmdlets that let you manage your environment from command-line. Citrix farms can be managed by PowerShell. In order to do that you need to install Xenapp PowerShell SDK. For Citrix XenApp 5.0 https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&productId=186 For Citrix XenApp 6.0 and 6.5 https://www.citrix.com/downloads/xenapp/sdks/powershell-sdk.html Citrix PowerShell SDK consists of three standard…Read more …

Local Host Cache(LHC) – Backbone of Citrix environment

Local Host Cache(LHC) stores subset of data store for XENAPP servers. The local host cache also provides redundancy of the data store information, if for example, a server in the farm loses connectivity to the data store. When a change is made to the farm’s data store, a notification to update the local host cache is sent to all the servers in the farm. However, it is possible that some servers will miss an update because of network problems. Member servers periodically query the data store to determine if changes were made since…Read more …