Configuring VPN connection on server 2008 R2 using RRAS and configuring clients

One colleague ask me to help him with detailed steps how to configure VPN on server 2008 R2 and how to configure Windows XP and Windows 7 clients. So here it is.

Configuring VPN on server 2008 R2

Configuring VPN start with adding server role for RRAS.

Just follow next two pictures what to choose

Capture1

Capture2

Wait for wizard to finish, and then you will get this picture

Capture3

Now you have role installed. You must configure and enable RRAS

When you click on option Configure and Enable RRAS new wizard will start. Just follow the wizard in next 5 pictures.

Capture4Capture5Capture6

NOTE: You MUST have two NIC configured, one for internal use (LAN) and one for external use (WWW)

Capture7

Capture8

I prefer to choose IP address range and number of possible connecting clients son next picture will shown how to do that

Capture9

Capture10

If you have AD infrastructure configure your RRAS like this

Capture11

After this you will get this picture and click Finish

Capture12

Now your Server have successfully configured RRAS. Smile

Capture 14

Configuring client on Windows 7  for VPN access

Go to network and sharing center and choose option set up a new connection or network

Capture

Choose option Connect to a workplaceCapture2

For previously described configuration of RRAS option Use my Internet connection (VPN) will be right choice.

Capture3

Type your DNS name of RRAS server or public IP address, and follow steps in next three pictures.

Capture4Capture5Capture6

Additional option as authentication protocols can be founded in properties of your VPN connection. Most commonly used is already checked.

Capture7

Configuring client on Windows XP for VPN access

On Windows XP go to Network Connections and click Create a new connectionCapture1

A wizard will start. Follow next three pictures.

Capture2Capture3Capture4

Choose name for your VPN connection

Capture5

Type DNS name or public IP address of your previously configured RRAS (VPN) server

Capture6

Well done you are configure client for VPN access. Now you need to type your username and password before connect.

Capture8

Steps for configuring additional authentication protocols (if needed) is described in next two pictures. At first you must click Properties.

Capture9Capture10

I hope that this is helpful

BR

D.

Services.exe causes high CPU or RAM usage

Recently I have an unusual problem. Services.exe causes high RAM usage on one of my servers. Reason why is this happened is too many records in Event Viewer (more than one million).

This can cause also corruption of .evt file.

How to resolve problem?

We can use two steps.

First you can be patient and try to clear your .evt file from records. But if .evt file is corrupted you maybe couldn’t do that.

Second step is to delete corrupted .evt files and here is steps how to do it:

  1. Click the Start button, point to Settings, click Control Panel, and then double-click Services.
  2. Select the EventLog service and click Startup. Change the Startup Type to Disabled, and then click OK. If you are unable to log on to the computer but can access the registry remotely, you can change the Startup value in the following registry key to 0x4:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog

  1. Restart Windows.NOTE: When the system starts up, several services may fail; a message informing the user to use Event Viewer to review errors may appear.
  2. Rename or move the corrupt *.evt file from the following location:

%SystemRoot%\System32\Config

  1. In Control Panel Services tool, re-enable the EventLog service by setting it back to the default of Automatic startup, or change the registry Startup value back to 0x2.

Server 2008 R2 wont boot after restart

At Friday I had strange problem. Windows 2008 R2 server didn’t start up after restart. It stop on message where loading Group Policy Client. When we finally receive option to boot to safe mode, server stops at loading classpnp.sys file.

Why we had this problem? At first problem was with IBM 8k RAID controller. Controller was dying and it works in unusual way. Windows show this in system log

ErrorLog

I change controller but problem still exist. It seems that windows wrote some bad records in rebooting process. I was pretty certain in that, after we change everything on server except HDDs I was leave server to boot to safe mode for two hours. After two hours server still tries to loading classpnp.sys.

DART tools didn’t help me, because boot stops after finding installation. Instead getting DART console, only I can see is loading circle of Windows Server 2008 R2. Colleague of mine Romeo Mlinar help me with advice. On this controller I hade two arrays: RAID 1 and RAID 5. He told me: try to remove RAID 5 array and try to boot. He got a point

But instead of DART tools I use Windows Server 2008 R2 installation CD. Boot from CD use option to repair installation and get CMD.

First step was to do: sfc /SCANNOW /OFFBOOTDIR=C:\ /OFFWINDIR=C:\WINDOWS\

Second step was to do: StartRep.exe from recovery directory in installation CD.

After this two steps everything was back to normal an my server was booting normaly