Windows Live Alerts
EnglishDeutsch
|
Contact
|  
   
 
Start access
Article
Support Forum
SBC FAQ
XenApp/XenDesktop
Remote Desktop Services
Terminal Services
Web Interface
Tips & Tools
Sponsors 
 
Lassen Sie sich von einem Experten Beraten

Deployment Print E-mail

Questions about Deployment of Server or Application software



FAQHow can I get the Client IP Adress and Client Name on the Citrix Server!
FAQThere are Active sessions on brocken/disconnection on the Citrix Server!
FAQHow can I change the ICA settings in the CCC with a script?
FAQHow can I Bypass the Logon Script from NT/NDS etc.?
FAQFatal error after uninstall of MetaFrame XP FR2!
FAQThe CMC Shadow option is greyed out!
FAQNetwork Printers not Autocreating or slow!
FAQHow do I migrate the Access Data Store to SQL?
FAQWindows Installer starts with IE or when you delete the Citrix folder under FR3
FAQDomain User can not logon !
FAQHow do I remove dead server from the CMC?
FAQI can't logon to the CMC after changing the domain membership!
FAQHow do I set Regional Settings for different countrys?
FAQMy Publish Application is not Starting or just logs off?
FAQUser are losing connection to the MetaFrame Server, what can I do?
FAQI get the Windows Installer Error 1327 or Invalid Dirve X:, what can I do?
FAQHow to preconfigure and deploy a Citrix ICA Client?

Questions and Answers
ok, go up!
How can I get the Client IP Adress and Client Name on the Citrix Server!

Fist of all you can get this information from the Citrix Management Condole (CMC). If you need this info on the command line, then there are some options:


Client Name

  • Use the Server environment Variable %ClientName%
  • How the Win32 ICA Client determines the value for ClientName
    CTX859359 
  • Clientnames Should Always Be Unique
    CTX376489
Client IP

  • VBS Script to Return a List of Users and the Client IP Addresses
    CTX103407 
  • How to Retrieve the IP Address of Connected Clients from a Command Line
    CTX646445 
  • Download this utility from Phil
    clientip.zip 
Client Info


ok, go up!
There are Active sessions on brocken/disconnection on the Citrix Server!

Make sure you reset disconneted or brocken session after a set timeout period.

Start | run | mfcfg.exe | ica-tcp properties | Advanced...
check that On a brocken or timed-out connection the option RESET is set.

You might also want to set a Timeout value for Disconnection, so a disconnected session will NOT be reset immediately and the user get's a chance to reconnect.


 WebLinks

  • Graceful Logoff from a Published Application Keeps Sessions in Active State
    CTX891671
  • Unable to Completely Disconnect a Terminal Server Connection
    Q216783

ok, go up!
How can I change the ICA settings in the CCC with a script?

Use the TsConSec command line utility to set permissions on the RDP- or ICA protocol.


USAGE
TSConSec.exe /t:R[DP]|I[CA] /r [[/d:domain] /a:account /p[:permissions]]


 WebLinks

  • How to Reset all ICA-TCP Connections From the Command Line
    CTX922495
  • Use the RESET SESSION Command to Reset a Session in Windows 2000
    Q320192


ok, go up!
How can I Bypass the Logon Script from NT/NDS etc.?

There are many ways to do this, so this is just one possible way:


S
et an environment variable, for instance SRV=CITRIX on every Citrix Server, after that you have to reboot the Servers. Then in the NT/NDS login script add the following line

IF /I %SRV% EQU CITRIX GOTO :eof

as the the first command.



ok, go up!
Fatal error after uninstall of MetaFrame XP FR2!

When you uninstall MetaFrame XP 1.0 FR2/SP2 it might end in a disaster or as Citrix describes it as CRITICAL ERROR! So before you remove MF make sure you have installed the PN Client (XE102W076)



 WebLinks

  • Best Practices and TroubleShooting Downgrade / Uninstall Issues With MetaFrame 1.8/XP
    CTX746354
  • HotFix XE102W076 - For MetaFrame XP 1.0 for Windows 2000 Server - English
    CTX101742

ok, go up!
The CMC Shadow option is greyed out!

With FR2 installation and also with updates to FR3 you might be unable to shadow user in the CMC on a Citrix Server. First make sure the PN Client is installed on the Server since it's not the default with FR2, therefore see CTX101742 and install the HotFix.


Next check the following registry key:


[HKEY_CLASSES_ROOT\WinFrameICA\shell\open\command]
@="C:\Program Files\Citrix\ICA Client\wfica32.exe" "%1"

FR2 needs the short path
drive:\PROGRA~1\Citrix\ICACLI~1\wfica32.exe "%1"

