Monday, March 28, 2011

ICA Connections Hangs or Stops at 'Connection Established, Negotiating Capabilities'

ICA Connections Hangs or Stops at 'Connection Established, Negotiating Capabilities'

Document ID: CTX123816 / Created On: Jan 11, 2010 / Updated On: Jan 11, 2010

Symptoms

ICA connections hang or stop at "Connection established. Negotiating capabilities” specific to client workstation or domain user . Also connecting to a specific server always hang at “Connection Established, Negotiating Capabilities”.

My machine + his\her credentials = success
Another machine + his\her credentials = success
His\Her home machine + his\her credentials = failure
His\Her home machine + test ID = failure

Cause

Usually this is caused by an inaccessible license server.

Server results in not getting a correct license, probably the license server detects that several servers are using the same license and blocks it, especially if servers are cloned.

Resolution

Caution! This procedure requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Back up the registry before you edit it.

1. On client workstations with this issue, change the permissions on the registry key HKLM\SOFTWARE\Microsoft\MSLicensing. Give the Users Group Full Control or specific domain user account.

If you delete the key, Terminal Services recreates it when it acquires a license. However, the permissions on this key are set to read-only by default. Only administrators have full control rights. This means that only an administrator can request a Terminal Services license for this server. Once it is acquired, every user can use it.

2. Delete (rename or export key to be safe) the HKLM\Software\Microsoft\MSLicensing\HardwareID and HKLM\Software\Microsoft\MSLicensing\Store keys

More Information

Other solutions:

For Windows 2000 Professional systems: delete the License000x key to resolve the issue.

On each of your Citrix Presentation servers open the registry editor and navigate to
"HKEY Local Machine/System/Current ControlSet/Services/TermService/Parameters".

Delete the following keys (after making a backup):
Certificate
X509 Certificate
X509 Certificate ID
Reboot your server and verify that the issue is gone.


Monday, February 7, 2011

ndschedag.exe managesoft

I want to force a update of machine policy using a command line so I can create a new schedule.
Anyone know some switches for ndschedag.exe?
If I run "c:\Program Files\ManageSoft\Schedule Agent\ndschedag.exe" -o scheduletype=machine, I get a little pop up box, which I then r-click on 'Apply machine policy' and select 'run', but I want to try to do all of this from command line.

Friday, January 21, 2011

Disable Hotkeys from Server end. Xenapp Citrix

Wanted to disable CTRL-F3 so that the original functionality, below is the fix


C:\Inetpub
\wwwroot\Citrix\AccessPlatform\conf

copied and pasted the disable hotkeys under the following:

WFClient
Hotkey1Char=(none)
Hotkey1Shift=(none)
Hotkey2Char=(none)
Hotkey2Shift=(none)
Hotkey3Char=(none)
Hotkey3Shift=(none)

Also, some great links.

http://www.dabcc.com/nfuse/Docs/ica_file_explained.htm

This link is to do with trasparentkeypassthrough, so you can use local windows shortcut keys on your remote session.

http://andymorgan.wordpress.com/2009/01/02/how-do-you-force-citrix-clients-to-behave/

Tuesday, November 9, 2010

Appsense and Citrix

Working with Appsense. It seems great.. just have to figure out how it works.. lol

Seems this link is pretty helpful...

Still need more doco that goes deeper into the config and concept of Appsense.

More to come...

Friday, November 5, 2010

VBscript for getting Computer Model using WMI system class

' Computer System Model
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objComputer, colComputer
Dim strComputer
'strComputer = "."
strcomputer = InputBox("Enter the PC Name")
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")

For Each objComputer in colComputer
Wscript.Echo "System Name: " & objComputer.Name
Wscript.Echo "Model " & objComputer.Model
Next

WScript.Quit

' Enjoy

Saturday, October 16, 2010

Windows error when logging on - a problem is preventing windows from accurately checking the license for this computer. error code

Register the following DLL s

They should be in the %system root% \ system32 folder

just type the following statements one by one, hit ENTER after each, of course:


regsvr32 licwmi.dll

regsvr32 regwizc.dll

regsvr32 licdll.dll