Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages: N/A

Repair Clipboard Chain 2.0.1

Document ID: CTX106226   /   Created On: Apr 25, 2005   /   Updated On: Oct 17, 2007
Average Rating: 3

RepairCBDChain
Version 2.0.1

Created Date: 07/20/2004
Updated Date: 05/15/2007

Description

Users may experience a malfunctioning clipboard chain (when they cannot copy and paste anymore between a local application and a session or between different applications in a session). This occurs when a third-party program incorrectly inserts itself in the Windows clipboard chain on a local workstation or within a session.

The RepairCBDChain utility temporarily restores clipboard functionality. The order is restored by moving the ICA client to the beginning of the clipboard chain. If the offending application is launched after this repair utility has restored the clipboard order, the clipboard functionality may become corrupted again.

Installing RepairCBDChain

Download the executable file to a local workstation and run it from a command prompt or from within a session.

How to Use RepairCBDChain

Run the RepairCBDChain utility on your workstation and/or inside the session desktop.

If it doesn’t repair the clipboard try repairing individual ICA sessions by specifying ICA session window title, for example:

C:\>RepairCBDChain.exe "Sent Items - Microsoft Outlook - \\Remote"
C:\>RepairCBDChain.exe "Weekly report - Message - \\Remote"

Note: If switch -gui is used as the last parameter then the message stating that clipboard functionality is repaired is not displayed; only the diagnostic message appears if there are any errors.

RepairCBDChain.exe [Title [Class]] [-gui]

The window title and class are optional. If you specify the title, but omit the class, the tool assumes that the window belongs to the ICA client.

Uninstalling RepairCBDChain

To uninstall this utility, delete the executable file.

Disclaimer

These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.


This document applies to:

  • Presentation Server 4.0 for Microsoft Windows 2003
  • Presentation Server 4.5 for Windows Server 2003
  • Presentation Server 4.0 for Microsoft Windows 2000
  • MetaFrame Presentation Server 3.0 for Microsoft Windows 2000
  • MetaFrame Presentation Server 3.0 for Microsoft Windows 2003
Comment Posted
The updated explanation and some examples can be found here: http://www.dumpanalysis.org/blog/index.php/2007/06/21/repair-clipboard-chain-201/ Jun 28, 2007 by dvostok925
The updated explanation and some examples can be found here: http://www.dumpanalysis.org/blog/index.php/2007/06/21/repair-clipboard-chain-201/ and http://www.dumpanalysis.org/blog/index.php/2006/12/09/clipboard-issues-explained/ Jun 28, 2007 by dvostok925
As promised I've written a blog post explaining clipboard chain, how it becomes broken and how RepairCBDChain fixes it on both client and server side: http://citrite.org/blogs/dmitryv/2006/12/09/clipboard-issues-explained/ Dec 9, 2006 by dmitryv
Hi, I'm the author of this program and thanks for all feedback. I wrote it for myself 2 years ago because I was annoyed by frequent inability to copy from local workstation to published Outlook and I was able to temporary restore that copying after running this tool. I also had a 3rd party program later from one Citrix customer and that program was breaking clipboard chain every time I ran it. RepairCBDChain was able to restore it too. I'm going to describe later in my blog how RepaiCBDChain works and its limitations. Oct 31, 2006 by VDO
Sorry, the point of this tool is unclear. It doesn't work (error about not finding the usual processes) from inside a citrix session (XPe/3), and users have no access to their local workstations. Even if they did, what do we do, script it to run every 'x' milliseconds? Two out of three identical(?) servers handle clipboard mapping fine no matter who's logged in. One server only works if you are admin. I'll pass and keep looking for the root issue. Oct 18, 2006 by tvemel1
The updated zip file has been posted with corerct version which allows to use -gui switch and message box is not shown Aug 2, 2006 by dvostok925
When I execute "RepairCBDChain.exe -gui" the message box "RepairCBDChain v1.1 (Written by Dmitri Vostokov, Citrix)" still displays. How do I supress? Client ICA 9.200.44376. Windows 2003 Server Windows XP SP2 Client. Thx Steven V Brown sbrown2@humana.com Jul 18, 2006 by svb2449
Hello, have used this program on Presentation Server 4 on the V9.x client, works like a dream, would love to try and identify what might be causing this as some clients happens multiple times per day, each time running of the program corrects it... only happens for some users on 300+ user site. Jul 7, 2006 by Anonymous
Hello, have used this program on Presentation Server 4 on the V9.x client, works like a dream, would love to try and identify what might be causing this as some clients happens multiple times per day, each time running of the program corrects it... only happens for some users on 300+ user site. Jul 7, 2006 by Anonymous
I have run this tool on my PC and it works successfully - Running Citrix client 9. Run on another pc running Version 7 and get the error message. Jun 19, 2006 by robinsr70
Search
Knowledge Center
Presentation Server
Presentation Server Clients (ICA)
XenServer
Web Interface
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager