Sunday, October 21, 2012

Windows 8 and Juniper RDP VPN unstability


I have been dealing with an interesting issues with Windows 8.  I loaded the beta way back when it was first released.  Once issue that I had issues with was my VPN connectivity at work.  It was very unstable.  I could get 2-5 minutes of work done at a time before it would drop.  I wrote it off as a beta issue and went on my way.  I didn't need to work from home as much as I was, so it was not that big if a deal.

I was a little disappointed when I installed the RTM and the issue continued.  I could deal with it if I was just checking in on servers.  But if I needed to any real work, it was just too much.  It felt like it was dropping more and more often. 

This weekend I actually needed to work on some things and my connection would only last a few seconds.  So it was time to solve the issue. I had enough.  I didn’t have any quick access to any computers that were not running Windows 8 or Server 2012.  I thought it was a good time to finally enable Hyper-V on my desktop.

I enabled the feature and after the reboot, I started installing Windows 7.  As I waited for the install to run, I was reminded at how much faster Windows 8 installed.

The good news is that it worked.  I was able to connect to my VM to use my VPN.  I did find it interesting though.  I would RDP into my VM, to RDP into my work desktop, to RDP into my servers.

If anyone else is having the same issues I am, here is one solution.  I think the issues I am having are more the way our VPN is deployed. We use a Juniper client that has its own rdp client.  I think if our admins had configured things a little different, I could use a different RDP client.  But this works well enough.

11 comments:

VMGeoff said...

Hi Kevin,

I am having the same issue - and it seems others are too.

http://social.technet.microsoft.com/Forums/en-US/w8itpronetworking/thread/9fd4d6d5-1adc-494d-a916-0032f3e08789

http://forums.juniper.net/t5/SSL-VPN/SA2500-7-1r6-gt-Windows-8-RDP-and-Citrix-Proxy/td-p/167596

Our networks team said they tried the October update from Juniper but it doesnt seem to have made any difference.

VMGeoff said...
This comment has been removed by a blog administrator.
dibdib said...

I have also just upgraded to windows 8, and I am experiencing the same interruptions. I am able to connect and work for a few minutes and then the session freezes.
I would appreciate any advice on the matter.
Thanks,
Dov

miked said...

I have the same issue. Using juniper RDP from win 8 to a win 7 PC. Connections drops and then reconnects. Very annoying...

Anonymous said...

I heard it was a problem with printer drivers. Remote the printer drivers and RDP again.

NG said...

It works much better after removing the latest ~10-15 Windows Updates, with the latest one remaining I left as KB 2784160.

The only now is a slight delay refreshing(10 seconds) after alt-tabbing between the remote desktop window and other windows on the host machine.

Greg Wood said...

I've found that the Juniper simply doesn't like UDP that is part of RDP 8. Disable it.

Group Policy:
Local Computer Policy
Computer Configuration
Administrative Templates
Windows Components
Remote Desktop Services
Remote Desktop Connection Client
Turn Off UDP On Client --> Enabled

Regedit:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
fClientDisableUDP dword:00000001

Rajesh Bhuva said...

thank you ! I had the same issue and this worked for me...

Regedit:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client\
Create a dword and assign a value of 1 to: tofClientDisableUDP dword:00000001


Rajesh

KevMar said...

Not all connections are created equal.

I saw 2 computers fail to maintain a connection, a 3rd one that I have does stay connected.

One of my coworkers said that he had to lower the bit depth of the connection then his started working. He was only having troubles connecting from Win8 to Win8.

I ended up taking a low end Windows 7 laptop home from work just for VPN

KevMar said...

More users talking about this same issue here:

http://social.technet.microsoft.com/Forums/en-US/w8itpronetworking/thread/9fd4d6d5-1adc-494d-a916-0032f3e08789/

KevMar said...

From: http://forums.juniper.net/t5/SSL-VPN/SA2500-7-1r6-gt-Windows-8-RDP-and-Citrix-Proxy/td-p/167596/page/5

e: SA2500 7.1r6 -> Windows 8 RDP and Citrix Proxy
Options
‎05-07-2013 07:07 PM

A fix that we have seen work in the lab, and at customer sites with 7.3R5, has been implemented while we continue to work with Microsoft to make sure there are no corner cases being missed