VMware Snapshot – What, How and Why?

Snapshots allow us to save state of virtual machine. Snapshot is not backup. Snapshot can be used when we need to make changes to virtual machines in our environment. We can save a particular state of VM and later we can either revert back to saved state or merge changes to new state. Snapshots should be taken properly, if not I will cause risk not for itself but to other machine in environment also. There are various stages in snapshot process. To begin with user clicks on VM and click on create snapshot.…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 …

Extract Citrix webinterface settings information using powershell for multiple servers

Recently Citrix replaced Citrix websites with Citrix storefront. Till 6.x we use Citrix websites to access Citrix applications. There are various settings which needs to be in place for Citrix website to work. In this article we would write a small script to get settings data for multiple Citrix websites. Citrix website settings are save in a configuration file(inetpub\wwwroot\(website)\Conf\WebInterface.conf). Most of the settings can be found here. Below script check for authentication type for all websites created on servers mentioned in Web-servers.csv(The heading for column should be servers) $servers = import-csv "C:\test\Web-servers.csv" [string]$a…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 …

Monitoring Kerberos authentication property for website using Powershell

In last couple of years, Powershell has changed IT a lot. We are doing most of tasks using Powershell now. It requires little extra effort to automate any task. For last few weeks we are having issue with our IIS web sites. We are have trouble with website authentication. We are still working on permanent solution. In IIS there is website property called Authentication. Authentication helps you confirm the identity of clients who request access to your sites and applications. IIS 7 supports Anonymous and Integrated Windows authentication by default. Below script helps…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 …

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 …

Script to stop Citrix Xenapp 4.5 services on your server.

We are facing a problem whenever the weekly reboot of servers occur the server then go into hung state. Its because some of Citrix services are not stopped properly. Here is a small VB script which will stop all Citrix services on your server. You can schedule this 15 minutes prior to your reboot. The script attempts to stop each services with interval of 15 sec. So it will take few minutes to stop the services. ' VBScript Restart Service.vbs ' -------------------------------------------------------' Option Explicit Dim objWMIService, objItem, objService Dim colListOfServices, strComputer, strService, intSleep…Read more …