Solved

Cannot Add VPN to Windows Server 2012 R2

Posted on 2014-12-30
4
398 Views
Last Modified: 2016-01-18
Hello, I'm trying to add VPN to a Windows Server 2012 R2.  I followed the steps outlined at the Microsoft page:

---------------------------------------

In the Initial Configuration Tasks window, under Customize This Server, click Add roles. By default, Initial Configuration Tasks starts automatically when you log on.

Open Server Manager by clicking Start, Administrative Tools, and then click Server Manager. Then, under Roles Summary, click Add roles.

In the Add Roles Wizard, do the following:
Click Next or click Select Server Roles.

In the list of server roles, select Network Policy and Access Services. Click Next twice.

In the list of role services, select Routing and Remote Access Services to select all the role services for Routing and Remote Access Services. You can also select individual server roles.

Proceed through the steps in the Add Roles Wizard to complete the installation.


---------------------------------------

The installation fails to complete.  The error message is:  "The request to add or remove features on the specified server failed The operation cannot be completed"

I searched this site, and found hints to remove registry entries to removing pending reboots. None of those existed.  I even tried this:  Dism /Online /Cleanup-Image /RestoreHealth, which did not solve the problem.

Any help on this is greatly appreciated.

Thanks,

-Ted
0
Comment
Question by:tedwill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Deadman earned 500 total points
ID: 40524110
This steps or configuration applies to Windows Server 2008

Follow this steps to complete VPN installation
http://www.thomasmaurer.ch/2014/01/how-to-install-vpn-on-windows-server-2012-r2/

http://technet.microsoft.com/en-us/library/dn383580.aspx
0
 

Author Comment

by:tedwill
ID: 40524198
I followed the steps, and ran into the same problem.  I later tried Powershell and was able to get the first line to work, but the second line failed with the same error:

Install-WindowsFeature RemoteAccess -IncludeManagementTools
Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
0
 

Author Comment

by:tedwill
ID: 40524324
Here is the exact error:

PS C:\Users\administrator.PSLZCPA> Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
Add-WindowsFeature : The request to add or remove features on the specified server failed.
The operation cannot be completed, because the server that you specified requires a restart.
At line:1 char:1
+ Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : DeviceError: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exce
   ption
    + FullyQualifiedErrorId : DISMAPI_Error__Failed_Reboot_Required,Microsoft.Windows.ServerManager.Commands.AddWindow
   sFeatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
0
 

Author Closing Comment

by:tedwill
ID: 41418414
Thanks!
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

705 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