Solved

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

Posted on 2014-04-09
13
393 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
 
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now