Removing a dead host from a XenServer Pool

April 12th, 2010 by SylvesterP No comments »

There are 2 steps to remove a dead host from a pool:

1. Making sure that the Vm’s that were running on that dead host are not in a running state.

2. Then Forget the host from the Pool.

First list the “running” user VMs.

root@localhost ~# xe vm-list resident-on=<host uuid> is-control-domain=false
uuid ( RO) : xxxxxxxx-xxxxxxx-xxxxxxxxx-xxxxxx
name-label ( RW): onslave
power-state ( RO): running

**”is-control-domain=false”= ignore “Control domains”**

You need to make sure the VM not in a running state .

root@localhost ~# xe vm-reset-powerstate uuid=xxxxxxxx-xxxxxxx-xxxxxxxxx-xxxxxx –force

Now forget the dead host.

root@localhost ~# xe host-forget uuid=<host uuid> –force

Printers do not Appear in User’s Sessions if using a Session Printer Policy in XenApp running in Windows 2008

March 12th, 2010 by SylvesterP No comments »
Document ID: CTX121380

Symptoms

Auto-created, auto-connected, and session printers fail to appear for users when connecting to a seamless published application on XenApp 5.0 running in a Windows 2008 server when a session printer policy is in effect.

Cause

In contrast to Windows 2003, Windows 2008 by default prompts non-administrators before installing a driver. This prompt does not appear in the seamless sessions therefore users cannot interact and do not see their printers as desired.

While this is triggered by the Session Printer policy, it affects the auto-creation process because it is waiting for this phase to complete.

Resolution

Ensure the Point and Print Restrictions policy on the server is properly set. There are a few ways of accomplishing this which are thoroughly covered by Microsoft’s Print Management Step-by-Step Guide.

Here is one of the simpler ways of setting this policy:

1. Run gpedit.msc;

2. Navigate to User Configuration, Administrative Templates, Printers;

3. Edit the properties for Point and Print Restrictions:

    a. Set Security Prompts > When installing drivers for a new connection to Do not show warning or elevation prompt.

    b. Set Security Prompts > When updating drivers for an existing connection to Do not show warning or elevation prompt.

4. Click OK to apply these changes and test a connection as regular user, the printers should now be present.

More Information

This article does not take into account the environment’s security requirements. It assumes the drivers in use are compatible with Citrix and Terminal Services and that the users should have the option to install printers drivers.

Common SSL Error Messages, and Respective Cause and Resolution

March 11th, 2010 by SylvesterP No comments »

Summary

This document contains some of the Secure Socket Layer (SSL) related error messages that an Independent Computing Architecture (ICA) client might return when attempting to connect to a MetaFrame server or published application using SSL. Additionally, the document contains the respective resolution for the error messages.

Refer to CTX113309 – Presentation Server Client SSL Error Codes for the various SSL error codes.

Various SSL Related Error Messages and the Resolution for the Same

