Friday, August 31, 2012

How to install Rollup Pack 7 on Xenapp 6.5 Farm


How to install Rollup Pack 7 on Xenapp 6.5 Citrix Farm

Implementation Steps

·         Ensure that there are no existing connections on any servers
·         Ensure that the Independent Management Service is running
·         Create a folder called source and copy PSE450W2K3R07.msp
·          Proceed installation with Server(Server name)
·         Double click PSE450W2K3R07.msp located on C:\Source\
·         Reboot the server.
Post Implementation
Ø  After a deployment, ensure that all servers in the farm are updated to the same hotfix rollup pack level.
Ø  All services are running
Ø  Check Server accepts ICA connection by launching test application

Saturday, August 4, 2012

How to ensure users have the desired regional settings


Scenario
Regional settings such as currency, date/time format, and numbers are user profile-based.
In a Terminal Server/Citrix environment, users from different regions may want to retain their client-side regional settings when logging on to the server.
To set up the correct regional settings, log on to the Citrix server, select Start > Control Panel > Regional Settings. Set the correct setting and log off so the setting is written to the user’s profile.

Method 1
This method sets the users’ regional options at logon by script:

1. Create global groups based upon the users’ desired regional setting.
2. Create a test user for each global group.
3. Log on to the Citrix server with that test user and make appropriate changes within the regional options.
4. Export the registry key HKEY_CURRENT_USER\Control Panel\International.
5. Create a script (How to use Regini.exe to modify HKEY_CURRENT_USER) and call it Usrlogon.cmd.
6. When users log on to the Citrix server, they will inherit the regional settings based upon their group membership.

Friday, August 3, 2012

Citrix Xenapp 6.5 Installation step by step procedure

1. Document Scope:

This document describes the procedure to perform an initial setup of Citrix XenApp 6.5 on a Windows Server 2008 R2.
To support a globally centralized service desk it is necessary to follow this basis document’s procedures. This provides a similar Citrix environment worldwide with differences in view regional based configurations only, but nearly the same behaviour.
2. System Requirements
•    Ensure that a new database for the new XenApp 6.5 farm is available on the SQL server hosting Citrix datastores in your environment
•   Install XenApp 6.5 on the first server in the farm and perform the initial configuration.
•   Install XenApp 6.5 on member servers and perform additional configuration as necessary.

3. XenApp 6.5 installation
XenApp 6.5 Wizard based installation:-
To installing XenApp it is recommended to use the Wizard-Based Server Role Manager.On the installation media, double-click autorun.exe. The Citrix XenApp installation menu launches. Select Install XenApp Server. 
The Server Role Manager launches and checks if any roles are already installed

Select “Add server roles”. The server roles manager pops up with an edition menu. Select “Enterpris Edition” and continue.
 Confirm the License agreement. Tag “I accept.....” and click “Next”
 Choose common role XenApp  and continue with “Next”.
Do not choose any subcomponents click “Next”
The XenApp installer is checking for pre-requisites as shows a list of the missing on you system.

Confirm and continue.

The next screen displays all parts of the installation that will be performed.
Click “Install” to proceed.



The progress and finally the status of the installation will be confirmed with the next info.
Confirm with the “Finish” button. The installation is done. Now it’s time to perform a basic configuration.

Specify Licensing:- Click “Specify Licensing” within the server configuration tasks.
Enter the License server for your environment and check if the mentioned server is accessible.
Click the “Test Connection” button and the configuration will be confirmed with the popup window below.
Select license model “XenApp” and apply the settings.
Licensing is preconfigured now.
Create a new farm
The XenApp Server role manager has one configuration left. Click configure to continue. 
Create a new farm if this is the first server. The server will be automatically setup in controller mode.
Define the name of the farm which should appear in your configuration and set the account you are logged in as the first Citrix administrator account.

Here we need to provide the SQL database instance hosting the Citrix datastores, the database name and the database service account.  (Datastore details will provide once we have those information)


Enter the data and click next.

Enter the credentials of the service account configured for accessing your database  on the SQL server instance.  

The credentials below are an example:-

Perform a connection test.

A valid configuration will be confirmed like shown below.
Click ok to leave the datastore configuration.
Configure advanced settings

Keep the default settings for shadowing and confirm with the “Next” button.

Specify Data Collection settings. The fist server must be a Controller and therefore this setting cannot be changed. Use a custom zone name. Provide a speaking name for your zone as it is needed in a twin data center configuration to spread the farm of 2 DC’s.
Keep in mind that 2 controllers must be configured per DC.
Do not configure the Citrix Receiver settings on the XenApp Server. Leave it empty and continue.
Deselect “Add Anonymous Users” and “Add the list of users from the Users group” and select only “Add the Authenticated Users” as shown below. Click “Next” to confirm.



The screen below gives you an overview of what has been configured with the previous steps.
Click “Apply” button to proceed this settings .

