Reduze VHD size

Hi together

How of you tried to reduze the size of a VHD/VHDX file? Did you tried the usual way within the Hyper-V console and was amazed that no option for this task is available?

ResizeVHD-01 ResizeVHD-02 ResizeVHD-03

Per default there is no “shrink”. If you search in the internet you’ll find a lot articles how to extend the disk or you’ll find references to a tool which is no more available in the net or is only for VHD not for VHDX files.

Read more

NetScaler Content-Switching for redirecting HTTP to HTTPS for multiple Domains

Hi together

I had the situation in a new Unified Gateway installation, that multiple hostnames had the same IP.
The wizards set up a Content Switching (CS) for HTTPS automatically, which can be extend with policies and target vServer.

An automatic redirect from HTTP to HTTPS will not be configured. In the good old time while each NetScaler Gateway (NSGW) vServer has its own IP, you set up a simple Loadbalancing (LB) vServer with an Redirection URL and that’s it. But what in the case above?

Read more

NetScaler Responder for Storefront

Hi Friends of NetScaler

In my last article “XML Services & Citrix Director together behind a NetScaler” I wrote about the possibility to use the same Loadbalancing (LB) vServer for XML Services and Director. But what if Storefront is installed on the same server, too?

Basically we use the same LB vServer descript in the last article again.

Add a new Host entry in your DNS server:
storefront.domain.pit = 192.168.100.30

Now we need an additional Responder policy, which
– checks the hostname (starts the hostname with storefront…?)
– checks if the URL contains not the value “StoreWeb” – indepent of case sensitive
– redirect to /Citrix/StoreWeb, if the conditions above matches:

 

add responder action Resp_Act_to_SF-StoreWeb redirect "\"/Citrix/StoreWeb\"" -responseStatusCode 302

add responder policy Resp_Pol_to_SF-StoreWeb "HTTP.REQ.HOSTNAME.STARTSWITH(\"storefront\") && HTTP.REQ.URL.SET_TEXT_MODE(IGNORECASE).CONTAINS(\"StoreWeb\").NOT" Resp_Act_to_Director

bind lb vserver lb-vsrv-PIT-XD-HTTPS -policyName Resp_Pol_to_SF-StoreWeb -priority 100 -gotoPriorityExpression END -type REQUEST

With this additional Responder Policy the next goal is reached.

 

Script: NS-RespStorefront

 

XML Services & Citrix Director together behind a NetScaler

Hey NetScaler Fans

I’ve following scenario in my environment:
– two XenDesktop Controller on which is also Director installed
– one Loadbalancing (LB) vServer on a NetScaler, which connects to both server

The goal was:
– use the SSL LB vServer for XML-Requests between Storefront and Controller with the Hostname = xmlxd7.domain.pit
– us the same SSL LB vServer for the access to the Director Site with the Hostname = director.domain.pit
… sounds easy, but
– while accessing the hostname director.domain.pit, the NetScaler should redirect to the URL /Director, but UNDER NO CIRCUMSTANCES if the LB vServer receives a XML Request

Read more

ICA Resolution-Issues with changed DPI settings

Hi Friends of Citrix

I had an interesting supportcase.

The user changed the DPI settings on his client (in this case to 150%)

 

CR-ChangeDPI-2

After the user starts an ICA session, this will be scaled with the DPI settings and cannot be changed:

CR-ChangeDPI-1 CR-ChangeDPI-3

Following settings on the processes wfcrun32.exe and wfica32.exe helps.

CR-ChangeDPI-4

If this workaround helps for ever or only temporary, I don’t know. I received this information graciously from our partner which has called us in this case, but he found the “solution” by himself.

 

Citrix Director without SSL Check

Hi together

Everyone who has worked with Citrix Director is stumbled over this message:

Director-SSLCheckMessage

The shortcut inserted by the installation is linked to a HTTP URL and not HTTPS. This is the reason for this security message. If this is annoying to you, you can disable this within IIS.

Open the Director Site within your IIS Manager and open the Application Settings:

Director-IIS-ApplicationSettings

After you change the parameter UI.EnableSSLCheck to False, the message is vanished.

Director-IIS-ApplicationSettings-UIEnableSslCheckFalse

Director-noSSLCheckMessage

More information: http://support.citrix.com/article/CTX135749
(description below)

—–

since Director 7.x

Director without Applications

Hi together

Director is in my opinion a real useful tool for the helpdesk. On little problem can be the tab “Applications” in the users details. The helpdesk sees the complete title bar of an open application and be honest, some things (filenames, titles of homepages, and so on) are not for the helpdesk’ eyes:

Director-with-Apps-DE

To avoid this you can disable the sending of this data with Registry modifications at the VDA site or you can deactivate this tab within the Director frontend.

To do the second option you’ve to open the Director site within the IIS Manager and open the Application Settings:

Director-IIS-ApplicationSettings

If you change the parameter UI.TaskManager.EnableApplications to False, the applications will be hidden but the tap with the Processes is shown furthermore and the helpdesk employee with the correct rights can kill a faulty process.

Director-IIS-ApplicationSettings-UIEnableAppsFalse

Director-without-Apps

—–

ab Director 7.x