The following is the list of some of the SSL-related error messages that an ICA client might return when attempting to connect to a MetaFrame server or published application using SSL:

  • Error Message: Troubleshooting SSL Error 4 with Secure Gateway
  • Error Message: SSL security context is invalid or expired (SSL 15).
    Resolution: Upgrade the Win32 ICA client to version 6.30.1050 or later.
  • Error Message: Cannot connect to the Citrix MetaFrame server. There is no route from the Citrix SSL Relay to the specified subnet address (SSL error 37).
  • Error Message: SSL Error 37: The proxy could not connect to ;10; (STA server);(sid) port 1494”
  • This problems seems to occur only when the XenApp server and ICA Client are using different DNS servers
  • Resolution: Enabling XML Service DNS address resolution allows a XenApp server to return the fully qualified domain name (FQDN) to ICA Clients using the Citrix XML Service
  • Error Message: The Citrix SSL Relay sent a close alert (SSL Error 43)” or SSL Error 4.
    Resolution: Refer to the following Knowledge Center article:
  • Error Message: The Remote SSL peer sent a bad certificate alert. (SSL Error 49).
    Resolution: Upgrade the Macintosh ICA client to version 6. 20.142.
  • Error Message: The remote SSL peer sent an unrecognized alert (SSL Error 55)….Error : 132
    Reason: The SSL Error 55 is caused by an invalid certificate or a missing root certificate.
    Resolution: Install an appropriate certificate.
  • Error Message: Security alert: The name on the security certificate does not match the name of the server (SSL error 59).
    Reason: The ICA Client is attempting to connect to the server using its NetBIOS name, IP address, or a fully-qualified domain name (FQDN) that does not match the subject of the server’s certificate. To connect successfully, the ICA Client must connect using the DNS name of the server exactly as it appears on the server certificate.
    Resolution: In the NFuse scenarios, you must set AddressResolutionType=dns or dns-port in nfuse.conf and enable DNS name resolution on the farm properties panel in the Citrix Management Console. Refer to the following documents for more information about DNS name resolution:
    • The server certificate received is not trusted (SSL error 61).
    • Cannot connect to the Citrix (XenApp or Presentation) Server.
  • Error Message: Any of the following error messages:
    SSL Error 61: You have not chosen to trust “Common”, the issuer of the server’s security certificate.
    Reasons: The following are the probable reasons for these error messages:
    • The required Certificate Authority (CA) Root certificate is not installed on the client device.
    • If the server certificate was issued by an intermediate certification authority, the Win32 ICA Client version 6.20.985 does not connect using SSL. This is a client-side issue that affects the 32-bit ICA Client Version 6.20.985 connecting through the Citrix SSL Relay Service or Citrix Secure Gateway.
    • The validity of the server certificate presented also relies on the client date and time. The SSL error 61 has is also displayed if the client time is outside the validity period (date time stamp) of the server certificate.
    • Administrator might have configure Citrix Secure Gateway to have the client log in to the Web Interface site, which then redirects the client to the Citrix Secure Gateway appliance after the application has started. The Secure Gateway appliance proxies the connection. If DNS is not correct, the client machine might be directed or resolved to a site that it actually does not trust. When directly accessing the Citrix Secure Gateway Server from the client machine, the client displays the following security alert:
    If you display the certificate, it indicates that it was not from the Citrix Secure gateway site.
    Resolutions: The following are the probable resolutions for these error messages:
    • If you are using a well-known public certification authority, such as VeriSign, Baltimore, Thawte, or RSA, then the required root certificate already exists on the client devices running a recent copy of Windows. However, if you either are using your own certificate server to generate server certificates or a trial certificate from a CA, you need to install the CA Root certificate on all client devices for them to connect. For more information about CA Root certificates and the necessity of the same, refer to the white paper CTX16830 – Using the Citrix SSL Relay.
    • If the issue related to the client-side affecting the 32-bit ICA Client Version 6.20.985 connecting through the Citrix SSL Relay Service or Citrix Secure Gateway is resolved in versions 6.20.986 and later of the Win32 ICA Client. You can download the latest version of the Win32 ICA client from the Citrix Web site.
    • If the issue related to the client date and time being invalid, then adjust the client time to reflect the current and date.
    • For the DNS resolution issue, ensure that the DNS is properly configured between the client computer and the FQDN of the Citrix Secure Gateway Server.
  • Error Message: The connection was rejected. The SSL certificate is no longer valid. Please contact your Citrix Administrator (SSL error 70).
    Reason: The server certificate installed on the MetaFrame server is not yet valid or has expired. A common problem observed when using Microsoft Certificate Services to generate digital certificates in-house is that the period of validity might not begin until the day after the certificate is generated.
    Resolution: The SSL server certificates typically have a fixed set of valid dates. The system clock of the client devices as well as the server must be set to a time that falls within that range for an SSL connection to succeed. To determine the validity date of your server certificate, double-click the certificate file and notice the Valid from and Valid to fields.
  • Error Message: On the Macintosh computer, one or more of the root certificates in the keystore are not valid (SSL error 73).
  • Error Message: SSL Error 82: The Security certificate (TheNameOfYourCertificateAuthority) is not suitable for use in SSL connections. Reason: Unsuitable Netscape Usage Extension field.
  • Error Message: Cannot connect to the Citrix (XenApp or Presentation) Server. There in no Citrix SSL server configured on the specified address.
  • Error Message: Cannot connect to the Citrix (XenApp or Presentation) Server.
    The Citrix SSL Server you have selected is not accepting connections.
    Reason: The Citrix server default port number might have been changed from 1494 to another port number.
    Resolutions: The following are the probable solutions for this issue:
    • Ensure that the ipv4-port address resolution is configured on the NFuse server.
    • Check and ensure that the wfclient.ini file has the appropriate ProxyType=Auto setting.
    • Ensure that the STA UID listed in the Access Management Console and Secure Gateway Configuration Wizard is valid. An in-place upgrade of Presentation Server 4.0 to Presentation Server 4.5 or XenApp 5.0 modifies the UID value in the CTXSTA.config file. Reconfigure a valid STA using the Secure Gateway Configuration Wizard and the Access Management Console.
    Note: For Presentation Server 4.0 and later, append the :<port number> entry for the XML Service port, which must match the STA port.

