I solved this issue by deleting folder under c:\program files\citrix and cleaning all items mentioning citrix and the ICA client out of the registry doing a find command in regedit. Then i reinstalled the client and it worked fine. Thank you for your help but I solved it on my own.