Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows terminal service start/stop loop after Citrix XenApp uninstall

Posted on 2012-04-04
17
Medium Priority
?
2,002 Views
Last Modified: 2012-04-11
I had to uninstall Citrix XenApp 5 from a Windows Server 2008 64 bit machine. After the uninstall of Citrix, Windows Terminal Services service is in a start/stop loop. If I try to access remote desktop setings on the server I get an error message, "This application has failed to start because cutildll64.dll was not found". This is a Citrix file. It is not there because Citrix is uninstalled. Any ideas on getting Windows Terminal Services running again?

Thanks in advance for any help
0
Comment
Question by:sdoughty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 7
17 Comments
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 900 total points
ID: 37807536
Run sfc /scannow
0
 

Author Comment

by:sdoughty
ID: 37807731
Ran sfc /scannow. Now when I go to access select users in remote desktop configuration I get error message "This application has failed to start because emulateTernsrv64.dll was not found"
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37808185
Now try sfc /scannow and then remove role and role back
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sdoughty
ID: 37808400
Role has been removed already. I will run sfc /scannow again and try adding role back.

I'll let you know how I make out. Thanks for the help
0
 

Author Comment

by:sdoughty
ID: 37812810
Reinstalled the Terminal Services role. Install went successfully, however, when I try to start the service, it goes into a start/stop loop. I can access remote desktop conguration to add users without getting the errors cannot find cutildll64.dll or emulateTernsrv64.dll but that was only adding these files to Windows/system32 directory. Still cannot access the server via reote desktop.

Any other ideas from anyone? This all happened after uninstalling Citrix XenApp 5.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37813409
Try restoring to a prior point or getting these files from another server
0
 

Author Comment

by:sdoughty
ID: 37816022
System restore is not included with Windows Server 2008 and I have put these files in the Windows\System32 directory, that is how the error messages went away in the remote desktop config area of Computer properties. Terminals Services service still goes into a start/stop loop and I still cannot access the server via remote desktop but I can remote to another machine from the server. I guess this is what I get for uninstalling XenApp.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37816197
Restoring from a prior point means restoring a backup from a prior point.

Alright you were able to remote out but you can't remote in?
0
 

Author Comment

by:sdoughty
ID: 37816299
Yes can remote out from the server but not into the server. Sorry I automatically think of system restore when you said restore point.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37816359
0
 

Author Comment

by:sdoughty
ID: 37816459
Thanks but I found that link already and have done all the above. One problem, no matter what I do, is I cannot keep the Ter Service running. When I start it, it loops on and off continuously and I get event log errors like below.

Log Name:      Application
Source:        Application Error
Date:          4/3/2012 4:31:23 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      VNARI02.www.vnari.org
Description:
Faulting application svchost.exe_TermService, version 6.0.6001.18000, time stamp 0x47919291, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x0000000000000000, process id 0x14b0, application start time 0x01cd1174271d600b.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-03T08:31:23.000Z" />
    <EventRecordID>89799</EventRecordID>
    <Channel>Application</Channel>
    <Computer>VNARI02.www.vnari.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data>svchost.exe_TermService</Data>
    <Data>6.0.6001.18000</Data>
    <Data>47919291</Data>
    <Data>unknown</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>c0000005</Data>
    <Data>0000000000000000</Data>
    <Data>14b0</Data>
    <Data>01cd1174271d600b</Data>
  </EventData>
</Event>
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37816479
Honestly that error really doesn't point you to the problem. You have corruption with the files. Sfc /scannow should fix the problem but if it doesn't then a reinstall is usually next step.

You are getting this error still?

emulateTernsrv64.dll

You copied this over but still the error, right?

Did you re-register the .dll

The 64-bit version is %systemroot%\System32\regsvr32.exe.
The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.
0
 

Author Comment

by:sdoughty
ID: 37816689
No I am not getting the errors when trying to access the remote desktop configuration in system properties anymore after placing the files in the Windows\Syetem32 directory.

I get an error when rergistering the files that the module was loaded but the entry point DllRegisterServer was not found.

Everything on the server is running fine except for terminal services. I have sharepoint on it and no problems since.

I can ping it but also cannot telnet to it on any port.
0
 

Accepted Solution

by:
sdoughty earned 0 total points
ID: 37816909
dariusg, thank you for your help in mucking through this with me. I have it working again.

Citrix, evidently, modifies, adds and overwrites the Windows terminal services and RDP registry entries. I compared what was in the registry to a 2008 VM server I have and found the differences. I made the modifications manually and now all is back to normal, at least it appears to be.

The Citrix uninstall did not revert the registry settings back to the Microsoft settings. Unfortunately all the error messages were leading away from the registry making it difficult to diagnose.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37817043
I'm glad you got it working!

I thought we went through the registry keys but I guess we didn't. Either you would assume a uninstall and reinstall of RDS work reconfigure registry
0
 

Author Comment

by:sdoughty
ID: 37817157
Yes one would think that the uninstall would have taken care of the registry but live and learn. Anyway thanks for your help and I have given points for all your hard work.
0
 

Author Closing Comment

by:sdoughty
ID: 37831689
dariusg was excellent in helping me work through this problem. Even though I ultimately figured it out myself, his input was extremely valuable.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Invest in your employees with these five simple steps to improve employee engagement and retention.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question