Cloud Mercury Posted February 22, 2017 Share Posted February 22, 2017 Dear All, Since a few days I am getting the following error on my VDI. Event ID 1005 Source CtxUvi The Citrix Universal DLL Injection Driver has encountered an unexpected error. Xendesktop version: 7.8 VDA version: 7.12 VDI(Windows 7) Any help would be much appreciated. Thanks in advance Link to comment
1 Jonas Buettgen Posted August 20, 2020 Share Posted August 20, 2020 There were no replies for a while now, but we were facing the exact same issues. We got the error on different versions from Virtual Apps 7.15 LTSR CU3 up to version 19.12 CU1 The CtxUvi error 1003 and 1005 is related to the Citrix Workspace Apps version. On both environments I installed the Workspace Apps on the Terminal Servers after GO Live and went with the newest Workspace Apps version 9002 and 9006. We now uninstalled it and reinstalled the Workspace Apps version which came with the installation ISO and it seems the error is gone... As I was troubleshooting for a while now I just wanted to publish the solution which worked for me on two different environments. 2 Link to comment
0 Sangeeth Kumar Posted April 25, 2017 Share Posted April 25, 2017 Hello Cloud, Can you provide me the screenshot of the details tab in the Event. I need the screenshot of the friendly view. Regards, Sangeeth Link to comment
0 Cloud Mercury Posted October 5, 2017 Author Share Posted October 5, 2017 Hello Sangeeth, Sorry for late reply. because we have upgrade our Xendesktop environment to version 7.14.1. We thaught that the problem is solved. but we see the error is coming back. the attached file is screenshot of evenviewer. Link to comment
0 Brett Dodd Posted October 16, 2017 Share Posted October 16, 2017 We are seeing the same events on our XenApp servers, when a server has these events it will start sessions but not display the program to the user. We have to reboot in order to fix this. Sometimes no servers, sometimes one, and sometimes several. We are on XenApp 7.13 and plan on installing 7.15 in a couple of weeks. We are seeing two events every time this happens, details are below, any help would be appreciated. We've tried disabling Session Reliability and that didn't work. Log Name: System Source: CtxUvi Date: 10/5/2017 8:09:06 AM Event ID: 1005 Task Category: None Level: Error Keywords: Classic User: N/A Computer: SERVERNAME Description: The Citrix Universal DLL Injection Driver has encountered an unexpected error. Log Name: System Source: CtxUvi Date: 10/5/2017 8:09:06 AM Event ID: 1003 Task Category: None Level: Error Keywords: Classic User: N/A Computer: SERVERNAME Description: The Citrix Universal DLL Injection Driver has detected an integrity error during process creation. The Citrix Universal DLL Injection Driver has been disabled. Link to comment
0 Graeme Dunkley Posted November 6, 2017 Share Posted November 6, 2017 Hi Brett1980 and Cmercury, Can you check in the details page on event ID 1005, and send me a screen shot of the binary data? Can you test the following: reboot VDA confirm in the eventlog that CTXUVI starts successfully after the reboot run gpupdate /force confirm if you see errors 1005 followed by 1003 pretty much straight after running gpupdate Kind regards, Graeme Link to comment
0 Brett Dodd Posted November 6, 2017 Share Posted November 6, 2017 Hello Graeme, I appreciate you looking into this. I've attached a screenshot of the binary data from event 1005. Answers to your questions: 1. Rebooting the VDA fixes the issue until it reoccurs. 2. After a reboot we see CtxUvi event 1000 saying: "The Citrix Universal DLL Injection Driver has started." 3. I ran gpupdate /force 4. Running this command does not reproduce the events. Link to comment
0 Chris Hozee Posted November 7, 2017 Share Posted November 7, 2017 We are also seeing this error. I tested to rule out AD GPO's and found one seemed to cause this error. Why and how is still unknown. Maybe you can also try and rule out any AD GPO's. Link to comment
0 aamin64 Posted November 8, 2017 Share Posted November 8, 2017 On 11/6/2017 at 11:45 AM, Graeme Dunkley said: Hi Brett1980 and Cmercury, Can you check in the details page on event ID 1005, and send me a screen shot of the binary data? Can you test the following: reboot VDA confirm in the eventlog that CTXUVI starts successfully after the reboot run gpupdate /force confirm if you see errors 1005 followed by 1003 pretty much straight after running gpupdate Kind regards, Graeme We are seeing the same exact issue with our newly deployed 7.15. Servers will work fine after reboot but then hours later they fail again and applications do not launch to the users. Has any of you found a fix or a root cause? Link to comment
0 Brett Dodd Posted November 8, 2017 Share Posted November 8, 2017 37 minutes ago, aamin64 said: We are seeing the same exact issue with our newly deployed 7.15. Servers will work fine after reboot but then hours later they fail again and applications do not launch to the users. Has any of you found a fix or a root cause? We've had a case open with Citrix for a few weeks and haven't really made any headway on it. So we continue to reboot servers. If we find a solution I'll be sure to post it here. I've not had a change to look at the GPOs yet, but those are kind of hard to disable because we need them. Link to comment
0 Graeme Dunkley Posted November 8, 2017 Share Posted November 8, 2017 brett1980 Said: "We've had a case open with Citrix for a few weeks and haven't really made any headway on it. " Can you message me the case number and I will follow up with the engineer and see if there is anything I can do. Link to comment
0 Graeme Dunkley Posted November 8, 2017 Share Posted November 8, 2017 For those of you who have found that disabling GPOs have resolved this issue, this is most likely because you have a policy that is making changes to the registry under HKLM\SOFTWARE\Citrix\ctxhook\appinit_dlls. You may not be running a policy that sets an exact reg key, it could be a policy that makes changes to all reg keys in HKLM\SOFTWARE, such as changing the default security permissions. It is recommended to do this via a base image, instead of setting it via a GPO. See: https://support.citrix.com/article/CTX226605 for more details (step 1 of the solution is not necessary in 7.14 and above) Link to comment
0 Serdar Tekin1709157235 Posted February 27, 2018 Share Posted February 27, 2018 Hi All, We got the same issue after updating to VDA 7.15 caused by a GPO which sets the REG_SZ value "mfaphook64.dll" under SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs to avoid black screen issues on VDA 7.6.3 due to a 8.3 notation problem with server W2K8R2. However, deleting the GPO and setting the UviEnabled key rectified the problem for some servers but not for all. I just uninstalled the VDA on an affected server with the current version of the VDA Cleanup Utilitiy tool (which disables sometimes the RDP TCP connection after the uninstallation) and installed VDA 7.15.1. I don't know whether it is a bug or not but the servers are after a fresh VDA 7.15.x installation not available via Storefront but with Quick Launch tool. The problem goes away by itself after 15-30 minutes and the access via Storefront works again. Regrettably, the CtxUvi error occured again. After that, I set the UviEnabled key again and rebooted the server but the problem is still not fixed. I will downgrade the server to VDA 7.15 tonight and will observe the situation. Does anyone also struggle with that CtxUvi problem although the recommended steps were done? Best regards, Serdar Link to comment
0 Brett Dodd Posted February 28, 2018 Share Posted February 28, 2018 We have continued to work with Citrix support on this issue. Since first seeing the issue in 7.13 we've upgraded to 7.15 and then to 7.15.1 without resolution. As we worked with Citrix support they had us install the CDF monitoring service on the servers in order to catch CDF traces as the issue happened. We would reproduce the issue but they were still unable to determine the cause. They later provided us a private hotfix with custom mfaphook.dll, mfaphook64.dll, and ctxuvi.sys files that we updated, along with running 'bcdedit /set TESTSIGNING ON'. The whole point of this was to provide more information in the CDF traces so they could narrow down the problem. But since installing this on all of our VDA's we no longer get 1005 errors. So we are now kind of stuck because I feel that if we did upgrade the 1005 errors would come back. Link to comment
0 Masanori Kameyama Posted March 23, 2018 Share Posted March 23, 2018 Hello brett1980, Our Customer have a same problem . Would you please tell me youre case number? I would like to tell citrix support that my problem seems to be relevant to your case. Regards, masanori Link to comment
0 Serdar Tekin1709157235 Posted March 23, 2018 Share Posted March 23, 2018 We have identified the root cause of the CtxUvi crash. The problem seems to be caused due to low virtual memory: Citrix Thinwire drive crashed just a few minutes later after the low virtual memory warning: CtxUvi crash minutes later: It is recommended to increase the total paging file size to avoid the low virtual memory problem and the CtxUvi crash since VDA 7.1x... Regards, Serdar Link to comment
0 Brett Dodd Posted March 23, 2018 Share Posted March 23, 2018 mkameya600 our case number is 74709265. stekin474, interesting find, I would be surprised if we had low virtual memory in every case of this error. We do set the initial and maximum size for virtual memory versus letting Windows set it on our VDAs. But we've seen the CtxUvi errors on servers with a couple of people on them (2 or 3) and I would guess virtual memory wouldn't be an issue in that case. I did just spot check a couple of servers and virtual memory is fine. Glad it was a fix for you, probably multiple causes for these errors. Link to comment
0 Masanori Kameyama Posted March 26, 2018 Share Posted March 26, 2018 Hello brett1980, Thank you so much for your help !I will keep you posted. Regards, masanori Link to comment
0 David Liu NZ Posted July 25, 2018 Share Posted July 25, 2018 We are currently on 7.15 CU2 but still have the issue intermittently. Link to comment
0 Brett Dodd Posted July 25, 2018 Share Posted July 25, 2018 We continue to leave our configuration alone with the fear of this issue coming back. Currently running 7.15 CU1. Installed private hotfix from Citrix that updated mfaphook.dll, mfaphook64.dll, and ctxuvi.sys. Run 'bcdedit /set TESTSIGNING ON' on all servers. We built a new test server a couple of months ago and did not run steps 2 and 3 on it and eventually we ran into CtxUvi crashing again. Citrix has abandoned my case because the issue went away, but we don't feel comfortable upgrading either. At least we're on an LTSR release haha Link to comment
0 Andreas Schott Posted September 11, 2018 Share Posted September 11, 2018 On 25.7.2018 at 4:39 PM, Brett Dodd said: We continue to leave our configuration alone with the fear of this issue coming back. Currently running 7.15 CU1. Installed private hotfix from Citrix that updated mfaphook.dll, mfaphook64.dll, and ctxuvi.sys. Run 'bcdedit /set TESTSIGNING ON' on all servers. We built a new test server a couple of months ago and did not run steps 2 and 3 on it and eventually we ran into CtxUvi crashing again. Citrix has abandoned my case because the issue went away, but we don't feel comfortable upgrading either. At least we're on an LTSR release haha Hi, can you please name the private fix so we can reference it within an Citrix case? Thanks! Bye, Andreas Link to comment
0 Brett Dodd Posted September 11, 2018 Share Posted September 11, 2018 2 hours ago, Andreas Schott said: Hi, can you please name the private fix so we can reference it within an Citrix case? Thanks! Bye, Andreas I wasn't given a name for the private fix, our case was 74709265 and the version of mfaphook.dll and mfaphook64.dll is 7.15.0.10009 and CtxUvi.sys is version 7.15.1000.50. Hopefully that helps. Brett Link to comment
0 Andreas Schott Posted September 11, 2018 Share Posted September 11, 2018 Hi Brett, thanks for your answer! I have just checked our version numbers and they are the same. We are on XenApp 7.15 LTSR CU2. Strange enough, it is not 7.15.2000 with CU2 Bye, Andreas Link to comment
0 Vishnu AK1709159754 Posted May 4, 2020 Share Posted May 4, 2020 AFter upgrading VDA to LTSR 19.12 we are seeing this issue? any permanent fix for this problem? Link to comment
0 Craig Walker1709156037 Posted May 4, 2020 Share Posted May 4, 2020 6 hours ago, Vishnu AK1709159754 said: AFter upgrading VDA to LTSR 19.12 we are seeing this issue? any permanent fix for this problem? I too am experiencing the same issue after upgrasing to 19.12 Can i confirm if you have any Trend AV software on your Server? I found some posts around Trend AV( Apex one or DSaaS) we have, on citrix Apex one, ive tried adding the processes to the excepetions list and it doesnt appear to make a difference, some time this can happen on a server 5 hours in, or 20 hours in, but it will happen (they are re-spawen each night) I tried VDA cleanup and reinstalling the VDA, I need this version to deploy Teams, as 19.12 is the last VDI support for 2012r2 i need a fix in LTSR. Machine was on 7.15LTSR CU3. Anyone ?? Link to comment
0 Craig Walker1709156037 Posted June 3, 2020 Share Posted June 3, 2020 On 5/4/2020 at 5:50 PM, Craig Walker1709156037 said: I too am experiencing the same issue after upgrasing to 19.12 Can i confirm if you have any Trend AV software on your Server? I found some posts around Trend AV( Apex one or DSaaS) we have, on citrix Apex one, ive tried adding the processes to the excepetions list and it doesnt appear to make a difference, some time this can happen on a server 5 hours in, or 20 hours in, but it will happen (they are re-spawen each night) I tried VDA cleanup and reinstalling the VDA, I need this version to deploy Teams, as 19.12 is the last VDI support for 2012r2 i need a fix in LTSR. Machine was on 7.15LTSR CU3. Anyone ?? I rasied a ticket with Citrix, uploaded lots of logs, didnt get much back. in the end i updated to 19.12 CU1 (released May) and this appeared to resolve my issues! Link to comment
Question
Cloud Mercury
Dear All,
Since a few days I am getting the following error on my VDI.
Event ID 1005 Source CtxUvi
The Citrix Universal DLL Injection Driver has encountered an unexpected error.
Xendesktop version: 7.8
VDA version: 7.12
VDI(Windows 7)
Any help would be much appreciated.
Thanks in advance
Link to comment
26 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now