Terminal Services - Frequently Asked Citrix Questions!

[12] Frequently Asked Asp Questions!
Updated: Jun 07, 2000
[188] Frequently Asked Citrix Questions!
Updated: Oct 10, 2006
[3] Frequently Asked Sco Tarentella Questions!
Updated: Aug 16, 2002
[260] Frequently Asked Windows Terminal Services Questions!
Updated: Aug 03, 2006
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19
Help!, My icons disappeared on the Citrix ICA Toolbar, How do I get them back? 

Citrix has a KB document on doing this click here to view it.

here is some info posted to The Thin forum on this issue...
The profile for your ICABar is in HKEY_CURRENT_USER\Software\Citrix\Citrix Toolbar

ButtonPath is an array of zero terminated strings each describing the full path to the executable in the button. ButtonName is the corresponding title in the same format. Version is the version of the toolbar (i.e. 0x10000018 = Metaframe 1.8 )
Reason why the icons disappear:
The ButtonPath values are HARD CODED paths (i.e. c:\wtsrv\system32\mfcfg.exe), so if you changed the location or remapped your drive that`s one reason why the icons went away. This would also explain why re-installing or deleting the item and re-adding it causes them to reappear. (When you re-add, you browse to the app ensuring that the new hard-coded path is correct).

The registry entries are not backward/forward compatible to metaframe 1.0 so if you had this registry entry cached somehow, and then upgraded from MF 1.0 to MF 1.8 you would see this problem. (FYI, if you want to hand edit the registry entries in MF 1.0 the strings are single-byte; in 1.8 they`re UNICODE)

How do I get printers to work on a Wyse Winterminal that has Windows CE on it? 

Using WYSE winterminals you need to set up static printers on each of your servers. You need to make sure that you have the name of your terminal set up in the terminal name field first before youcreate printers.

We use HP1100 printers aliased to a 4, obviously you will need to change the printer type appropriately.

This procedure is for setting up new installations only. You perform this procedure when a brand new account has been created for a new winterm installation and the printers do not exist on the servers.  This is for the new winterms that have the Windows CE interface. This is to be performed after the terminal is configured with IP`s, username and settings.

-After the winterm has started up choose the cofigure tab
-Click on edit button
-Under Citrix server choose your citrix server you want to create the printer on.
-Click on Next
-Click on Next
-Enter in an account and password with administrator priveleges and your domain name
-Click on Next
-Click on Finish
-Go to connections button and  Click on connect.
-Once connected click on start | settings and the Printers folder
-Click on Add Printer inside the printers folder
-Choose the HP Laserjet 4 from the next popup screen
-Click on OK
-Answer yes to Do you ant windows based programs to use this printer as the default printer.
-For port choose Network Printer Server
-Choose Client Network
-Left double click on  Client in the dropdown and the printer name will appear as "terminal name"#LPT1: for example CITRIX5 would look like citrix5#LPT1:  Choose this printer.
-Delete the colon : after LPT1 in the entry field and click on OK
-Click on OK again
-Now open the printers Applet again and choose the HP Laserjet 4 printer name you just created. You may have to go to the View menu and choose refresh for the printer to show up. Next open the printer window and choose properties from the first menu.
-Under properties choose the security tab. Click on the permissions button.
-Highlight the group everyone and click on the remove button
-Next click on the add button and then click on the show users button. If a box asks to list names from choose your proper domain.
-Choose the username that is the same as the terminal name you are setting up and click on add. Change the type of access to FULL
-Click on OK Click on OK and that is it. Repeat the above procedure for each
of your Citrix servers
-Change the username of the terminal back to the user logon name and change
your application to your published app from the server name.

How do I publish Star Office 5.1 on Citrix Metaframe for Unix? 

This comes from the Citrix How TO at:http://www.citrix.com/support/solpractices/howto/howpubli.htm

1. Ensure that StarOffice 5.1 is installed using the command "setup -net" to perform a network install.
2. Install StarOffice 5.1 to the /opt directory.
3. Publish the application using ctxappcfg.
4. In the command line, type /opt/Office51/bin/soffice.
5. Leave the Working Directory blank. The users home directory is searched for config files.

If the user has used StarOffice 5.1 before connecting to the published application, StarOffice 5.1 starts. If the user has never used StarOffice 5.1 before connecting, the published application starts StarOffice 5.1 Setup. A Standard Workstation Installation (1.7 MB) to the user`s home directory is recommended. After installation is complete, exit the published application and reconnect to it. This now launches StarOffice 5.1.

NOTE: StarOffice can be run only once per user at a time (as a desktop or a published application).

How do I get rid of Zombie sessions on MetaFrame for UNIX? 

This comes from the Citrix How to at:http://www.citrix.com/support/solpractices/howto/howdelet.htm

Zombie sessions occur when the client device (the ICA Client) does not notify the parent process (ctxXtw) that it disconnected.
1. On the UNIX server, at the command prompt, type ps -elf | grep ctxXtw. This lists all of the Citrix Xservers currently running on the Solaris server.
2. You should see the entries in the form of /opt/CTXSmf/lib/ctxXtw -session , where corresponds to the SessionID of the session running ctxXtw.
3. At a command prompt, type /opt/CTXSmf/ctxqsession. This lists all of the currently active sessions.
NOTE: Zombie sessions are not listed here; however, they are still consuming server resources.
4. Compare the SessionIDs obtained by ctxqsession with that listed by ps.
5. Find the Zombie sessions and kill the ctxXtw process associated with the Zombie SessionID. This deletes the Zombie session.