More Information

Refer to CTX108361 – The Access Suite Console for Advanced Access Control Shows Different STAs Using the Same STA ID for more information.

Optimizing Windows 7 for XenDesktop 4

March 8th, 2010 by SylvesterP No comments »

Introduction

With the release of XenDesktop 4, Windows 7 is now a supported operating system for XenDesktop. Since Microsoft announced the end-of-life for Windows XP many institutions are considering moving their user population to Windows 7. Since Microsoft and Citrix work closely together, I was assigned to work at their Enterprise Engineering Center on some preliminary scalability testing XenDesktop 4 on Microsoft Hyper-V 2008 R2. Out of that joint operation, came several recommendations around deploying Windows 7 with XenDesktop which I wanted to get out to the field and disseminated as quickly as possible.

Microsoft has built Windows 7 as a virtualization-aware operating systems and as such it is already optimized for such an environment. However, my initial investigation has yielded the following performance optimizations that can be further applied to Windows 7 when deploying it via XenDesktop (XD) and/or Provisioning Services (PVS). Of course, as in the original [Windows XP Optimization blog|ocb:/2008/10/24/Windows XP Performance Optimizations for XenDesktop and Provisioning Server vDisks|Windows XP performance optimizations], none of the optimizations below are required, but they can be used if you want to streamline your Windows 7 desktop delivery. Used for this blog was Windows 7 Enterprise Edition.

Installing Windows 7

This may be obvious, but when creating the virtual hard disk (VHD) to store the Windows 7 image, use the Windows 7 Diskpart utility, not the Windows XP/2003 version. In other words, do not create the VHD from a Windows Server 2003 host and then install Windows 7 on it. The Windows XP/2003 version of Diskpart places a disk signature to the beginning of the disk and then starts the partition in the last few sectors, guaranteeing that the file system blocks will be out of alignment with the underlying storage system. I don’t want to spend a lot of time here on disk alignment issues, but if you want to know more about disk alignment, check out section 3.3 of the Virtuall (PQR) whitepaper on VDI storage, available at http://virtuall.eu/download-document/vdi-storage-deep-impact.

If Provisioning Services will be used, create virtual machines with multiple network interface cards (NIC) in the operating system image and on the underlying hypervisor hosts. Create two networks, one without a gateway to manage the streaming data from the provisioned server and one network that has a gateway for all other traffic. If you are planning on using Windows 7 with Microsoft Hyper-V, you will need two network cards – one will be the legacy network adapter for the PXE booting with provisioning services and the other will be the synthetic network adapter used for all other network traffic. The dual NIC configuration will provide the best performance on Hyper-V, since the synthetic NIC is optimized for a virtualized environment and has a higher throughput than the legacy NIC required for PXE booting. When the host is not Hyper-V, dual NICs will still allow the “disk traffic” from PVS to be separated from the normal ICA and network traffic of the workstation.

