Saturday, March 3

Speed up WebInterface 5.x

This issue is caused by a CRL check sent to Verisign. If the Web Interface server cannot access the internet, the CRL check fails and times out.


Wednesday, November 23

Check server's resource utilization remotely using CLI

For Active Sessions:

typeperf "\\servername\Terminal Services\Active Sessions"


For Processor time:

typeperf "\\servername\Processor(_Total)\% Processor Time"

Saturday, November 12

Session Printers in XenApp 6.5

This task divided into 3 parts:

1. Install Native printer driver
2. Replicate native printer driver using Powershell
3. Create session policy


Friday, November 4

The Citrix XTE Server service terminated with service-specific error 1 (0x1)

- no network issue
- no License Issue
- no permissions issue



Just replaced C:\Program Files\Citrix\XTE\Conf\httpd.conf from the working server and restarted the service without any issue.

Thursday, November 3

List servers and folders from Citrix console

Execute this with CScript if it is not your default script host:

Set theFarm = CreateObject("MetaFrameCOM.MetaFrameFarm")
thefarm.Initialize 1

Sub getServers(folderDN)
Set srvFolder = CreateObject("MetaFrameCOM.MetaFrameFolder")
srvFolder.Initialize 13, folderDN

For each server in srvFolder.SrvFolder.Servers
wscript.echo server.ServerName
Next

For each folder in srvFolder.SubFolders

wscript.echo folder.FolderName
getServers(folder.FolderDN)
Next
End Sub

getServers("Servers")

Tuesday, January 11

Find and backup GPOs applied to your Citrix Servers

1) Run GPRESULT on any of the Citrix / Terminal Server you want to backup GPOs from. Result will be something like below depending on your setup:


Applied Group Policy Objects
-----------------------------
  • Policy 1
  • Admin Policy
  • IE6.1 Policy
  • User Policy
  • WSUS Policy
  • Default Domain Policy

2) Copy these policy names for further reference

3) Make sure you have the GPMC installed on your domain PC used to backup the GPOs

4) The GPMC by default has some scripts that allows you to do some admin stuff with the GPOs, for instance, copy GPO from one domain to another, backup all GPOs or backup selective GPOs to be used in your test lab etc. etc.

5) I created a batch file to execute this script BackupGPO.wsf to backup some selective GPOs for my test lab. The syntax for this script is written there in the wsf itself:
Example: BackupGPO.wsf TestGPO c:\GPO-Backups /comment:"Weekly backup"

@echo off

C:

Cd C:\Program Files\GPMC\Scripts

BackupGPO.wsf "Policy 1" Destination_folder /comment:"any_comment_you_like"

BackupGPO.wsf "Admin Policy" Destination_folder /comment:"your_comments"

6) It will backed up both the group policies according to their unique ID in the destination folder

7) Same way you can use DumpGPOInfo.wsf to get the unique ID of the selective group policy

C:\Program Files\GPMC\Scripts\BackupGPO.wsf "Policy 1" /domain >”Destination_folder\Policy1.txt”

  
You are done!!!

Tuesday, December 28

Citrix Universal Print Driver for Session Printers ?!?!?! :O

It's amazing that some one has used Citrix Printing Tool 3.1 to configure Citrix UPD even for the session printer's also....interesting ?!?!?

 Follow this link for more information

http://www.xenappblog.com/2010/how-to-setup-the-citrix-universal-print-driver/

Cheers !!!

Thursday, August 5

Modify a Web Interface 5.3 Site to Authenticate at the Access Gateway when Originally Created to Authenticate at the Web Interface

Recently I was required to test some WI 5.3 customization from the external Interface through AGEE.

While configuring the external access I realized that the Authentication type of the WI was actually set to "at Web interface" whereas I wanted it as "at Access Gateway". Since site was already created and we have had made several media and configuration changes to get the desired look & feel I couldn't afford making a new site again.