Question Locked

VPN Connection Slows down domain member PC?

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Connecting to an external customer over VPN works fine, but just after connecting the PC slows to a crawl. Even opening the Start Menu takes a few minutes.

I have narrowed this down to a Windows domain issue, because when logged on to a local account on the same PC, everything works great. I have a feeling that this has to do with NTFS permissions and AD objects, but don't know where to start troubleshooting. Any ideas?

FYI: Internet WAN connection is 100Mbps up/down, VPN software is Nortel Contivity Client OR AT&T VPN client.

14 replies

by nepenthe0

VPN utilizes encryption to [i]tunnel[/i] through the ISP. Encrypting and decrypting data significantly increases the transfer time. VPN is secure, but it's much slower than unencrypted direct connection.

Rick/Portland, OR

by daring

Thanks, but when connected to VPN while logged in as a local user, the connection and transfer speeds are fine. This is not the problem. The issue is that when logged in as a domain user, Windows grinds to a halt. I can't open Explorer, IE, Start Menu, etc. Not even Notepad. When disconnecting, the PC springs back to life.

by nepenthe0

On 22 Oct'07, [i]dmarriage[/i] posted a similar query on the TR forum:

http://tinyurl.com/5sfvvu

As you see, a LAN consultant ([i]onlinestuff[/i]) from New Zealand found a glitch in the router setup for this client.

The user won't notice a slowdown accessing the Internet directly, but anything going through the VPN channel will seem like pouring molasses.

Hopefully another TR participant will have a more definitive answer for you, but my prediction is that you're stuck with slow transfer speeds within your VPN channel.

Rick/Portland, OR

by daring

Again, I do NOT have slow transfer speeds through my VPN tunnel. This is not the issue.

The issue is that when connected, my local machine is slow to respond doing anything. Even right-clicking.

I believe the issue is related to being a member of a Windows domain which is accessing AD security, but I don't see where to start on fixing it.

by nepenthe0

The 3 most important reasons for poor performance despite capable hardware are:

1) Antivirus software
2) Windows services
3) Background processes

Antivirus applications are notorious for converting perfectly decent computers into molasses. McAfee and Symantec/Norton are among the worst offenders.

Disable your antivirus program and see if this makes a difference. Uninstall it if my suspicions prove correct. If you feel you absolutely must have antivirus protection, the [i]Avast![/i] freeware has received favorable commentary in this Forum:

http://www.avast.com/

Disable unneeded Windows services. Review Scott Lowe's excellent June'05 TR post:

http://tinyurl.com/yohler

You will need to use judgement, because some of the services that you can disable might actually be useful for what you're doing with the computer. You will find Windows Services at:

Control Panel > Administrative Tools > Services

Right click the service, select Properties, and disable an unneeded service. Those services already set to manual that have not started can be left alone, because they do not automatically load into memory at startup.

Finally, investigate background startup processes, and disable those that you don't need. To determine what processes load at startup, open the Task Manager:

Ctrl-Shft-Esc

and examine the Processes list. Identify the processes at ProcessLibrary.com website:

http://www.processlibrary.com/

If you have access to the command msconfig, you can selectively disable processes that load at startup. If you do not have access to this command, download and install the free antispyware program Spybot Search and Destroy:

http://www.safer-networking.org/en/index.html

Install Spybot. Under the Tools menu, you will see a list of startup processes. Uncheck the ones you wish to disable. This is completely reversible if you change your mind later.

It goes without saying that, before commencing any series of computer configuration tweaks, create a Restore Point in System Restore. That way, should you assassinate an essential startup process, you can recover your computer to a working configuration, and then cautiously retrace your steps.

Be sure you have ample free space on your hard drive. I have seen PCs slow to a crawl when the hard drive gets filled up and there is insufficient paging file space left.

Do periodic hard disk maintenance - purge the temporary files with a [i]cleanup[/i] utility, and keep the hard drive defragmented.

You need a minimum of 512MB of RAM for decent performance from XP. I recommend that you install as much RAM as the motherboard will support - check the User Manual for the maximum amount of supported RAM.

Rick/Portland, OR

by boxfiddler Hot topic

to deal in unencrypted data transfer? ID theft is a huge problem. How would you like it if your bank transmitted your personal data in unencrypted form?

What, are you trying to undo all the user education the IT Pros are trying to implement?

by daring

I appreciate the feedback, but I don't think that anyone understands the issue. I do not have an issue with the VPN connection speed.

The issue is that my local PC is slow to respond after establishing the VPN connection when logged on as a domain user. This has nothing to do with remotely controlling another PC either.

For example: Clicking the Start Menu, right-clicking the Desktop, or trying to open My Computer are all slow to respond. It is almost as if the PC was crashing, but the CPU and memory are all fine. This happens ONLY when connected to VPN while locally logged on as a domain user. This test is being done on a bare Windows XP PC with nothing else installed on it.

When connecting to the same VPN while logged on to the same PC as a local user, the PC performs normally. So, this issue has to be a combination of the VPN connection AND being logged on as a domain user. I just don't see why, or what I could do to troubleshoot.

I would appreciate any suggestions anyone may have. Thanks.

by jruby

It might be that network traffic is getting routed out the VPN connection first, timing out because nobody is there to answer them, then getting correctly routed to the local network.

Try pushing the hardware nics to the top of the network priority list (On XP, W2K3, a few others it's accessible via Network Connections, Advanced menu option, Advanced Settings).

Also, you may need to adjust the network routing on the workstation to make sure local traffic is actually going local. I'm not familiar with the VPN you're using, but I've seen 3rd party VPN clients steal the default route and all traffic defaulted to the VPN first instead of being intelligently routed. Do a ROUTE PRINT from the command prompt and see where your traffic is destined.

This may be a little out of the box, but it does look a somewhat like a problem we had to deal with a few months ago, so it might help you out.

Good luck!

Jim

by mark

A lot of the vpn clients will completely cut off your network connections while you are on the vpn. If you have an application running when you turn the vpn on it may be trying to access network recources. I have seen applications use 99% cpu when it loses access to network. Open task manager and sort by cpu decending. Open the vpn connection and see what floats to the top.

by daring

Jim, you're a genius.

You were right, mostly. When looking at my routes, the VPN connection inserted new routes including one for my local subnet, which directed ALL IP traffic through the VPN connection. For example:
192.168.1.0/24 routed to 174.x.x.x
127.0.0.1/32 routed to 174.x.x.x

This means that every time my PC needed to do ANYTHING, it would route the request across my VPN link, which of course had nobody there to respond.

I noticed that the metric of my NIC was set to 20 while the VPN had a metric of 1, so I manually changed my NIC to a metric of 1 which gives it higher priority than my VPN connection, and everything has been working fine since.

Thanks a bunch!

by wrigley.jenson

I'm in a similar situation with a client that recently went all VPN. Their server now resides in a data center and they do all of their work over VPN. I began to wonder if removing the machines from the domain would speed things up?

I'm also going to check the NIC metrics Wendesday when I go on-site to troubleshoot. I have a feeling that domain membership is part of the culprit. There may be some separation anxiety since the DC is no longer 'visible' to the computers.

Great thread!!!

by nepenthe0

I would give you a [i]thumb[/i], but the website won't let me.

It's great to have someone creative and innovative joining the Forum - you're officially on my Contacts list, and I look forward to your future posts.

Rick/Portland, OR

This discussion is closed to new replies.