Also, if using Provisioning Services, do not join the Windows 7 image to the domain prior to creating the vDisk image. Create the vDisk and then boot from the vDisk image in private mode, join it to the domain. After the machine reboots from the domain join, install the Virtual Desktop Agent, shut it down and switch the vDisk to standard (read-only) mode and use that version of the vDisk for XenDesktop. For more information on the process of creating a vDisk image, see the Citrix Knowledge Base article CTX121028 – http://support.citrix.com/article/CTX121028.

Removable Windows 7 Features

Once you have installed Windows 7 into the VHD, you will find many new features. Windows 7 with its media-rich focus does install a couple of features that can be removed before taking an image if the users will be accessing Windows 7 through XenDesktop. Here are the features I saw installed with Windows 7 Enterprise that can most likely be uninstalled in the XenDesktop environment.

  • Windows Media Center: XenDesktop users are unlikely to be watching TV on their desktop.
  • Windows DVD Maker: Most users will not be creating DVDs through their XenDesktop.
  • Tablet PC Components: Users of XenDesktop are not likely to be using a tablet PC for connectivity.

Please note that if you are reviewing these optimizations to use FlexCast technologies to deliver locally streamed desktops, you may want to leave these features engaged, since users could be doing any of those tasks listed above.

Run the XenConvert Optimizer

The quickest way of optimizing Windows 7 is to use the optimizer that comes with XenConvert. The XenConvert Optimizer tool will automatically set the correct values on a Windows 7 operating system for many of the items that I had included in the previous Windows XP blog. The optimize button can be found on the following screen in XenConvert:

Once you click the button, you are presented with a box that allows you to deselect the optimizations that are not required in your environment. Items that are labeled “Vista” work on “Windows 7″ as well. The screenshot below shows the optimizations available from the tool:

Hint: The Optimizer can be manually executed outside of XenConvert by running C:\Program Files\Citrix\Provisioning Services\TargetOSOptimizer.exe.

Unfortunately, the optimizations usually upset the Windows Security system because it disables Windows Update. After optimizing, the Action Center will now show a message with an error. To stop the message, go to the Action Center and disable security messages for Windows Update and any other services that you have other software to support. For instance, in my environment I am using McAfee Security for the other options, so I have stopped the warning messages from appearing in Action Center.

Settings for the Default User Profile

This section lists a few of the settings that will improve the user experience but are set at the user profile level. Keep in mind that creating a default user profile in Windows 7 is quite a bit more complex than in previous versions of Windows. I have provided guidance around how to modify the default user profile at the end of this section, but you might want consider applying these changes through Active Directory Group Policy.

Force Offscreen Compositing for Internet Explorer

This setting is disabled by default in Windows 7 with Internet Explorer 8 and is still recommended for XenDesktop 4. Turning this setting off removes any of the flickering that may display when using Internet Explorer through XenDesktop, by telling Internet Explore to fully render the page prior to displaying it. To change it, complete the following steps:

1.    Open Internet Explorer
2.    Select Tools >> Internet Options from the menu
3.    Select the Advanced tab
4.    In the Browsing section, enable the checkbox for “Force offscreen compositing even under Terminal Services
5.    Click OK to save the changes
6.    Restart Internet Explorer

More information available at http://support.microsoft.com/kb/271246/en-us

Remove the Menu Delay

With Windows 7, the Start menu has a built-in delay of 400 milliseconds. To speed the menu response time, follow these steps to remove the delay:

1.    Start the Registry Editor (Regedit.exe)
2.    Navigate to HKEY_CURRENT_USER\Control Panel\Desktop{color}
3.    Set the value of MenuShowDelay to 0
4.    Exit the Registry Editor

Remove Unnecessary Visual Effects

Disabling unnecessary visual effects such as menu animations and shadow effects that generally just slow down the response time of the desktop. Keep in mind that right now XenDesktop 4 with Windows 7 doesn’t support the Aero effects but that is on the roadmap.

