Solved

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

Posted on 2014-04-09
13
397 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

820 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