Pawel Serwan Blog

Citrix, Microsoft and other stuff


6 Comments

[PowerShell] Generate report of your Citrix policies

CitrixPoliciesSome time ago I needed to create report of Citrix policies configured in my Citrix XenApp 6.5 farm. I thought I can simply do that using Citrix PowerShell commands. But it occurred that it is not so simple. Other requirement was to have the report created in Word format 🙂 So I started to write a simple script that in the end does what I needed: it lists your Citrix policies, checks their configuration and then generates a nice Word document. Below you can find the source code of the script. I hope you will like it and find it useful.

Continue reading


Leave a comment

How to fix Citrix Receiver random pops up

receiver-x1-iconCitrix Receiver is important part of every XenApp or XenDesktop architecture. It has to be installed on the device from which user would like to launch Citrix resources. This is why it is important to keep it running all the time without testing limits of user patience. Recently I was reported problem with Citrix Receiver window pops up randomly like every 5 minutes. The first quick solution I thought about was to reinstall the plugin on user PC. But it of course didn’t work even though I used Receiver Clean-up Utility. I did check on Citrix forums and it occurred that this problem was happening in many different companies and there was no universal fix to that problem. So I did the troubleshooting by myself. After few attempts I finally found the root cause of Citrix Receiver pop up. It occurred that there were some orphaned entries in Citrix Receiver registry pointing to the Citrix resources that were not available anymore on my Citrix XenApp farm. Still Receiver was trying to check that and every 5 minutes was trying to refresh application list for user. And this caused a pop up of Receiver window. Continue reading


2 Comments

Citrix XenDesktop 7.7 released!

This seems to be late Christmas present for all Citrix people around the world. Citrix just released today new version of XenDesktop with number 7.7. You can get it easily from MyCitrix portal after logging into your Citrix account. Just simply visit the below page, log in and you can explore the newest version:

https://www.citrix.com/downloads/xendesktop.html

There are also additional new components available: Continue reading


1 Comment

First Look: XenApp/XenDesktop 7.6 – Part 9 (PowerShell)

Welcome in the last part of the First Look series on XenApp/XenDesktop 7.6. I made a long break since last post but luckily I found time to finish the series. Today I would like to focus on PowerShell in Citrix XenApp/XenDesktop 7.6. First let’s see what we did already:

In the first part – we have installed first Delivery Controller and setup our new XenDesktop 7.6 site.

In the second part – we have configured first site.

In the third part – we prepared the template image of Windows Server 2012 R2 that will be used by MCS service for creation of new machines that will be hosting user desktops and applications.

In the fourth part – we have upgraded XenApp 6.5 server to XenApp 7.6.

In the fifth part – we have created machine catalogs and used previously prepared master image. We attached to the site as well upgraded XenApp 6.5 server.

In the sixth part – we have delivered applications to the end users by creating delivery groups.

In the seventh part – we have configured StoreFront so that end users could launch their apps.

In the eighth part – we checked how Connection Leasing really works.

In the ninth part – I would like to show you how you can use PowerShell in XenApp/XenDesktop 7.6.

As you I hope already know PowerShell became the industry standard when it comes to the management framework, at least in Windows world 🙂 And well Citrix is part of that world of course. Good to see then that XenApp/XenDesktop provide an SDK based on a number of Microsoft Windows PowerShell version 3.0 snap-ins that allows you to perform the same tasks as you would with the Citrix Studio console, together with tasks you cannot do with Studio alone. To use SDK you need to just launch PowerShell console or PowerShell ISE if you would like to have PowerShell editor where you can write you scripts on your server with installed Citrix XenApp/XenDesktop 7.6. Continue reading


9 Comments

First Look: XenApp/XenDesktop 7.6 – Part 5 (Machine Catalogs creation)

That is the fifth part of First Look series regarding new version of XenApp/XenDesktop 7.6. In the previous parts we did the following:

In the first part – we installed first Delivery Controller and setup our new XenDesktop 7.6 site.

In the second part – we have configured first site.

In the third part – we prepared the template image of Windows Server 2012 R2 that will be used by MCS service for creation of new machines that will be hosting user desktops and applications.

In the fourth part – we upgraded XenApp 6.5 server to XenApp 7.6.

In the fifth part – we will create machine catalogs and use previously prepared master image and attach to the site upgraded XenApp 6.5 server.

Continue reading


10 Comments

First Look: XenApp/XenDesktop 7.6 – Part 4 (upgrade from XenApp 6.5)

That is the next part of First Look series regarding new version of XenApp/XenDesktop 7.6. In the previous parts we did the following:

In the first part – we installed first Delivery Controller and setup our new XenDesktop 7.6 site.

In the second part – we have configured first site.

In the third part – we prepared the template image of Windows Server 2012 R2 that will be used by MCS service for creation of new machines that will be hosting user desktops and applications.

In the fourth part – we will upgrade XenApp 6.5 server to XenApp 7.6.

I was looking forward to write this post. The are numerous reasons why I was interested particularly in upgrade path for XenApp 6.5. As you know XenApp 6.5 is the last edition of XenApp built upon IMA architecture (Independent Management Architecture). From version 7.x both XenApp and XenDesktop work on FMA (FlexCast Management Architecture). The reason for change was explained my times on many different blogs so there is only one thing I want to underline: according to Citrix FMA is much more prepared for “cloudization” of Citrix services than IMA is/was. And that’s probably true. But with replace of IMA we lost few things that were very useful: e.g. one global XenApp farm, zones and probably on the the biggest lacks: Local Host Cache. Right now Citrix is working to get some of the old IMA features back to FMA. One of them is Connection Leasing about which you can read more here.

The other reason why I was so keen to check upgrade path from XenApp 6.5 to XenApp 7.6 was the presentation of VMware Horizon 6 few months ago. Guys from VMware as one of the main advantages over available at that time XenDesktop 7.1 pointed that there is supported upgrade path from XenApp 6.5 to Horizon 6 while there was no supported path for XenDesktop 7.1. That had to sting Citrix enough as starting from XenApp 7.5 it is possible to upgrade your XenApp 6.5 server in direct way. Let’s check it then and let’s see how it works with XenApp 7.6! Continue reading


9 Comments

First Look: XenApp/XenDesktop 7.6 – Part 2 (First Site Configuration)

In the first part of the First Look: XenApp/XenDesktop series we discussed new things in this release, known issues and system requirements. We have installed as well core components on the server that hosts the Delivery Controller role. Let’s try now configure First Site. First of all we should launch Citrix Studio. xd1 Continue reading