1.    Open Control Panel
2.    Select the System applet
3.    Click Advanced System Settings on the left
4.    Click the Settings button under the Performance section
5.    Click “Adjust for best performance” radio button
6.    If you want to keep the ClearType font settings, enable the “Smooth edges on screen fonts” checkbox
7.    If you want to keep the XP Visual Style, scroll to the bottom and check the last box titled “Use visual styles on windows and buttons
8.    Click OK twice to close the dialogs and then exit the System Properties screen

Set the Default Behavior for the Power Button

When using XenDesktop 4, setting the default behavior to “Log off” will be the best action. Users can still select other available options, but this selection will probably make the most sense and allow the Desktop Group settings to control whether the virtual workstation reboots or not at logoff. To change the default setting, complete the following steps.

1.    Right-click the Taskbar or Start button
2.    Click Properties
3.    Select the Start Menu tab
4.    Select the appropriate action under Power button action:
5.    Click OK to save the default action

Make the User Profile the Default User Profile

Since the changes above apply to every user, the quickest way to apply them for all users logging onto the workstation is to set them in the default user profile. In Windows XP you could copy the profile over to the default user, however in Windows 7 the “Copy To” button has been disabled for every profile except the Default User (the one you are most likely to replace). Instead now with Windows 7 there is only one method of replacing the default user profile, which is to use the “CopyProfile” function of Sysprep. If you don’t know how to do this, (and I did not want to learn it) you might want to check out the following Microsoft Support article, “How to customize default user profiles in Windows 7” –http://support.microsoft.com/kb/973289

For those readers wanting a bit more background as to the changes and options available, you can check out the Deployment Guys blog at http://blogs.technet.com/deploymentguys/archive/2009/10/29/configuring-default-user-settings-full-update-for-windows-7-and-windows-server-2008-r2.aspx.

Not wanting to “sysprep” my Windows 7 golden image, I went looking for an easier solution. I found it. I used the Forensit User Profile Manager 1.6 Vista tool available at http://www.forensit.com/desktop-management.html. This is a free tool (at least right now) and it replaces the Windows 7 profile management dialog with their own which will allow you to copy over the default profile. When you remove it, (which I did so the vDisk users will not be able to manage profiles) the default behavior returns and you cannot choose the “Copy To” any more.

NOTE: As before, be sure to remove any user or machine specific data for the ICA Client, the ICA Streaming Client, Password Manager, and EdgeSight before copying the profile over. Since the image prep for these items is beyond the scope of this blog, I will save it for a topic another day.

Settings for the Machine

This section provides a list of the optimizations that will affect all users of the image. These settings are usually set after logging in as an administrator. Several of the optimizations from the Windows XP blog are handled when using the XenConvert Optimize tool mentioned at the beginning of the blog. This section represents the remaining ones.

Power Configuration Settings

Two of the power settings can adversely affect the performance of Provisioning Services. One of them is the hard disk power savings. If the PVS server is using a local hard disk for the vDisk cache, you do not want the operating system to power down the local drive. The other setting is the Hibernate setting. The PVS Optimizer tool will disable hibernating, but you can manually do it as well. Here are the steps for disabling the power settings:

1.    Open Control Panel
2.    Select the Power Options applet
3.    Click Change Plan Settings
4.    Click Change Advanced power settings
5.    For the default power scheme, set “Turn off hard disks after” setting to Never
6.    You may want to repeat this procedure for the other power plans
7.    Click OK to save the changes
8.    Exit the Power Options applet

Modify the Windows Service Timeout

With Windows 7, the possibility still exists that in environments with large amounts of virtual machines rebooting simultaneously that Virtual Desktop Agent (VDA) may fail to register because the Windows Service timeout is reached before Citrix Desktop Service starts. I recommend changing the 30-second default to 120-seconds to give the service plenty of time to start before the Citrix Desktop Service starts.

