Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cant RDP *FROM* server & can't connect to guest VMs

Posted on 2014-04-09
13
Medium Priority
?
424 Views
Last Modified: 2014-07-01
My Server 2008 R2 Hyper-V host box started having problems.  (and no, I didnt change anything on the server) The Hyper-V guest machines launch just fine.  And I can connect to the guest machines via RDP from my laptop.

But if I try to right click connect from the Hyper-V host machine, it does nothing.  No pop ups, no errors, nothing.  
Same thing if I try to launch MSTSC.EXE.   it does nothing.  No pop ups, no errors, nothing.  Doesn't even get to the screen that asks for the IP or host name.

Also, when I try to  rt click the VM guest machine & select SETTINGS, it does nothing.  No pop ups, no errors, nothing.  

So the VM guest machines run fine.  But something is wacked on the VM host box.

I've rebooted it, checked the event log, tried to re-register mstsc, deleted old un-used VHDs, etc.

Please Help!
Thanks.
0
Comment
Question by:cef_soothsayer
  • 7
  • 6
13 Comments
 
LVL 10

Expert Comment

by:Korbus
ID: 39990545
Do you see any instances of mstsc.exe running in task manager?  Or do they disappear immediately?

If you didn't change anything, and suspect corruption, perhaps a fresh install of RDP client is in order? (or is that what you meant by re-registered?)
0
 
LVL 1

Author Comment

by:cef_soothsayer
ID: 39992389
Yes, I  see instances of mstsc.exe running in task manager.  they dont go away unless I taskkill them.
0
 
LVL 10

Expert Comment

by:Korbus
ID: 39995095
OK, that explains why your not seeing any errors in the log, the app is not actually "crashing "as far as the OS is concerned.  This result implies the software is either waiting for something, or there is some corruption in the .exe (or .dll's used by the .exe).

If you install processExplorer you should be able to find out what dll's are being used by this program, and can try replacing them with known good copies, or re-installing the particular component they are part of.
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 
LVL 1

Author Comment

by:cef_soothsayer
ID: 40016493
I installed the RemoteDesktop Connection Manager v2.2 adn when I RDP from there, it generally works.  When I RDP from the MSTSC.EXE app, it generally does not.
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40017903
That another application CAN run & connect, further indicates corruption as well.  Have you tried replacing files used by RDP, with known good copies yet?
0
 
LVL 1

Author Comment

by:cef_soothsayer
ID: 40019255
I copied the mstsc.exe from another server with the same version of Windows Server OS (2008 R2) and it still didn't fix my problem.

BTW - replacing and/or deleting a file from c:\windows\system32 isnt easy.  Even with an elevated command prompts when logged in as local administrator and after taking ownership of the file, it still would not let me delete or overwrite the file.  I had to use icacls first.
0
 
LVL 1

Accepted Solution

by:
cef_soothsayer earned 0 total points
ID: 40160475
Ok.  Seems the problem is fixed.  (or at least abated).  My VM guest OSes had multiple snapshots.  I removed/merged all the snapshots on all the guest VMs and now I can connect to them via RDP.

Thanks,
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40161011
>>Same thing if I try to launch MSTSC.EXE.   it does nothing.  No pop ups, no errors, nothing.  Doesn't even get to the screen that asks for the IP or host name.

I'm unclear how changing the status of your Virtual Machines fixed MSTSC.exe on the host machine.  Can you explain a little more please?
0
 
LVL 1

Author Comment

by:cef_soothsayer
ID: 40161047
MTSC.exe was never broken.  It wasn't crashing.  It was getting hung in some kind of loop while attempting to connect to the VM.  Apparently the VM having too many snapshots was confusing the MSTSC client?  Not sure.  But when I removed/merged all the snapshots, the RDP session started working reliably.
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40161161
Not to belabor the point but, you said mstsc.exe was not even prompting for what machine to connect to.  It didn't seem to matter if it was a VM host, or physical host because it never even got that far.

That's what is throwing me off.

P.S. this is just for my information, I do NOT object to closing the question as requested.
0
 
LVL 1

Author Comment

by:cef_soothsayer
ID: 40161191
Your right.  It does seem a bit odd.  Bit I cant argue with the results.  It was a bit disconcerting having 5-10 generations of snapshots per VM anyway.  That can cause issues with your VM... just never heard it cause *this* kind of problem... <shrug>
0
 
LVL 10

Expert Comment

by:Korbus
ID: 40162447
>> It does seem a bit odd.  But I cant argue with the results.
Agreed!
0
 
LVL 1

Author Closing Comment

by:cef_soothsayer
ID: 40169053
Solutions provided by others did not resolve my problem.  I figured it out and posted the solution myself.  Thanks.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

916 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