whereas FR3 needs the long path
"drive:\Program Files\Citrix\ICA Client\wfica32.exe" "%1"

also possible

[HKEY_CLASSES_ROOT\WinFrameICA\shell\open\command]
@="C:\Program Files\Citrix\ICA Client\wfica32.exe \"%1\""

Make sure that the key has the correct path to PN *and* the double quotes. If you have a mixed Farm with MetaFrame XP 1.0 FR2 and FR3 Server you have to install HotFix XE103W2K036

 WebLinks


  • Error: The ICA Client is needed for this utility and is not installed or Shadowing is grayed out in the Citrix Management Console
    CTX103313
  • XE103W2K036 -- For MetaFrame XP 1.0 for Windows 2000 Server -- English
    CTX102608


ok, go up!
Network Printers not Autocreating or slow!

With MetaFrame XP 1.0 FR2/SP2 Citrix has changed autocreated network printing from ICA to SMB. The article CTX681954 describes (Point 11) how you can switch back from SMB to ICA. 

MetaFrame XP 1.0 SP3/FR3 has a check box in the Citrix Management Console, under the Printer Node Properties, to toggle this behavior.




ok, go up!
How do I migrate the Access Data Store to SQL?

  1. Create a new SQL Database on the SQL Server ("sa" as user)
  2. Create DSN file on the citrix server for the SQL Database and save it to
    "%ProgramFiles%\Citrix\Independent Management Architecture" let's
    say as SQL.DSN
  3. Open command line and run DSMAINT

    dsmaint migrate /srcdsn:"%ProgramFiles%\Citrix\Independent Management Architecture\MF20.dsn" /srcuser:citrix /srcpwd:citrix /dstdsn:"%ProgramFiles%\Citrix\Independent Management Architecture\SQL.DSN" /dstuser:sa /dstpwd:

    on every other server in the farm copy the SQL.DSN to the server and run

    dsmaint config /user:sa /pwd: /dsn:"%ProgramFiles%\Citrix\Independent Management Architecture\SQL.DSN"



 WebLinks

  • Advanced Concepts Guide for MetaFrame XP FR3
    CTX102497
  • MetaFrame XP Advanced Concepts - Farm Maintenance
    CTX677542  
  • Migrating a MetaFrame XP Access Database to Oracle 9i
    CTX102551
  • Error: An unknown error occurred while migrating the table...
    CTX104535

ok, go up!
Windows Installer starts with IE or when you delete the Citrix folder under FR3

 WebLinks

  • Windows Installer Appears When a User Logs On After Install
    CTX102844
  • The feature you are trying to use is on a CD-ROM... ,Please wait while Windows configures..., or You must restart....
    CTX102761
  • Event ID 1001 and 1004 in Source MSIInstaller
    CTX103585
And a workaround from the Citrix support center, change the following registry keys:

HKLM\SOFTWARE\Classes\Installer\Features\E7D590508AB4F5047A15C5C581FB0554
Locate the following key value:
Name: CTX_MF_MetaFrame_Core
Type: REG_Z
Data: MetaFrame_XP

Rename it into Wait_CTX_MF_MetaFrame_Core

HKLM\SOFTWARE\Classes\Installer\Features\E7D590508AB4F5047A15C5C581FB0554
Locate the following key value:
Name: PN_ENGINE
Type: REG_Z
Data: CTX_MF_MetaFrame_Core

Rename it into Wait_PN_ENGINE

ok, go up!
Domain User can not logon !

In most cases you are trying to logon to a Domain Controller (DC) where logins are permited to Administrator only, for security reasons. The normal users get the message "The local Policy of the system does not permit you to login interactively"

 WebLinks

  • Domain Controllers Require the "Log on Locally" Group Policy Object for Terminal Services Client Connections
    Q247989
  • Local Policy of this System does not Permit you to Logon Interactively at Logon
    CTX885124
  • Error: Local Policy of this System does not Permit you to Logon Interactively at Logon on Windows 2003
    CTX103221, Q289289
  • Novell Problem "Local policy of this system does not allow login ..."
    TDI10083157

ok, go up!
How do I remove dead server from the CMC?

Run DSVERIFY SERVERS /CLEAN /FORCE to tidy up the Data Store.
You run it from any Farm server.

Before you use Dsverify, make sure you have read:
Citrix Support Guidelines for Modifying Customer Databases.doc


Dsverify7.zip (Dsverify4.1.zip)

With MetaFrame XP 1.0 FR3 a new command line tool called DSCHECK does a similar thing:
DSCHECK /CLEAN

Use this utility instead of  Dsverify, Download DSCECHK version 3.5

ok, go up!
I can't logon to the CMC after changing the domain membership!