1.    Start Registry Editor (Regedit.exe)
2.    Navigate to the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
3.    If the ServicesPipeTimeout value is not present, use the following steps to create it:
a.    Click theControl
b.    On the Edit menu, point to New, and then click DWORD Value
c.    Type ServicesPipeTimeout, and then press Enter
4.    Right-click the ServicesPipeTimeout key and then click Modify
5.    Click Decimal
6.    Type 120000, and then click OK (120-seconds in milliseconds)
7.    Quit the Registry Editor
8.    Reboot for the changes to take effect

Disable Remaining Unnecessary Services

You can go through the list of other services that are configured on Windows 7 and disable any ones that will not be used in your environment. One nice thing about Windows 7 is that some of the more critical services will explain in the description what will not work if the service is disabled. Here are few services that you may be able to disable:

Function Discovery Resource Publication: Publishes this computer and resources attached to this computer so they can be discovered over the network. If this service is stopped, network resources will no longer be published and they will not be discovered by other computers on the network. If the device will not be sharing any resources, you can safely disable this service.

Background Intelligent Transfer Service: Transfers files in the background using idle network bandwidth. If the service is disabled, then any applications that depend on BITS, such as Windows update or MSN Explorer, will be unable to automatically download programs and other information. In most instances this service can be disabled safely since auto-updating features are disabled for standard (read-only) vDisks.

Desktop Windows Manager Session Manager: Provides Desktop Window Manager startup and maintenance services. Basically, it is used or Aero and other special effects, like transparency and glass window frames, 3-D window transition animations and Windows Flip. If you are following the guidelines above to reduce most of the special effects, or the video card drivers on the host does not support Aero, you can safely disable this service.

Theme Service: Provides user experience theme management. As above, if you are following the guidelines above to reduce most of the special effects this is a prime candidate for being disabled.

Offline Files: The offline files service performs maintenance activities on the offline files cache, responds to user logon and logoff events, implements the internals of the public API, and dispatches interesting events to those interested in offline files activities and changes in cache state. Since most XenDesktops will be running in a data center remotely, the need for offline files and synchronization is not present.

Most of the other services are not set to automatic startup in the Enterprise edition, so I didn’t bother reviewing them.

Final Recommendations

Here are few final recommendations, two of which are carry-overs from the Windows XP optimization blog that I believe still apply for Windows 7.

Flush the DNS cache

Although I have not had any issues with Windows 7 and ip address caching, I am leaving this recommendation in the list because it will not hurt anything and it only takes 10 seconds to complete. Flush the DNS Cache using the ipconfig /flushdns command. This prevents any IP addresses cached on the read-only disk from interfering with DNS resolution at a later date.

Run ChkDsk

This recommendation is a good idea since it verifies the file system or disk has no missing file links. Run chkdsk -f from a command prompt and verify that no issues are present.

Re-enable Windows Security Center

The XenConvert process seems to disable the Windows Security Center service resulting in yet another message in the Action Center. Unfortunately, I was unable to find any way to disable that message. So my current solution was to just re-enable Security Center after XenConvert disabled it during the image creation process and leave all the other warning messages disabled as mentioned at the beginning.

Wrapping it up

I realize that Windows 7 is a new operating system and as I learn more about its behavior, I will try to get that information out here on my blog. Of course comments are welcome if readers have optimization ideas that they have tried with Windows 7 and either XenDesktop or Provisioning Services.

As for my next blog topic, I am quite excited to share with you information regarding my experience at the Microsoft EEC which focused on testing XenDesktop 4 with Windows Server 2008 R2 Hyper-V. Stay tuned!!

Information Courtesy of Citrix Community

http://community.citrix.com/display/ocb/2010/01/15/Optimizing+Windows+7+for+FlexCast+Delivery

Enable or Disable HDX MediaStream Flash

February 25th, 2010 by SylvesterP No comments »

HDX MediaStream Flash is available in Citrix XenApp Feature Pack 2. Once you install Feature Pack 2, this feature will automatically be enabled.