After the configuration has been applied you will be informed like the next screen. All successful part will be shown green flagged.
The XenApp Server Role Manager displays the status of your installation.
Reboot the server and you are done.


Confirm to perform a reboot.
Congratulations! Your server has passed  installation and configuration successfully.
Uncheck “Do not show this windows at logon” .


Installation complete!!  















Monday, June 18, 2012

Take full control of devices, apps and data


From chaos to control.
Learn how to eliminate mobile and cloud chaos with an enterprise app store.
IT departments are grappling with a chaotic environment marked by exploding device heterogeneity, app proliferation and data fragmentation, all while trying to keep people productive. It’s easy to see how IT is losing control over devices, data and users. Now, with Citrix Unified Storefront you can build a secure enterprise app store and turn chaos into control:
Simplify IT with a single point of control over all apps, data, devices and users
Protect apps and data with context-aware security controls that deliver content based on role, device, location and network
Empower users with a single point of secure access from any device to all apps and data whether virtual, web, SaaS or mobile
Boost productivity with a personalised, self-service enterprise app store that seamlessly follows users from device to device
Unified Storefront delivers an enterprise app store and a more secure and agile business in just four easy steps.Learn More.

Tuesday, June 5, 2012

Various WMI Errors in Event Log


Symptoms
When viewing the Event Viewer of a Citrix Presentation Server, one of the following errors might appear in the application log of the server. A similar error message also might appear in the Access Management Console when viewing the server with the Windows Management Instrumentation (WMI) issue:
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1 
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Compute Event Rate:
WMI error retrieving object MetaFrame_DisconnectedSession_Happening:
Received error: 0x80041002: Not found 
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1 
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Session Idle Too Long:
WMI error retrieving session object:
Received error: 0x80041002: Not found 
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1 
Description: 
Citrix Monitoring Script Event 2
Citrix MetaFrame Session In Down State:
WMI error retrieving session object:
Received error: 0x80041002: Not found 
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1 
Description: 
Citrix Monitoring Script Event 2
Citrix MetaFrame Session In Down State:
WMI error retrieving session object:
Received error: 0x8004100e: Invalid namespace [WBEM_E_INVALID_NAMESPACE]
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1 
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Session In Down State:
WMI error checking sessions:
Received error: 0x80041013: Provider load failure
Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Session Idle Too Long:
WMI error checking session:
Received error: 0x80041013: Provider load failure
Cause
The WMI repositories are corrupted. It must be recreated.
Resolution
If you get this type of message, recompile the complete WMI repositories for Microsoft Windows and Citrix. Run the following commands for the recreation of these files.

  1. Recompile Microsoft Windows .MOF files:
    net stop winmgmt
    c:
    cd %systemroot%\system32\wbem
    rd /S /Q repository

    regsvr32 /s %systemroot%\system32\scecli.dll
    regsvr32 /s %systemroot%\system32\userenv.dll

    mofcomp cimwin32.mof
    mofcomp cimwin32.mfl
    mofcomp rsop.mof
    mofcomp rsop.mfl
    for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
    for /f %s in ('dir /b *.mof') do mofcomp %s
    for /f %s in ('dir /b *.mfl') do mofcomp %s 

  2. Recompile Citrix .MOF files:
    cd %programfiles%\citrix\system32\citrix\wmi
    for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
    net start winmgmt

Friday, May 25, 2012

Symantec Endpoint Protection - Operation maintenance on Citrix Servers


S

1.                  Logon to the server you wish to configure with an administrator account
2.                  Click Start, Run and type “smc –stop” then click OK.
Wait for the shield to disappear from the system tray

3.                  Browse to the SEP Client installation location
(Normally C:\Program Files\Symantec\Symantec Endpoint Protection)

4.                   Find the file SmcGui.exe under this folder and right click it
5.                  Click Copy
6.                  Create a folder under root drive name it as “SEP_Change#”
7.                  Paste the SmcGui.exe to this folder
8.                  Again Browse to the SEP Client installation location Find the file SmcGui.exe under this folder
9.                  Click Rename
10.              Rename the file “xSmcGui.exe” press Enter
11.              On the same location Click File, New and select Text Document
12.              Call the document “SmcGui.exe” press Enter, save it in C:\Program Files\Symantec\Symantec Endpoint Protection
13.              At the prompt to change the file extension, click Yes
14.               Click Start, Run and type “smc –start” then click OK. You will notice from
Task Manager that SMC starts as SYSTEM, but SmcGui does not load.

SEP Step2 _ CCApp

1.       Logon to the server you wish to configure with an administrator account
2.       Click Start, Run and type “regedit” then click OK
3.       Browse to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
4.      Export the registry key to root drive folder “SEP_Change#” and name it as “Reg_SEP”
5.       Confirm the registry export successful
6.      Find the entry ccApp and delete it