How do I log all Citrix ICA users off at the same time from a command prompt? 

The command echo y | reset session ica-tcp resets all ICA-TCP connections without waiting for a response to the following prompt:
If you reset this session, all users using this protocol will be logged off, continue (n=no)?

NOTE: Type reset session ica-tcp to reset all connections with the confirmation prompt.

Where are Citrix`s Official FAQ`s on the web? 

The URL for Citrix`s FAQ page for Metaframe is at: http://ctxex10.citrix.com/texpert.nsf/FAQs.

Where can I find Citrix Hotfixes and Updates? 

Citrix has the hotfixes listed in their Knowledge base at:http://ctxex10.citrix.com/texpert.nsf/Hotfixes.
Citrix also has an ftp site with all the fixes reachable at:http://www.citrix.com/support/ftpserve.htm.

Where can I find White Papers for Citrix Products? 

Citrix Systems has a page of white papers at: http://www.citrix.com/support/app3.htm.

Does Citrix offer any How To tip files? 

Citrix Systems how to files can be found at: http://ctxex10.citrix.com/texpert.nsf/How+To`s

The Citrix ICABrowser service keeps crashing and my users can`t connect. How can I solve this problem? 

Further UPDATE!
Microsoft has released a patch to fix the Post SP6 MFSP1 ICA Browsing problem. It can be downloaded from here.
However this fix reintroduces a problem that SP5 did by adding a blank hotfix entry into the registry this needs to be deleted per the following from CITRIX...
IMPORTANT information about the ICA Browser Issue and Q269214! Please read!

It has come to our attention that MetaFrame Administration is producing DrWatson errors upon opening after applying the updates from Microsoft Technet Article Q269214. What happened is that an old Microsoft Hotfix (Q147222) is being re-applied as a result of applying the updates from Q269214.

After you apply Q269214, please delete the following registry key, then reboot your server:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix\Q147222

Update! (Note this did not work for me, I still suggest you use my original solution below)
The following information is from the Citrix Forum below it is our previous solutions.
Citrix Systems on 06/27 at 04:39 PM MetaFrame
TSE SP 6/MF 1.8 SP 1 and ICA Browser update. Please read...
Attention! If you are experiencing issues with the ICA Browser failing, or overall network performance degradation after applying TSE SP4, 5, or 6 and MF 1.8 SP1, please read on...
We have positive feedback that the following registry change recommended by Microsoft and documented in the below Technet Article, stops the main issue of the ICA browser hanging after applying MS TSE SP 6. Please try the following.
---------------------------------------------------------------------------- -------------------------------------------------------------
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).
---------------------------------------------------------------------------- ----------------------------------------------------------------
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters On the Edit menu, click Add Value, and then add the following registry value:
Value Name: FileSystemControlFilter
Data Type: REG_DWORD
Set this value to 0, then reboot your server.
---------------------------------------------------------------------------- -----------------------------------------------------------------
A change was made to the Rdr.sys file in Windows NT 4.0 Service Pack 4 to fix a problem with a handle being invalidated when a dismount occurs. This may cause additional network traffic, which may degrade performance. The original value that this registry key was set to was 1.

This has been an ongoing problem with the ICAbrowser service we have noticed with Metaframe SP1 or TSE SP6.0. This is the solution I have come up with to resolve these problems. One thing you can do is in Citrix Server Administration go to the ICA browser tab and decrease the Master ICA browser Update Delay and and Refresh Interval values. I have decreased our Update delay to 2 and Refresh Interval to 10 on all of our servers with some success. If this doesn`t work try the following suggestions. First, you need to make sure that your server does not have Task Scheduler service installed for this solution to work. If it does you need to replace the service back to the AT service per the following FAQ item:How to get the AT Service back after IE installed Task Scheduler
I reccomend you do the follwoing:
Take a workstation and load TS/MF base installation and force it to be the Master browser and let the license run out. Browsing will still work. Making a machines sole function as a ica master browser is the best thing that has happened to our citrix environment and our network.
Install TS SP5 on the master browser machine and the latest Metaframe hotfix that contains ICAbrowser.exe that is the same on ALL your other machines and that is all. If you are running MF service pack one install SP1. DO NOT INSTALL INTERNET EXPLORER ON THIS MACHINE.
Be certain that the version of icabrowser.exe is the same on ALL of your servers or the server that has the newest version will try and take over as the master. IN OTHER WORDS IF YOU HAVE METAFRAME SP1 ON JUST ONE MACHINE IN THE FARM YOU SHOULD PUT IT ON ALL THE OTHERS! Keep the same version of icabrowser.exe on all your machines at all times to avoid confusion.
You rarely have to reboot the machine that is the master browser also since it is not really running any applications. One thing I have found is that if you have a nightly reboot, you must reboot your MB first and make sure it is up before rebooting the other machines in the farm or they do not always show up in the farm.
Now here is another tip. Use the soon command on all your machines to create a self rescheduling file stop and restart the browsing services every 4 hours:


soon 14400 "%0"
net stop computer browser
Timeout.exe 3 net stop icabrowser
Timeout.exe 5
net start computer browser
Timeout.exe 3 net start icabrowser

You can use the autostrt.zip program and include this script in it to be sure this script is running after a reboot. See http://thethin.net/autoexnt.cfm for more information on how to use this utility. Download the soon command from here.... http://thethin.net/soon.zip get timeout.exe from the NT resource kit or MS site and is required to give the browser service time to shut down before the restart command fires off.
By performing all of the above procedure your icabrowser issues will be greatly reduced if not totally eliminated.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19

Featured Links