Instead of using your XenApp server to process and render the Flash application or video (impacts your server scalability), HDX MediaStream for Flash leverages resources available on the user’s Windows device. Thus, resulting in two key benefits: 1) users are happy (good) because they have a local like experience with the Flash content (no more A/V sync issues or video jitter), and 2) administrators can free up server resources to do more important things or accommodate more users. Needless to say, I’m very excited about this feature in Feature Pack 2

To enable and disable HDX MediaStream for Flash from the server HDX MediaStream for Flash is enabled on the server for client-side rendering by default. You can enable and disable HDX MediaStream for Flash from the server through the Group Policy Object Editor. HDX MediaStream for Flash is disabled when either the Computer Configuration or User Configuration settings are configured as disabled.

1. In the Group Policy Object Editor, expand either the Computer Configuration or User Configuration node.

2. Expand the Administrative Templates node and select HDX MediaStream for Flash – Server.

3. From the Setting list, select Enable HDX MediaStream for Flash for connections to the server and open the Properties dialog box.

4. Select Not Configured, Enabled, or Disabled.

5. For the policy to take effect: • Computer Configuration: Restart all computers in the organizational unit. • User Configuration: Users in the organizational unit must log off and then log on to the network

Setting up OpenFiler to work with XenServer 5.5

February 4th, 2010 by SylvesterP No comments »

Openfiler is an operating system that provides file-based network-attached storage and block-based Storage area network. It was created by Xinit Systems, and is based on the rPath Linux distribution. It is free software licensed under the GNU General Public License version 2. Its software stack interfaces with open source third-party software.

Download the following document to find out how to setup OpenFiler with Citrix XenServer.

download

Regards

Disable DEP in Vista/Windows 7

January 7th, 2010 by matthewp No comments »

1. Click Start
2. Click All Programs
3. Click Accessories
4. Right Click on Command Prompt
5. Left click on Run as Administrator
6. Click the Allow button if it asks you for permission
7. Type or copy and paste this into the command prompt window:

bcdedit.exe /set {current} nx AlwaysOff

8. Hit enter and you should see the confirmation: Operation Completed Successfully
9. Reboot and DEP should be off.

How to install Citrix ICAClient under uBuntu

January 4th, 2010 by matthewp No comments »

*Update: This will work with the newer Citrix Receiver 11 for Linux and later uBuntu versions

* Download Citrix 10 ICAclient for Linux (in tar.gz version)
* Note: I have problem with the .rpm version even I managed to convert
to .deb version
* $sudo apt-get install libxaw6 libmotif3
* $sudo tar xvfz en.linuxx86.tar.gz
* $sudo ./setupwfc

Citrix Presentation Server Client 10.0 setup.
Select a setup option:

1. Install Citrix Presentation Server Client 10.0
2. Remove Citrix Presentation Server Client 10.0
3. Quit Citrix Presentation Server Client 10.0 setup

Enter option number 1-3 [1]:1

* Enter 1. Install Citrix Presentation Server Client 10.0

Please enter the directory in which Citrix
Presentation Server Client is to be installed.

[default /usr/lib/ICAClient] or type “quit”
to abandon the installation: /usr/lib/ICAClient

* You can choose to enter different folder. I choose: /usr/lib/ICAClient

You have chosen to install Citrix Presentation Server
Client 10.0 in /usr/lib/ICAClient.

Proceed with installation? [default n]: y

* Enter: Y to continue

CITRIX(R) LICENSE AGREEMENT

Use of this component is subject to the Citrix license
covering the Citrix product(s) with which you will be
using this component. This component is only
licensed for use with such Citrix product(s).

CTX_code EP_T_A34320

Select an option:

1. I accept
2. I do not accept

Enter option number 1-2 [2]: 1

* Just a license stuffs, Enter: 1. I accept

Installation proceeding…

Checking available disk space …

Disk space available 588136 K
Disk space required 4964 K

Continuing …
Creating directory /usr/lib/ICAClient
Core package…
Setting file permissions…
Integrating with browsers…
Browsers found.

Found entries in browser configuration(s) from an earlier
installation. Do you want these entries to point to the
new installation? [default y]: y

* Enter: y to integrate with your Mozilla Firefox browser