To delete ALL Citrix Administrator and add the local Admin accout to the Citrix datastore use the UNSUPPORTED Slim Jim utility.


 NOTE

DB2 databases are NOT supported at this time and Slim Jim is only tested with SQL 2000, Access and Oracle DS and MetaFrame XP 1.0 FR2/FR3. Slim Jim does NOT work with later versions!
Before you use Slim Jim, make sure you have read the following document
Citrix Support Guidelines for Modifying Customer Databases.doc


With the Citrix command line utility "chfarm" you can reset the Fram without installing any server again, but you have to add license, printer mappings, publish application etc.


 WebLinks

  • Changing the MetaFrame Server & Server Farm's Domain Membership
    CTX102371
  • Error: ODBC Microsoft Access Driver Login Failed
    CTX102771
  • How to Use the Chfarm Utility
    CTX736659

ok, go up!
How do I set Regional Settings for different countrys?

Most of these 'locale' settings are held in each users profile hive HKEY_CURRENT_USER\Control Panel\International

You can manipulate these settings using a reg file which imports the correct settings for each language into the registry during login.

  1. Create the relevant registry file for each country.
  2. Create domain global groups for each country.
  3. Use the iFMember resource kit utility to import the relevant registry settings based on the group (users preferred language/country).
  4. Add the iFMember syntax to the
    %systemroot%\system32\UsrLogon.Cmd script which
    runs for each user at login.


 WebLinks

  • How to ensure users have the desired regional settings
    CTX103288
  • With SetLocale you can preset a user's international settings. Designed for loginscripts, command line or shortcuts.
    setlocale.zip

ok, go up!
My Publish Application is not Starting or just logs off?

Check the AppSetup value of the hive HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

It should have a least the value data "UsrLogon.Cmd, CmStart.Exe" or with MetaFrame Prensentation Server and above "CtxHide.exe UsrLogon.cmd, CmStat.exe" If the values are not in the key, then add the missing value data.


ok, go up!
User are losing connection to the MetaFrame Server, what can I do?

Activate keepalives, and make sure that no hardware like routers, firewalls or manageble switches are configured to drop idle sessions. (most are by default)

[HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"KeepAliveTime"=dword:0000ea60
"KeepAliveInterval"=dword:000003e8
"TcpMaxDataRetransmissions"=dword:0000000a

[HKLM\System\CurrentControlSet\Control\Citrix]
"IcaEnableKeepAlive"=dword:00000001
"IcaKeepAliveInterval"=dword:0000003c

In MetaFrame XP 1.0 FR3 you have to activate ICA Keep-Alives in the Citrix Management Console (CMC)


 WebLinks

  • Configuring TCP KeepAlive Values to Improve WAN links and ICA KeepAlives to place ICA Session in a Disconnected State
    CTX708444
  • ICA KeepAlives After Applying Service Pack 1 for Windows 2003
    CTX106278
  • ICA Client Side KeepAlive Settings
    CTX105717
  • Troubleshooting Disconnected Sessions in Secure Gateway
    CTX435418

ok, go up!
I get the Windows Installer Error 1327 or Invalid Dirve X:, what can I do?

Make sure the User Profile you use to install Software on the Server, has NO folder redirection enabled.



 WebLinks


ok, go up!
How to preconfigure and deploy a Citrix ICA Client?

There are many ways to preconfigure and deploy the ica client and here is the collection from the Citrix Knowledgebase and don't forget, the client can also be deployed through the ICA client update database on the Citrix Server and also with Web Interface.

 WebLinks

  • How to Create a Preconfigured Program Neighborhood Client
    CTX466058
  • Creating a Version 8.x Ready Connect Client
    CTX106457
  • How to Create a Program Neighborhood Agent MSI Install Package Using the ICA Client Packager
    CTX104059
  • How to Perform a Silent Install for the Program Neighborhood 32-bit Full Client Enabling Single Sign-On
    CTX102934
  • ICA Client Version 8.x Deployment with Active Directory
    CTX105642 
  • How to Modify the Program Neighborhood and Program Neighborhood Agent MSI Packages for a Silent Installation
    CTX987123 
  • How to Install Only the Full Program Neighborhood Using the 8.x Client Package MSI
    CTX105327 
  • How to Install Only the Program Neighborhood Agent Using the 8.1 Client package MSI
    CTX105981 
  • Configuring Client MSI install packages for different Workstation Regional Settings
    CTX101723 
  • What are the .SRC Files in the ICA Client Directory and on the Install Disks?
    CTX336368
  • How To Allow Users Who Are Not Administrators to Install MSI Packages
    Q259459

Last Updated ( Wednesday, 22 February 2006 )

 
find or follow me @