Integration complete.

Found KDE or GNOME desktop entries from an earlier
installation. Do you want these entries to point to
the new installation? [default y]: y

* Enter: y to make sure your Citrix Client install in Gnome or KDE
* Enter: 3. Quit Citrix Pesentation Server Client 10.0 setup
* $cd /usr/lib/ICAClient
* $sudo ./wfcmgr
* I guess you will see an ugly font display on your screen as mention in ubuntuforums here.
* To make it display nicely, please download a customized script here.
* Run $chmod +x citrix-icaclient-10-ubuntu
*

user1@planetmy$ export ICAROOT=/usr/lib/ICAClient

*

user1@planetmy$ sudo bash citrix-icaclient-10-ubuntu

citrix.sh Version 0.7
Patching Citrix ICAClient 10.0 on Ubuntu 7.04,
continue [y/N] ?: y
Using ICAROOT=/usr/lib/ICAClient
patching file nls/en/UTF-8/Wfcmgr
patching file nls/en/Wfcmgr
DONE

Citrix ICAClient 10 for Ubuntu 7.04
* Close and open your Mozilla [tag]Firefox[/tag] browser to make sure it load Citrix plugins.
* chmod -R user1.user1 ~user1/.ICAClient
* Connect to your Citrix Server and choose your application.
* Enter “/usr/lib/ICAClient/wfica” to open your application if require.

Congratulations! You’re done! I hope this will help :)

Free Online Training – Citrix Essentials 5.5 for Hyper-V

December 8th, 2009 by matthewp No comments »

Description:
***** FOR A LIMITED TIME, THIS COURSE IS BEING OFFERED AT NO COST.*****

Course Overview
In this course, learners will be introduced to Citrix Essentials for Hyper-V and gain the knowledge needed to perform basic installation and configuration tasks. Through online simulations, students will install and configure key features and explore product capabilities, such as virtual storage management, site recovery, provisioning services, lifecycle management, stage management, and workflow studio.
Audience
This course is designed for IT professionals, architects, systems engineers, server administrators, engineers, Citrix Partners and Microsoft Partners.
Preparatory Recommendations
Prior to taking this course, it is recommended that students possess the following knowledge/experience:
* A basic knowledge of the purpose and goals of virtualization technology
* An intermediate familiarity with Microsoft Hyper-V
* An understanding of computing architecture, including network and storage devices, device drivers and operating systems
* Basic experience installing and administering Windows Server 2003 or Windows Server 2008
* Intermediate knowledge of network devices and site architecture, including configuring vLANs
* Basic knowledge of storage terminology and technologies, including partitions, SANs, LUNs, iSCSI, and NFS and CIFS file shares
Skills and Key Topics
Upon successful completion of this course, learners are able to demonstrate the following objectives:
* Identify requirements and process for a basic implementation of Essentials for Hyper-V.
* Describe the key features including:
* Site recovery
* Dynamic provisioning
* StorageLink
* Lab management
* Stage management
* High availability
* Execute basic functions including product installation, and demonstrate familiarity with the Administrative consol and user interface for basic operations and maintenance.
* Describe the high-level concepts of Workflow Studio.

 Estimated hours: 6

Use this link to register now

How to use Provisioning Server and XenDesktop on the same server

December 5th, 2009 by matthewp No comments »

With the new version of Provisioning Server Citrix changed the management console ports from 8000 and 8001 to 54321 and 54322. The reason for this change is so that PVS can be installed on the XenDesktop Desktop Delivery Controller without port conflicts.

The port change breaks the the XenDesktop Setup Wizard because by default the setup wizard tries to communicate with PVS on ports 8000 and 8001.

To fix this you must edit the SetupToolApplication.exe.config file that is located in the “C:\Program Files\Citrix\XenDesktop Setup Wizard” folder and change the two ports from 8000 to 54321 and from 8001 to 54322.

The Provisioning Server 5.1 release notes states that you only have to change the 8000 port but I would change both to be on the safe side.

http://support.citrix.com/article/CTX121336